[XeTeX] Maths and Symbols in Latex

Bruno Voisin bvoisin at mac.com
Wed Jun 30 09:15:58 CEST 2004

Le 30 juin 04, à 08:52, Atip Asvanund a écrit :

> Suppose that I am using Hoefler, and am using the following declaration
> that I found on the mailing list. How would I get the Maths and 
> Symbols to
> show up? Right now equations and symbols do not show up.

What do you mean by showing up? Characters used in math mode are 
different from those used in text mode. The declarations below, based 
on \DeclareFontShape, influence text only. The declarations appropriate 
for math are \DeclareMathAlphabet and \DeclareSymbolFont etc., as 
described in 
/Library/teTeX/share/texmf.tetex/doc/latex/base/fntguide.dvi. In the 
absence of such declarations, LaTeX's default for maths is used, namely 
Computer Modern.

> Additionally,
> bullets do not show up either. What other declarations do I have to 
> make?
> IF you can, please provide an example. Thank you.

That's because the bullets in Unicode aren't at the place that TeX 
expects to find them. It varies from font to font, just to add fun to 
the puzzle. For Optima I've used:


and for Trebuchet MS:


For Hoefler it should be the same as for Trebuchet, given the info 
displayed by the Character Palette:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Image 1.pdf
Type: application/pdf
Size: 54514 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20040630/1826dfe7/Image1-0001.pdf
-------------- next part --------------

(you can verify the number used -- 135 -- with the column and row 

Hope this helps,

Bruno Voisin

> Atip
> \DeclareFontShape{U}{hoefl}{m}{fn}%
>       {<-> "Hoefler\space Text:Vertical\space Position=Superiors"}{}
> \DeclareFontFamily{U}{hoefl}{}
> \DeclareFontShape{U}{hoefl}{m}{n}%
>       {<-> "Hoefler\space Text"}{}
> \DeclareFontShape{U}{hoefl}{m}{it}%
>       {<-> "Hoefler\space Text\space Italic"}{}
> \DeclareFontShape{U}{hoefl}{bx}{n}%
>       {<-> "Hoefler\space Text\space Black"}{}
> \DeclareFontShape{U}{hoefl}{b}{n}%
>       {<-> ssub * hoefl/bx/n}{}
> \DeclareFontShape{U}{hoefl}{bx}{it}%
>       {<-> "Hoefler\space Text\space Black\space Italic"}{}
> \DeclareFontShape{U}{hoefl}{b}{it}%
>       {<-> ssub * hoefl/bx/it}{}
> \DeclareFontShape{U}{hoefl}{m}{sc}%
>       {<-> "Hoefler\space Text:Letter\space Case=Small\space Caps"}{}
> \renewcommand{\encodingdefault}{U}
> \renewcommand{\rmdefault}{hoefl}
> \makeatletter
> \def\@makefnmark{\hbox{\fontshape{fn}\selectfont\@thefnmark}}
> \makeatother

More information about the XeTeX mailing list