Skip to content

Commit

Permalink
If set, use nb.metadata.authors for LaTeX author line.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpetroff committed Aug 28, 2018
1 parent 1a7b848 commit 80a1740
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nbconvert/templates/latex/base.tplx
Expand Up @@ -152,7 +152,11 @@ This template does not define a docclass, the inheriting class must define this.
\title{((( nb_title | ascii_only | escape_latex )))}
((*- endblock title *))
((* block date *))((* endblock date *))
((* block author *))((* endblock author *))
((* block author *))
((* if 'authors' in nb.metadata *))
\author{((( nb.metadata.authors | join(', ', attribute='name') )))}
((* endif *))
((* endblock author *))
((* endblock definitions *))

((* block commands *))
Expand Down

0 comments on commit 80a1740

Please sign in to comment.