[XeTeX] Fontspec and folio

Fr. Michael Gilmary FrMichaelGilmary at MaroniteMonks.org
Sun Jun 28 22:39:31 CEST 2009


Tilman Hannemann wrote:

> 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.

Thanks Tilman --- it works well!

Be assured of our prayers!


-- 
United in adoration of Jesus, 



fr. michael gilmary, mma

Most Holy Trinity Monastery
67 Dugway Road
Petersham, MA 01366-9725




More information about the XeTeX mailing list