[OS X TeX] XeTeX... infos before I switch ?
Bruno Voisin
bvoisin at mac.com
Wed Jul 28 14:49:37 CEST 2004
Le 28 juil. 04, à 12:20, Bruno Voisin a écrit :
> There are two fixes to this:
>
> - Define a new font family specifically for taking the math accents
> from. For example, in a plain TeX document of mine, using Trebuchet MS
> for text and Lucida Bright/New Math otherwise, I ended up writing:
>
> \font\tenmac=lbr at 9.5pt \skewchar\tenmac=127
> \font\sevenmac=lbr at 6.9pt \skewchar\sevenmac=127
> \font\fivemac=lbr at 5.2pt \skewchar\fivemac=127
>
> \def\hexnumber#1{\ifcase#1 0\or 1\or 2\or 3\or 4\or 5\or 6\or 7\or
> 8\or
> 9\or A\or B\or C\or D\or E\or F\fi}
> \newfam\macfam
> \edef\themacfam{\hexnumber\macfam}
>
> \def\hat{\mathaccent"7\themacfam AA }
> \def\tilde{\mathaccent"7\themacfam AB }
Here I forgot a piece without which the above instructions can't work:
\textfont\macfam=\tenmac \scriptfont\macfam=\sevenmac
\scriptscriptfont\macfam=\fivemac
Sorry. (In my original file these instructions were hidden inside more
elaborate macros like \tenpoint, \ninepoint and \eightpoint similar to
those in the TeXbook pp. 414--415.)
Bruno Voisin
--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
& FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>
More information about the macostex-archives
mailing list