[XeTeX] Greek (and other Unicode) letters in math mode

Arno Trautmann Arno.Trautmann at gmx.de
Tue May 31 21:56:30 CEST 2011

George N. White III wrote:
> On Tue, May 31, 2011 at 4:28 PM, Arno Trautmann <Arno.Trautmann at gmx.de> wrote:
>> \documentclass{minimal}
>> \usepackage{unicode-math}
>> \setmathfont{XITS-math}
>> \begin{document}
>> $∫ α = β²$
>> \end{document}
>> This works with a TeXlive2010 and LuaLaTeX or XeLaTeX. Unfortunately,
>> however, the freely available math fonts are, in my personal opinion,
>> not as beautiful as the cmr fonts …
> There is a beta-test Latin Modern Math font in the ConTeXt minimals that can
> also be used with lualatex or xelatex.  I assume it lacks the
> variations for different
> design sizes, but does look similar to cmr.   Your example raises another issue:
> $β²$ vs $β²²$ vs  $β^{2^2}$, etc.  I think the conclusion is that $β²$
> is (reluctantly)
> allowed because so many users want it, but you won't get much sympathy
> if $β²²$ doesn't give what you expect.

Well, you don't /have/ to use ². But if there is only one index, it is
much more convenient to write ² instead of ^2. And it even works in
cases like ∫²³₁₂, where the normal writing would be ∫^{23}_{12}. If you
understand the ² as “superscript first order” instead of “superscript
the next order”, it is also what you expect …


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/xetex/attachments/20110531/55c0234b/attachment-0001.bin>

More information about the XeTeX mailing list