tikzpicture in beamer titlepage
Clash 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.
tikz-pgf beamer
add a comment |Â
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.
tikz-pgf beamer
Welcome to TeX.Stackexchange!
â samcarter
Aug 8 at 13:37
add a comment |Â
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.
tikz-pgf beamer
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.
tikz-pgf beamer
asked Aug 8 at 13:29
Olivier R.
61
61
Welcome to TeX.Stackexchange!
â samcarter
Aug 8 at 13:37
add a comment |Â
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
add a comment |Â
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
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
1
Perhaps addtitlegraphic 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 betweenmakeatletter
andmakeatother
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
add a comment |Â
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
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
1
Perhaps addtitlegraphic 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 betweenmakeatletter
andmakeatother
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
add a comment |Â
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
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
1
Perhaps addtitlegraphic 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 betweenmakeatletter
andmakeatother
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
add a comment |Â
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
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
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
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
edited Aug 8 at 15:23
answered Aug 8 at 13:33
samcarter
74.4k785239
74.4k785239
1
Perhaps addtitlegraphic 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 betweenmakeatletter
andmakeatother
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
add a comment |Â
1
Perhaps addtitlegraphic 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 betweenmakeatletter
andmakeatother
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Welcome to TeX.Stackexchange!
â samcarter
Aug 8 at 13:37