4 ms·
I've spent time on LuaTeX, and I'd really like to understand changing the font. For example I can list them with: mtxrun --script font --list --all But when I
by 0xdeadbeefbabe 10y ago
I've spent time on LuaTeX, and I'd really like to understand changing the font.
For example I can list them with:
mtxrun --script font --list --all
But when I try to use "gonormal" ( \definefontfamily [myfam] [tf] [gornormal] ) I get: "The requested font 'gonormal' has no files for the 'tf' alternative, Latin Modern is used instead."
- TheRealPomax 10y ago\usepackage{fontspec} and you're done. \setmainfont{Palatino Linotype} to just use that, \newfontfamily\secondary{Times New Roman} now you can just stick in {\fontspec{\secondary} blah blah blah} for bits you need styled in a different font for a few words/sentences/paragraphs/however much you need. And if you need the automatic TeX style replacements (like turning `` into opening quotes - personally, I hate that, I'm writing text, not programming - then you can pass in TeX mapping instructions in [...] blocks, covered by the fontspec manual: \setmainfont[Ligatures=TeX]{Font By Name} and \newfontfamily\whateveryoucallit{Font by Name}[Ligatures=TeX])