diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-08-31 19:02:38 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2020-08-31 19:02:38 +0200 |
commit | 75e461f88ac651f8858841528c81d451a69f9835 (patch) | |
tree | fcdaf534dc40bf3415efe3160aaaad674e79c626 /templates | |
parent | c739eb3169ca16df3c0a0bb51171d23efa010864 (diff) |
Credits page update
Diffstat (limited to 'templates')
-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} |