XeLaTeX
How can I set different font for all italic in the document?
\setromanfont[StylisticSet=2,
ItalicFont={Phenomena Light},
{Cormorant Medium} % Основной шрифт текста
It's work. But I can't set ItalicFont size
\setromanfont[StylisticSet=2,
ItalicFont={Phenomena Light},
ItalicFeatures={FontSize=11pt}]
{Cormorant Medium} % Основной шрифт текста
Don't work, get an error.
The size of the main text 12pt. The font for italics is slightly higher than the main text.
Best Answer
I would use the
\defaultfontfeatures
directive to match the x-heights of all fonts automatically. E.g.,where I've substituted in two fonts which happen to be available on my system. The result is:
For comparison, this is what one gets without the
\defaultfontfeatures
directive -- observe the vastly different x-heights of the main and italic font: