New answers tagged

6

XeLaTeX and LuaLaTeX use a completely different paradigm for fonts, because everything is available in a single output encoding, namely TU. Thus substitutefont does nothing sensible here. You could use \babelfont as suggested in the other answer, but you will get several spurious warnings: support for fonts in babel is still in development. With ...


4

If you are using XeTeX or LuaTex you should use other ways of switching fonts. One nice way is offered by babel with its \babelfont command: \documentclass{article} \usepackage[russian,main=english]{babel} \usepackage{amsmath} % load here to avoid \dddot clash \babelfont{rm}[Ligatures=TeX]{TeX Gyre Pagella} \babelfont[russian]{rm}[Ligatures=TeX]{PT Serif} \...


Top 50 recent answers are included