mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-24 17:26:32 +00:00
LaTeX template: add variable romanfont (#4665)
This opens up the possibility of setting the romanfont in xelatex/lualatex. Note that mainfont actually oversets sansfont in headings
This commit is contained in:
committed by
John MacFarlane
parent
9d0937180a
commit
6beb1fc28d
@@ -92,6 +92,9 @@ $endfor$
|
||||
$if(mainfont)$
|
||||
\setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
|
||||
$endif$
|
||||
$if(romanfont)$
|
||||
\setromanfont[$for(romanfontoptions)$$romanfontoptions$$sep$,$endfor$]{$romanfont$}
|
||||
$endif$
|
||||
$if(sansfont)$
|
||||
\setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
|
||||
$endif$
|
||||
|
||||
Reference in New Issue
Block a user