[XeTeX] fonts for units in math mode
Bruno Voisin
bvoisin at mac.com
Sun Jan 29 09:49:49 CET 2006
Le 29 janv. 06 à 09:45, Bruno Voisin a écrit :
> You could try putting at the end of your preamble the font
> declarations from /Library/teTeX/share/texmf.tetex/tex/latex/base/
> fontmath.ltx, after loading fontspec. Something like:
>
> \SetSymbolFont{operators}{normal}{OT1}{cmr}{m}{n}
> \SetSymbolFont{operators}{bold} {OT1}{cmr}{bx}{n}
> \SetMathAlphabet{\mathrm}{normal}{OT1}{cmr}{m}{n}
> \SetMathAlphabet{\mathbf}{normal}{OT1}{cmr}{bx}{n}
> \SetMathAlphabet{\mathit}{normal}{OT1}{cmr}{m}{it}
> \SetMathAlphabet{\mathsf}{normal}{OT1}{cmss}{m}{n}
> \SetMathAlphabet{\mathtt}{normal}{OT1}{cmtt}{m}{n}
> \SetMathAlphabet{\mathrm}{bold} {OT1}{cmr}{bx}{n}
> \SetMathAlphabet{\mathit}{bold} {OT1}{cmr}{bx}{it}
> \SetMathAlphabet{\mathbf}{bold} {OT1}{cmr}{bx}{n}
> \SetMathAlphabet{\mathsf}{bold} {OT1}{cmss}{bx}{n}
> \SetMathAlphabet{\mathtt}{normal}{OT1}{cmtt}{bx}{n}
>
> BTW, Will, in case you're listening, there's a typo at the end of
> the fontspec code (last line in the above quote: \mathsf instead of
> \mathtt).
And another one at the end of mine! Replace {normal} by {bold} in the
last line above ;-)
Bruno
More information about the XeTeX
mailing list