aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAmar Al-Zubaidi <[email protected]>2022-11-10 11:39:14 -0500
committerGitHub <[email protected]>2022-11-10 08:39:14 -0800
commit03e478ee2cdf3a5c6dd4cbf2a6bc16ce175e1cac (patch)
tree20da76e581291902494bbb9692620fff04c890cc /data
parent2f780ce45ae8c9c26cbf6919c18c8e5b7030587c (diff)
Add LaTeX variable `urlstyle` (#8429)
This is set to `same` by default, so users should not experience any change.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 1e76be34b..f7362eb18 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -384,7 +384,7 @@ $if(csquotes)$
$endif$
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
-\urlstyle{same} % disable monospaced font for URLs
+\urlstyle{$if(urlstyle)$$urlstyle$$else$same$endif$}
$if(links-as-notes)$
% Make links footnotes instead of hotlinks:
\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}}