[XeTeX] latin modern questions

Wybo Dekker wybo at servalys.nl
Fri Apr 24 23:47:44 CEST 2009

I'm trying to use xelatex for the first time, but I can't get the fonts
The following example:



\fontspec{Latin Modern Roman}
\section{One -- 1234}


\textsc{smallcaps: 1234}

\textsl{slanted: 1234}

\textbf{bold: 1234}

\textit{italic: 1234}

\subsection{One -- one}
\subsection{One -- two}
\subsection{One -- three}
\section{Two -- 1234}

shows some of my problems:

- numbers are oldstyle, except in:
  (sub)section titles,
  page numbers
  subsection page numbers in the toc
- The latter stick out in the margin
- slanted is not slanted but italic
- smallcaps is not smallcaps but roman

How can I fix this?


More information about the XeTeX mailing list