[XeTeX] Tabular figures

Fr. Michael Gilmary FrMichaelGilmary at MaroniteMonks.org
Mon May 4 20:26:46 CEST 2009


Brian Aydemir wrote:
> Hi everyone,
>
> I'm new to XeTeX, specifically xelatex.
>
> Before, I had been using the MinionPro package with pdflatex.  I used
> the tabfigures package to enable the use of tabular (monospaced)
> figures in such things as table of contents, equation numbers, and
> enumerations, while still using proportional figures everywhere else.
>
> Now, with xelatex, I use the MinionPro package and fontspec to set the
> fonts in my documents [1].  Not surprisingly (to me), tabfigures
> doesn't seem to work with this combination, giving me errors such as
> the following:
>
> Package fontaxes Warning: I don't know how to decode
> (fontaxes)                family `MinionPro(0)' on input line 2.
>
> Is there a simple way to get the same functionality as tabfigures but
> with xelatex?
>
> Thanks for any help,
> Brian
>
> [1] Here's the relevant bit of setup code that I'm using.
>
> \usepackage[mathlf,onlymath,openg,opticals]{MinionPro}
> %% \usepackage[toc,eqno,enum,bib,lineno]{tabfigures}
> \usepackage[no-math,quiet]{fontspec}
> \usepackage{xunicode,xltxtra}
> \setmainfont[Renderer=ICU]{Minion Pro}
>   


One quick way is to look in the Adobe Reader folder to find the .OTF 
Minion Pro, install it on your system and you can load it in fontspec as 
with any other system font:

\setmainfont[Mapping=tex-text, Ligatures=Common, 
Numbers=Monospaced]{Minion Pro}

if you need numbers different (proportional) add another fontfamily
\newfontfamily\MinionProportional[Mapping=tex-text, Ligatures=Common, 
Numbers=Proportional]{Minion Pro}


HTH.


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