git.iko.soy/typeable/pandoc
on master help sign in
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

commit6beb1fc28d5deabc56b005152fd4a124f50e3fa2 authorOvidiusCicero <OvidiusCicero@users.noreply.github.com> dateSat 3 Nov 2018, 20:41 (8 years ago) parent9d09371
1 file changed+3
data/templates/default.latex+3
data/templates/default.latex+3
@@ -92,6 +92,9 @@ $endfor$
9292$if(mainfont)$
9393 \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
9494$endif$
95+$if(romanfont)$
96+ \setromanfont[$for(romanfontoptions)$$romanfontoptions$$sep$,$endfor$]{$romanfont$}
97+$endif$
9598$if(sansfont)$
9699 \setsansfont[$for(sansfontoptions)$$sansfontoptions$$sep$,$endfor$]{$sansfont$}
97100$endif$