From 7ea49da0021c38579cd7080aec44ab4b1b7b1111 Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Wed, 28 Jun 2017 14:29:59 +0200
Subject: [PATCH] LaTeX template:  added `natbiboptions` variable.

Closes #3768.
---
 MANUAL.txt                   | 3 +++
 data/templates/default.latex | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

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)$