[XeTeX] Problems with thickness of \frac rule and width of accents (\hat) with XeLaTeX

S. Ekin Kocabas kocabas at stanford.edu
Sun Sep 19 04:20:53 CEST 2010


Hello,

I am having issues—which I thought were related to this thread—with math
accent usage under XeLaTeX & unicode-math with XITS. When I use a \tilde on
a character that has sub/superscripts, the tilde gets very wide, and even
crashes with the superscript. Is there something that I'm missing, or need
to update? The attached pdfs show the output I get under XeLaTeX and
pdfLaTeX.

As a side note, the prime symbol of XITS seems a little too thin compared to
the computer modern one. Is there a way to make it thicker? When typesetting
double column documents in 10pts, the prime becomes quite hard to see.

Ekin



\documentclass{article}

\usepackage{ifxetex}

\ifxetex

\usepackage{amsmath}

\usepackage{unicode-math}

\setmainfont{XITS}

\setmathfont{XITS Math}

\else

\usepackage{amsmath}

\usepackage{amssymb}

\fi

\newcommand{\ain}{a_\mathrm{in}}

\newcommand{\aout}{a_\matrm{out}}

\begin{document}

\Huge

\begin{align*}

a \quad \tilde{a} \quad \tilde{a}^\dag \\

\ain \quad \tilde{\ain} \quad \tilde{\ain}^\dag_{k'} \\

a^\dag \quad \tilde{a}^\dag \quad \tilde{a}^\dag_{k'}\\

\end{align*}

\end{document}




On Tue, Aug 17, 2010 at 1:35 PM, Ulrik Vieth <ulrik.vieth at arcor.de> wrote:

> On 08/17/2010 10:12 PM, Khaled Hosny wrote:
>
>>
>> Hmm, thinking a bit more, this is likely to break legacy math control
>> sequences that has no equivalent in unicode-math yet, which will
>> currently just grap a glyph from CM, more seriously, it will break
>> \overbrace and likes since XeTeX support seems not working and
>> unicode-math is simply using the CM constructs for those.
>>
>
> Good question. Perhaps one might argue that unicode-math should not rely on
> anything to be taken from CM.  If something is not readily available in
> XeTeX such as \overbrace, it should probably provide its own redefinition in
> terms of Unicode slots (if that is possible). However, this might also get
> trick in terms of which building blocks are encoded as Unicode slots or only
> in the Private Use Area.
>
> Hmmm, this probably still needs more thinking...
>
> Regards, Ulrik.
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100918/1a46a2c9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_pdflatex.pdf
Type: application/pdf
Size: 32083 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100918/1a46a2c9/attachment-0002.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_xelatex.pdf
Type: application/pdf
Size: 4363 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20100918/1a46a2c9/attachment-0003.pdf>


More information about the XeTeX mailing list