TeX - LaTeX Asked on March 16, 2021
When mixing fonts in XeTeX, some fonts have quite different aspects for the same size.
Say, I’m using Linux Libertine as my main font and I want to use Latino Elongated for chapter headings. Latino Elongated is quite smaller than Linux Libertine for the same font size (11pt).
Is there a way to specify the default font size when loading a font via newfontfamily
, such that all text written using that font is scaled up?
newfontfamily{myfamily}{My Font}[Scale=MatchUppercase]
newfontfamily{myfamily}{My Font}[Scale=MatchLowercase]
newfontfamily{myfamily}{My Font}[Scale=0.8]
Choose what suits you best.
In old syntax:
newfontfamily{myfamily}[Scale=MatchUppercase]{My Font}
newfontfamily{myfamily}[Scale=MatchLowercase]{My Font}
newfontfamily{myfamily}[Scale=0.8]{My Font}
Correct answer by egreg on March 16, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP