git.iko.soy/typeable/pandoc
on master help sign in
Beamer template: In section pages, don't print "Section" and number.

Similarly for parts and subsections. Reason: this is not properly internationalized, and for consistency with other slide formats. Closes #566.

commit150f3ce9c67a2b4c948fcdc5793344bf8b53072b authorJohn MacFarlane <jgm@berkeley.edu> dateSat 25 Aug 2012, 21:52 (14 years ago) parentc08ed3f
1 file changed+17−4
default.beamer+17−4
default.beamer+17−4
@@ -64,12 +64,25 @@ $if(graphics)$
6464\makeatother
6565\setkeys{Gin}{width=\ScaleIfNeeded}
6666$endif$
67+
6768% Comment these out if you don't want a slide with just the
6869% part/section/subsection/subsubsection title:
69−\AtBeginPart{\frame{\partpage}}
70−\AtBeginSection{\frame{\sectionpage}}
71−\AtBeginSubsection{\frame{\subsectionpage}}
72−\AtBeginSubsubsection{\frame{\subsubsectionpage}}
70+\AtBeginPart{
71+ \let\insertpartnumber\relax
72+ \let\partname\relax
73+ \frame{\partpage}
74+}
75+\AtBeginSection{
76+ \let\insertsectionnumber\relax
77+ \let\sectionname\relax
78+ \frame{\sectionpage}
79+}
80+\AtBeginSubsection{
81+ \let\insertsubsectionnumber\relax
82+ \let\subsectionname\relax
83+ \frame{\subsectionpage}
84+}
85+
7386$if(strikeout)$
7487\usepackage[normalem]{ulem}
7588% avoid problems with \sout in headers with hyperref: