git.iko.soy/typeable/pandoc
on master help sign in
LaTeX template: Add \frontmatter, \mainmatter, \backmatter for book classes.
c26d7f1John MacFarlane
data/templates/default.latex+9
@@ -384,6 +384,9 @@ $endif$
384
384
385\begin{document}
385\begin{document}
386$if(title)$
386$if(title)$
387+$if(book-class)$
388+\frontmatter
389+$endif$
387$if(beamer)$
390$if(beamer)$
388\frame{\titlepage}
391\frame{\titlepage}
389$else$
392$else$
@@ -427,8 +430,14 @@ $endif$
427$if(lof)$
430$if(lof)$
428\listoffigures
431\listoffigures
429$endif$
432$endif$
433+$if(book-class)$
434+\mainmatter
435+$endif$
430$body$
436$body$
431
437
438+$if(book-class)$
439+\backmatter
440+$endif$
432$if(natbib)$
441$if(natbib)$
433$if(bibliography)$
442$if(bibliography)$
434$if(biblio-title)$
443$if(biblio-title)$