aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorCyril Roelandt <tipecaml@gmail.com>2018-08-15 18:58:17 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2018-08-15 09:58:17 -0700
commit2ae82727546c1a989148b0ca34ae35fd2158cee6 (patch)
treeb6663a22901a41b078499a646b4e45009aea8a13 /data/templates
parente44815a9ee20e6903ff2b91d0de9cf15c6dc5467 (diff)
downloadpandoc-2ae82727546c1a989148b0ca34ae35fd2158cee6.tar.gz
Support "toc-title" in the beamer template. (#4835)
It is a bit awkward to have a title for every frame, but not for the one that holds the table of contents. Allow users to specify a title if they wish.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.latex3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 4d1eeb56a..795b6c868 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -361,6 +361,9 @@ $endfor$
$if(toc)$
$if(beamer)$
\begin{frame}
+$if(toc-title)$
+\frametitle{$toc-title$}
+$endif$
\tableofcontents[hideallsubsections]
\end{frame}
$else$