aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-03-25 15:16:54 -0700
committerJohn MacFarlane <[email protected]>2023-03-25 15:16:54 -0700
commit22996abf69dce81fb01e37e6a17ffa9fa0ff37ab (patch)
tree6a2ac0484689530bfcb2d84a6e9e1a105c9a6589
parentcf8370f4e569c6a53d1115419eae4f3bce989176 (diff)
LaTeX template: set mainfontoptions with `\babelfont` too.
Closes #8721.
-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 ad0be9855..341bf2589 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -363,7 +363,7 @@ $if(babel-lang)$
$if(mainfont)$
\ifPDFTeX
\else
-\babelfont[$babel-lang$]{rm}{$mainfont$}
+\babelfont[$babel-lang$]{rm}[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
\fi
$endif$
$endif$