From c26d7f1e36a682fdefab90e35b33e356d7365984 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 1 Mar 2019 16:23:05 -0800 Subject: LaTeX template: Add \frontmatter, \mainmatter, \backmatter for book classes. Closes #5306. --- data/templates/default.latex | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/data/templates/default.latex b/data/templates/default.latex index bd089cd1c..aacb48bba 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -384,6 +384,9 @@ $endif$ \begin{document} $if(title)$ +$if(book-class)$ +\frontmatter +$endif$ $if(beamer)$ \frame{\titlepage} $else$ @@ -427,8 +430,14 @@ $endif$ $if(lof)$ \listoffigures $endif$ +$if(book-class)$ +\mainmatter +$endif$ $body$ +$if(book-class)$ +\backmatter +$endif$ $if(natbib)$ $if(bibliography)$ $if(biblio-title)$ -- cgit v1.2.3