diff options
author | OvidiusCicero <OvidiusCicero@users.noreply.github.com> | 2018-11-03 20:41:47 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-11-03 12:41:47 -0700 |
commit | 6beb1fc28d5deabc56b005152fd4a124f50e3fa2 (patch) | |
tree | 385e369cd6f9fda373bf86e6b8853dcdeb42f479 /data | |
parent | 9d0937180a16ba343d1a33e83fa19d7951abafb3 (diff) | |
download | pandoc-6beb1fc28d5deabc56b005152fd4a124f50e3fa2.tar.gz |
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
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/default.latex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index e64b216eb..737ebaa44 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -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$ |