[XeTeX] toc in Monospaced Lining font

Wybo Dekker wybo at servalys.nl
Sat Apr 25 16:26:53 CEST 2009

In a document with Proportional Oldstyle, how can I make the toc use
Monospaced Lining numbers? The example below does not work:


\defaultfontfeatures{Mapping=tex-text, Numbers={Proportional,OldStyle}}
\setmainfont[SmallCapsFont={Latin Modern Roman Caps}]{Latin Modern Roman}

{ \addfontfeatures{Numbers={Lining,Monospaced}}
\section{One -- 1234}
  regular, lining, monospaced:   &
  regular, lining, proportional: &
  regular, oldstyle, monospaced: &
  regular, oldstyle, proportional: &

\subsection{One -- one}
\subsection{One -- two}
\subsection{One -- three}


More information about the XeTeX mailing list