aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-01-25 10:39:54 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-01-25 10:39:54 -0800
commit83f2fdd9e27935430ef9146a337599f78ba3e3d6 (patch)
treeb9c248079a29897af9f89894df70f641680cec2d
parent63d2575c22c59dfa855054ad355a0c6f275e9ea7 (diff)
downloadpandoc-83f2fdd9e27935430ef9146a337599f78ba3e3d6.tar.gz
LaTeX template: code for section title slides in beamer.
-rw-r--r--default.latex6
1 files changed, 6 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index ba4dbeeab..d0e2df490 100644
--- a/default.latex
+++ b/default.latex
@@ -69,6 +69,12 @@ $if(graphics)$
\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}}
$endif$
$if(beamer)$
+% 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}}
$else$
\ifxetex
\usepackage[setpagesize=false, % page size defined by xetex