tikzpicture in beamer titlepage

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Here is an ECM:



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS
begintikzpicture
path [decorate,decoration=text along path, text=around the]
(0,0) sin (1,1) cos (2,0);
endtikzpicture

begindocument
beginframe titlepage endframe
enddocument


This code gives me what I want, expect that the compiler shouts at me:



Use of begin doesn't match its definition.
inserttitle ->TWO PROBLEMS {begin
tikzpicture


Can anyone tell me how to mend this glitch? Thanks in advance! O.







share|improve this question




















  • Welcome to TeX.Stackexchange!
    – samcarter
    Aug 8 at 13:37














up vote
1
down vote

favorite












Here is an ECM:



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS
begintikzpicture
path [decorate,decoration=text along path, text=around the]
(0,0) sin (1,1) cos (2,0);
endtikzpicture

begindocument
beginframe titlepage endframe
enddocument


This code gives me what I want, expect that the compiler shouts at me:



Use of begin doesn't match its definition.
inserttitle ->TWO PROBLEMS {begin
tikzpicture


Can anyone tell me how to mend this glitch? Thanks in advance! O.







share|improve this question




















  • Welcome to TeX.Stackexchange!
    – samcarter
    Aug 8 at 13:37












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Here is an ECM:



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS
begintikzpicture
path [decorate,decoration=text along path, text=around the]
(0,0) sin (1,1) cos (2,0);
endtikzpicture

begindocument
beginframe titlepage endframe
enddocument


This code gives me what I want, expect that the compiler shouts at me:



Use of begin doesn't match its definition.
inserttitle ->TWO PROBLEMS {begin
tikzpicture


Can anyone tell me how to mend this glitch? Thanks in advance! O.







share|improve this question












Here is an ECM:



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS
begintikzpicture
path [decorate,decoration=text along path, text=around the]
(0,0) sin (1,1) cos (2,0);
endtikzpicture

begindocument
beginframe titlepage endframe
enddocument


This code gives me what I want, expect that the compiler shouts at me:



Use of begin doesn't match its definition.
inserttitle ->TWO PROBLEMS {begin
tikzpicture


Can anyone tell me how to mend this glitch? Thanks in advance! O.









share|improve this question











share|improve this question




share|improve this question










asked Aug 8 at 13:29









Olivier R.

61




61











  • Welcome to TeX.Stackexchange!
    – samcarter
    Aug 8 at 13:37
















  • Welcome to TeX.Stackexchange!
    – samcarter
    Aug 8 at 13:37















Welcome to TeX.Stackexchange!
– samcarter
Aug 8 at 13:37




Welcome to TeX.Stackexchange!
– samcarter
Aug 8 at 13:37










1 Answer
1






active

oldest

votes

















up vote
5
down vote













The title is not only used on the title page, but also in other places, such as the pdf meta data. Your hack to add the tikzpicture to the title page collides with this usage.



I suggest to insert the image via the titlegraphic macro, this is normally printed at the bottom of the title page, but if you would like it below the title, you could redefine the titlepage as following:



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS

titlegraphic begintikzpicture
path [decorate,decoration=text along path, text=around the]
(0,0) sin (1,1) cos (2,0);
endtikzpicture

makeatletter
setbeamertemplatetitle page
vbox
vfill
begingroup
centering
beginbeamercolorbox[sep=8pt,center]title
usebeamerfonttitleinserttitlepar%
ifxinsertsubtitle@empty%
else%
vskip0.25em%
usebeamerfontsubtitleusebeamercolor[fg]subtitleinsertsubtitlepar%
fi%
endbeamercolorbox%
usebeamercolor[fg]titlegraphicinserttitlegraphicpar
vskip1empar
beginbeamercolorbox[sep=8pt,center]author
usebeamerfontauthorinsertauthor
endbeamercolorbox
beginbeamercolorbox[sep=8pt,center]institute
usebeamerfontinstituteinsertinstitute
endbeamercolorbox
beginbeamercolorbox[sep=8pt,center]date
usebeamerfontdateinsertdate
endbeamercolorboxvskip0.5em
endgroup
vfill

makeatother

begindocument
beginframe
titlepage
endframe
enddocument


enter image description here




A simpler approach, thankfully pointed out by @marmot, could be to use titlegraphic together with absolute positioning on the page. This could save you from redefining the titlepage (if there is enough room for the image).



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS

titlegraphic%
begintikzpicture[overlay,remember picture]
path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0);
endtikzpicture



begindocument
beginframe
titlepage
endframe
enddocument





share|improve this answer


















  • 1




    Perhaps add titlegraphic begintikzpicture[overlay,remember picture] path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0); endtikzpicture as an alternative? You could then drop the stuff between makeatletter and makeatother altogether.
    – marmot
    Aug 8 at 15:09







  • 1




    @marmot Good thinking! Are you sure you don't want to add this as an answer yourself? This so much easier than my title page redefinition...
    – samcarter
    Aug 8 at 15:13






  • 1




    Yes, I am sure I don't want to post an answer myself. This method is really just an alternative that works in that particular case. If the graphics is too large or the page layout is different, it won't work since it is an overlay.
    – marmot
    Aug 8 at 15:15






  • 1




    @marmot Done - thanks again for the idea!
    – samcarter
    Aug 8 at 15:24










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f445146%2ftikzpicture-in-beamer-titlepage%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
5
down vote













The title is not only used on the title page, but also in other places, such as the pdf meta data. Your hack to add the tikzpicture to the title page collides with this usage.



I suggest to insert the image via the titlegraphic macro, this is normally printed at the bottom of the title page, but if you would like it below the title, you could redefine the titlepage as following:



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS

titlegraphic begintikzpicture
path [decorate,decoration=text along path, text=around the]
(0,0) sin (1,1) cos (2,0);
endtikzpicture

makeatletter
setbeamertemplatetitle page
vbox
vfill
begingroup
centering
beginbeamercolorbox[sep=8pt,center]title
usebeamerfonttitleinserttitlepar%
ifxinsertsubtitle@empty%
else%
vskip0.25em%
usebeamerfontsubtitleusebeamercolor[fg]subtitleinsertsubtitlepar%
fi%
endbeamercolorbox%
usebeamercolor[fg]titlegraphicinserttitlegraphicpar
vskip1empar
beginbeamercolorbox[sep=8pt,center]author
usebeamerfontauthorinsertauthor
endbeamercolorbox
beginbeamercolorbox[sep=8pt,center]institute
usebeamerfontinstituteinsertinstitute
endbeamercolorbox
beginbeamercolorbox[sep=8pt,center]date
usebeamerfontdateinsertdate
endbeamercolorboxvskip0.5em
endgroup
vfill

makeatother

begindocument
beginframe
titlepage
endframe
enddocument


enter image description here




A simpler approach, thankfully pointed out by @marmot, could be to use titlegraphic together with absolute positioning on the page. This could save you from redefining the titlepage (if there is enough room for the image).



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS

titlegraphic%
begintikzpicture[overlay,remember picture]
path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0);
endtikzpicture



begindocument
beginframe
titlepage
endframe
enddocument





share|improve this answer


















  • 1




    Perhaps add titlegraphic begintikzpicture[overlay,remember picture] path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0); endtikzpicture as an alternative? You could then drop the stuff between makeatletter and makeatother altogether.
    – marmot
    Aug 8 at 15:09







  • 1




    @marmot Good thinking! Are you sure you don't want to add this as an answer yourself? This so much easier than my title page redefinition...
    – samcarter
    Aug 8 at 15:13






  • 1




    Yes, I am sure I don't want to post an answer myself. This method is really just an alternative that works in that particular case. If the graphics is too large or the page layout is different, it won't work since it is an overlay.
    – marmot
    Aug 8 at 15:15






  • 1




    @marmot Done - thanks again for the idea!
    – samcarter
    Aug 8 at 15:24














up vote
5
down vote













The title is not only used on the title page, but also in other places, such as the pdf meta data. Your hack to add the tikzpicture to the title page collides with this usage.



I suggest to insert the image via the titlegraphic macro, this is normally printed at the bottom of the title page, but if you would like it below the title, you could redefine the titlepage as following:



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS

titlegraphic begintikzpicture
path [decorate,decoration=text along path, text=around the]
(0,0) sin (1,1) cos (2,0);
endtikzpicture

makeatletter
setbeamertemplatetitle page
vbox
vfill
begingroup
centering
beginbeamercolorbox[sep=8pt,center]title
usebeamerfonttitleinserttitlepar%
ifxinsertsubtitle@empty%
else%
vskip0.25em%
usebeamerfontsubtitleusebeamercolor[fg]subtitleinsertsubtitlepar%
fi%
endbeamercolorbox%
usebeamercolor[fg]titlegraphicinserttitlegraphicpar
vskip1empar
beginbeamercolorbox[sep=8pt,center]author
usebeamerfontauthorinsertauthor
endbeamercolorbox
beginbeamercolorbox[sep=8pt,center]institute
usebeamerfontinstituteinsertinstitute
endbeamercolorbox
beginbeamercolorbox[sep=8pt,center]date
usebeamerfontdateinsertdate
endbeamercolorboxvskip0.5em
endgroup
vfill

makeatother

begindocument
beginframe
titlepage
endframe
enddocument


enter image description here




A simpler approach, thankfully pointed out by @marmot, could be to use titlegraphic together with absolute positioning on the page. This could save you from redefining the titlepage (if there is enough room for the image).



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS

titlegraphic%
begintikzpicture[overlay,remember picture]
path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0);
endtikzpicture



begindocument
beginframe
titlepage
endframe
enddocument





share|improve this answer


















  • 1




    Perhaps add titlegraphic begintikzpicture[overlay,remember picture] path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0); endtikzpicture as an alternative? You could then drop the stuff between makeatletter and makeatother altogether.
    – marmot
    Aug 8 at 15:09







  • 1




    @marmot Good thinking! Are you sure you don't want to add this as an answer yourself? This so much easier than my title page redefinition...
    – samcarter
    Aug 8 at 15:13






  • 1




    Yes, I am sure I don't want to post an answer myself. This method is really just an alternative that works in that particular case. If the graphics is too large or the page layout is different, it won't work since it is an overlay.
    – marmot
    Aug 8 at 15:15






  • 1




    @marmot Done - thanks again for the idea!
    – samcarter
    Aug 8 at 15:24












up vote
5
down vote










up vote
5
down vote









The title is not only used on the title page, but also in other places, such as the pdf meta data. Your hack to add the tikzpicture to the title page collides with this usage.



I suggest to insert the image via the titlegraphic macro, this is normally printed at the bottom of the title page, but if you would like it below the title, you could redefine the titlepage as following:



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS

titlegraphic begintikzpicture
path [decorate,decoration=text along path, text=around the]
(0,0) sin (1,1) cos (2,0);
endtikzpicture

makeatletter
setbeamertemplatetitle page
vbox
vfill
begingroup
centering
beginbeamercolorbox[sep=8pt,center]title
usebeamerfonttitleinserttitlepar%
ifxinsertsubtitle@empty%
else%
vskip0.25em%
usebeamerfontsubtitleusebeamercolor[fg]subtitleinsertsubtitlepar%
fi%
endbeamercolorbox%
usebeamercolor[fg]titlegraphicinserttitlegraphicpar
vskip1empar
beginbeamercolorbox[sep=8pt,center]author
usebeamerfontauthorinsertauthor
endbeamercolorbox
beginbeamercolorbox[sep=8pt,center]institute
usebeamerfontinstituteinsertinstitute
endbeamercolorbox
beginbeamercolorbox[sep=8pt,center]date
usebeamerfontdateinsertdate
endbeamercolorboxvskip0.5em
endgroup
vfill

makeatother

begindocument
beginframe
titlepage
endframe
enddocument


enter image description here




A simpler approach, thankfully pointed out by @marmot, could be to use titlegraphic together with absolute positioning on the page. This could save you from redefining the titlepage (if there is enough room for the image).



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS

titlegraphic%
begintikzpicture[overlay,remember picture]
path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0);
endtikzpicture



begindocument
beginframe
titlepage
endframe
enddocument





share|improve this answer














The title is not only used on the title page, but also in other places, such as the pdf meta data. Your hack to add the tikzpicture to the title page collides with this usage.



I suggest to insert the image via the titlegraphic macro, this is normally printed at the bottom of the title page, but if you would like it below the title, you could redefine the titlepage as following:



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS

titlegraphic begintikzpicture
path [decorate,decoration=text along path, text=around the]
(0,0) sin (1,1) cos (2,0);
endtikzpicture

makeatletter
setbeamertemplatetitle page
vbox
vfill
begingroup
centering
beginbeamercolorbox[sep=8pt,center]title
usebeamerfonttitleinserttitlepar%
ifxinsertsubtitle@empty%
else%
vskip0.25em%
usebeamerfontsubtitleusebeamercolor[fg]subtitleinsertsubtitlepar%
fi%
endbeamercolorbox%
usebeamercolor[fg]titlegraphicinserttitlegraphicpar
vskip1empar
beginbeamercolorbox[sep=8pt,center]author
usebeamerfontauthorinsertauthor
endbeamercolorbox
beginbeamercolorbox[sep=8pt,center]institute
usebeamerfontinstituteinsertinstitute
endbeamercolorbox
beginbeamercolorbox[sep=8pt,center]date
usebeamerfontdateinsertdate
endbeamercolorboxvskip0.5em
endgroup
vfill

makeatother

begindocument
beginframe
titlepage
endframe
enddocument


enter image description here




A simpler approach, thankfully pointed out by @marmot, could be to use titlegraphic together with absolute positioning on the page. This could save you from redefining the titlepage (if there is enough room for the image).



documentclassbeamer
usepackagetikz
usetikzlibrarydecorations.text
titleTWO PROBLEMS

titlegraphic%
begintikzpicture[overlay,remember picture]
path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0);
endtikzpicture



begindocument
beginframe
titlepage
endframe
enddocument






share|improve this answer














share|improve this answer



share|improve this answer








edited Aug 8 at 15:23

























answered Aug 8 at 13:33









samcarter

74.4k785239




74.4k785239







  • 1




    Perhaps add titlegraphic begintikzpicture[overlay,remember picture] path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0); endtikzpicture as an alternative? You could then drop the stuff between makeatletter and makeatother altogether.
    – marmot
    Aug 8 at 15:09







  • 1




    @marmot Good thinking! Are you sure you don't want to add this as an answer yourself? This so much easier than my title page redefinition...
    – samcarter
    Aug 8 at 15:13






  • 1




    Yes, I am sure I don't want to post an answer myself. This method is really just an alternative that works in that particular case. If the graphics is too large or the page layout is different, it won't work since it is an overlay.
    – marmot
    Aug 8 at 15:15






  • 1




    @marmot Done - thanks again for the idea!
    – samcarter
    Aug 8 at 15:24












  • 1




    Perhaps add titlegraphic begintikzpicture[overlay,remember picture] path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0); endtikzpicture as an alternative? You could then drop the stuff between makeatletter and makeatother altogether.
    – marmot
    Aug 8 at 15:09







  • 1




    @marmot Good thinking! Are you sure you don't want to add this as an answer yourself? This so much easier than my title page redefinition...
    – samcarter
    Aug 8 at 15:13






  • 1




    Yes, I am sure I don't want to post an answer myself. This method is really just an alternative that works in that particular case. If the graphics is too large or the page layout is different, it won't work since it is an overlay.
    – marmot
    Aug 8 at 15:15






  • 1




    @marmot Done - thanks again for the idea!
    – samcarter
    Aug 8 at 15:24







1




1




Perhaps add titlegraphic begintikzpicture[overlay,remember picture] path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0); endtikzpicture as an alternative? You could then drop the stuff between makeatletter and makeatother altogether.
– marmot
Aug 8 at 15:09





Perhaps add titlegraphic begintikzpicture[overlay,remember picture] path [decorate,decoration=text along path, text=around the, shift=(current page.center)] (0,0) sin (1,1) cos (2,0); endtikzpicture as an alternative? You could then drop the stuff between makeatletter and makeatother altogether.
– marmot
Aug 8 at 15:09





1




1




@marmot Good thinking! Are you sure you don't want to add this as an answer yourself? This so much easier than my title page redefinition...
– samcarter
Aug 8 at 15:13




@marmot Good thinking! Are you sure you don't want to add this as an answer yourself? This so much easier than my title page redefinition...
– samcarter
Aug 8 at 15:13




1




1




Yes, I am sure I don't want to post an answer myself. This method is really just an alternative that works in that particular case. If the graphics is too large or the page layout is different, it won't work since it is an overlay.
– marmot
Aug 8 at 15:15




Yes, I am sure I don't want to post an answer myself. This method is really just an alternative that works in that particular case. If the graphics is too large or the page layout is different, it won't work since it is an overlay.
– marmot
Aug 8 at 15:15




1




1




@marmot Done - thanks again for the idea!
– samcarter
Aug 8 at 15:24




@marmot Done - thanks again for the idea!
– samcarter
Aug 8 at 15:24

















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f445146%2ftikzpicture-in-beamer-titlepage%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?