Monday, 20 May 2013

How to optimize Latin Modern font with XeLaTex

How to optimize Latin Modern font with XeLaTex

I need to create a xelatex document with many fonts. I will use many fonts cuz my documents talk about fonts.
But I want to use Latin Modern as main font. So I downloaded and installed ALL the open type font on my win7 via http://www.gust.org.pl/projects/e-foundry/latin-modern
First I just did a simple :
\setmainfont{Latin Modern Roman}
Worked but for instance I discovered that I couldn't get the small caps. Then I tried a :
\setmainfont[Ligatures=TeX,SmallCapsFont={* Caps}]{Latin Modern Roman} 
It is working fine but my question is what is the best way to call the LM font in the preamble in order to be sure to get the best typography ?

No comments:

Post a Comment