diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-06-28 14:29:59 +0200 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-06-28 14:34:12 +0200 |
commit | 7ea49da0021c38579cd7080aec44ab4b1b7b1111 (patch) | |
tree | f07b2891b381ce5bee9925cb291e8e9add9408d7 | |
parent | 79cc56726c7e876314c7c21f5bb5f65084e7d8b7 (diff) | |
download | pandoc-7ea49da0021c38579cd7080aec44ab4b1b7b1111.tar.gz |
LaTeX template: added `natbiboptions` variable.
Closes #3768.
-rw-r--r-- | MANUAL.txt | 3 | ||||
-rw-r--r-- | data/templates/default.latex | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/MANUAL.txt b/MANUAL.txt index a5121dc2f..103ab13f0 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -1462,6 +1462,9 @@ LaTeX variables are used when [creating a PDF]. `biblatexoptions` : list of options for biblatex. +`natbiboptions` +: list of options for natbib. + [`article`]: https://ctan.org/pkg/article [`report`]: https://ctan.org/pkg/report [`book`]: https://ctan.org/pkg/book diff --git a/data/templates/default.latex b/data/templates/default.latex index 70d754a2b..3658b7fca 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -113,7 +113,7 @@ $if(geometry)$ \usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry} $endif$ $if(natbib)$ -\usepackage{natbib} +\usepackage[$natbiboptions$]{natbib} \bibliographystyle{$if(biblio-style)$$biblio-style$$else$plainnat$endif$} $endif$ $if(biblatex)$ |