diff options
-rw-r--r-- | templates/book.latex | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/templates/book.latex b/templates/book.latex index 8612aa4..855acd8 100644 --- a/templates/book.latex +++ b/templates/book.latex @@ -53,6 +53,12 @@ $for(polyglossia-otherlangs)$ $endfor$ $endif$ +% Clear-to-left command: Useful for credits and backcover +\newcommand*\cleartoleftpage{ + \clearpage + \ifodd\value{page}\hbox{}\newpage\fi +} + % No indent \usepackage{parskip} @@ -371,7 +377,26 @@ $endif$ % Credits page % TODO - +\cleartoleftpage +\thispagestyle{empty} +\null\vfill +\begin{flushleft} +\footnotesize{ +$if(isbn)$ +ISBN: $isbn$\newline +$endif$ +$if(extracredits)$ +$for(extracredits)$$extracredits$$sep$\newline $endfor$\newline +$endif$ +$if(author)$ +\copyright $for(author)$$author$$sep$, $endfor$ \newline +$endif$ +$if(license-summary)$ +$license-summary$\newline +$endif$ +} +\end{flushleft} +\vspace{0cm} $for(include-before)$ $include-before$ @@ -406,11 +431,6 @@ $for(include-after)$ $include-after$ $endfor$ -% Define back cover -\newcommand*\cleartoleftpage{ - \clearpage - \ifodd\value{page}\hbox{}\newpage\fi -} % Add backcover \cleartoleftpage \thispagestyle{empty} |