aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2012-01-25 17:47:49 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2012-01-25 17:49:11 -0800
commitc6ffb2602f792309509ee72dc283e222e09c71ff (patch)
treeb04d9390414b500a11b2bc95e161c8df1a3e5ec6 /default.latex
parentdc936548c2b07617a799611b0968b503614be9f3 (diff)
downloadpandoc-c6ffb2602f792309509ee72dc283e222e09c71ff.tar.gz
latex: use ignorenonframetext on beamer, and make proper title slide.
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex6
1 files changed, 5 insertions, 1 deletions
diff --git a/default.latex b/default.latex
index d0e2df490..0c5ca20a1 100644
--- a/default.latex
+++ b/default.latex
@@ -1,4 +1,4 @@
-\documentclass[$if(fontsize)$$fontsize$,$endif$$if(handout)$handout,$endif$]{$documentclass$}
+\documentclass[$if(fontsize)$$fontsize$,$endif$$if(handout)$handout,$endif$$if(beamer)$ignorenonframetext,$endif$]{$documentclass$}
$if(theme)$
\usetheme{$theme$}
$endif$
@@ -126,8 +126,12 @@ $endif$
\begin{document}
$if(title)$
+$if(beamer)$
+\frame{\titlepage}
+$else$
\maketitle
$endif$
+$endif$
$for(include-before)$
$include-before$