aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-08-25 21:52:34 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2012-08-25 21:52:34 -0700
commit150f3ce9c67a2b4c948fcdc5793344bf8b53072b (patch)
tree3de6cd2218d85fe75f51f079f5e045de81b21fea
parentc08ed3f61a5dda0a33cda08106140be5a5cd6da4 (diff)
downloadpandoc-150f3ce9c67a2b4c948fcdc5793344bf8b53072b.tar.gz
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.
-rw-r--r--default.beamer21
1 files changed, 17 insertions, 4 deletions
diff --git a/default.beamer b/default.beamer
index 0926768e1..37d51dd70 100644
--- a/default.beamer
+++ b/default.beamer
@@ -64,12 +64,25 @@ $if(graphics)$
\makeatother
\setkeys{Gin}{width=\ScaleIfNeeded}
$endif$
+
% Comment these out if you don't want a slide with just the
% part/section/subsection/subsubsection title:
-\AtBeginPart{\frame{\partpage}}
-\AtBeginSection{\frame{\sectionpage}}
-\AtBeginSubsection{\frame{\subsectionpage}}
-\AtBeginSubsubsection{\frame{\subsubsectionpage}}
+\AtBeginPart{
+ \let\insertpartnumber\relax
+ \let\partname\relax
+ \frame{\partpage}
+}
+\AtBeginSection{
+ \let\insertsectionnumber\relax
+ \let\sectionname\relax
+ \frame{\sectionpage}
+}
+\AtBeginSubsection{
+ \let\insertsubsectionnumber\relax
+ \let\subsectionname\relax
+ \frame{\subsectionpage}
+}
+
$if(strikeout)$
\usepackage[normalem]{ulem}
% avoid problems with \sout in headers with hyperref: