On Jun 17, 8:28 am, Miroslaw Kwasniak
<
mi...@infrared.zind.ikem.pwr.wroc.pl> wrote:
> Wolfgang Jeltsch <
wolfg...@cs.ioc.ee> wrote:
> > Hi,
>
> > how can I set Latin Modern as the main font via fontspec? I thought it
> > should work like this:
>
> > \usepackage{fontspec}
> > \setmainfont{Latin Modern}
>
> \setmainfont{Latin Modern Roman}
in fact, latin modern is the defaul font for fontspec:
\documentclass{article}
%\usepackage{unicode-math} % if you want it for math
%\setmathfont{latinmodern-math.otf}
\usepackage{lipsum,fontspec}
\begin{document}
$ 1 + 1 $\par
\lipsum[1]
\end{document}
cheers,
jon.