[XeTeX] Fontspec and folio

Tilman Hannemann tilmanh at uni-bremen.de
Sun Jun 28 22:08:03 CEST 2009


Dear Michael,

You can adapt a small hack that I posted to this group about two  
months ago. Just add to your preamble:

\let\oldcontentsline\contentsline
\renewcommand\contentsline[3]{%
  \oldcontentsline{#1}{\addfontfeatures{Numbers={Monospaced}} #2} 
{\addfontfeatures{Numbers={Monospaced}} #3}
}%

The page numbers in the toc will generate overfull boxes, but setting  
a new value for \@pnumwidth with \renewcommand should solve that, too.

Best, Tilman

Am 28.06.2009 um 21:28 schrieb Fr. Michael Gilmary:

> If I set the main font with Proportional numbers, then the ToC gets  
> them, too



More information about the XeTeX mailing list