New answers tagged

0

I just saw this while looking for how to set the heading font using pandoc->xelatex It is possible to set the mainfont and mainfont options using metadata settings. For example, your configuration would look like this: mainfont: Font-Regular.otf mainfontoptions: BoldFont=Font-Bold.otf mainfontoptions: ItalicFont=Font-Italic.otf mainfontoptions: ...


0

The problem seems to be connected to the Cyrillic font families not being properly selected. More like a side-effect than a bug, if you ask me. Adding the following two definitions to my template, actually helps me to solve the issue without removing the currently default \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}: % Define the main Cyrillic ...


0

Forgot to add option explicit to \usepackage[explicit]{titlesec}


0

Hm. The empty macro doesn't work in my instance. Pandoc complains if I use a bulleted list or an ordered list.


1

it's often possible to isolate or "quarantine" special settings by hiding them in a group. braces {...} will do this, but i find it much easier to read \begingroup .... \endgroup this will not work for changes that are made globally. fortunately, in this case, font resettings are local.



Top 50 recent answers are included