LaTeX template: Add \frontmatter, \mainmatter, \backmatter for book classes.
Closes #5306.
commitc26d7f1e36a682fdefab90e35b33e356d7365984
authorJohn MacFarlane <jgm@berkeley.edu>
dateFri 1 Mar 2019, 16:23 (8 years ago)
parent9f268bc
data/templates/default.latex+9
@@ -384,6 +384,9 @@ $endif$
384384
385385\begin{document}
386386$if(title)$
387+$if(book-class)$
388+\frontmatter
389+$endif$
387390$if(beamer)$
388391\frame{\titlepage}
389392$else$
@@ -427,8 +430,14 @@ $endif$
427430$if(lof)$
428431\listoffigures
429432$endif$
433+$if(book-class)$
434+\mainmatter
435+$endif$
430436$body$
431437
438+$if(book-class)$
439+\backmatter
440+$endif$
432441$if(natbib)$
433442$if(bibliography)$
434443$if(biblio-title)$