LaTeX template: set mainfontoptions with \babelfont too.

Closes #8721.
This commit is contained in:
John MacFarlane
2023-03-25 15:16:54 -07:00
parent cf8370f4e5
commit 22996abf69
+1 -1
View File
@@ -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$