summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2020-05-27 13:25:32 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2020-05-27 13:25:32 +0200
commit87524730886cb7dc09db5f2ffdbcc06c6b7c810d (patch)
tree478485cba3dd0d66e679b06579641bd3d7397eb7
parent39fd3accaef7d8923eea2c715e822fa43a63c74c (diff)
Support for multiple authors in template
-rw-r--r--templates/book.latex8
1 files changed, 6 insertions, 2 deletions
diff --git a/templates/book.latex b/templates/book.latex
index 7e49fd0..5f5150c 100644
--- a/templates/book.latex
+++ b/templates/book.latex
@@ -20,7 +20,7 @@
%
% title: The title of the document
% subtitle: The subtitle of the article
-% author: Author's name
+% author: list of author's name
% license: License of the document
% lang: es-ES
% polyglossia:
@@ -408,7 +408,11 @@ $endif$
\fancypagestyle{titlepage}{%
\fancyhead{} % clear header
%\renewcommand{\headrulewidth}{0pt}
- \fancyfoot[R]{$author$}
+ \fancyfoot[R]{
+ $if(author)$
+ $for(author)$$author$$sep$, $endfor$
+ $endif$
+ }
\fancyfoot[L]{$if(license)$ $license$ $endif$}
}