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

drgz drgz syrehue at hotmail.com
Sun Aug 15 21:37:15 CEST 2010


Hello all,

might be that this has been discussed before, but I didn't find anything specific when I did a search.

Anyhow, I'm playing around with XeLaTeX (the newest version coming with MikTeX) trying to compile some documents. And almost everything is as it should be, except the thickness of the rule in \frac (does not get any thicker) and the width of the \hat accent (which gets wider than it should).
I've attached a link to a compiled PDF which illustrates what I experience - see http://folk.ntnu.no/mitrevsk/temp/xelatex/ex.pdf

The code for this simple example is

\documentclass[12pt,a4paper]{article}

\usepackage{amsmath}
\usepackage{unicode-math}

\setmainfont{XITS}
\setmathfont{XITS Math}

\begin{document}

\begin{align}
\nabla \times \mathbf{E} = -\frac{\partial \mathbf{B}}{\partial t} \quad \nabla \cdot \mathbf{D} = \rho_f
\end{align}

\begin{align}
\hat{\mathbf{h}} = \left[\hat{h}_0\,\hat{h}_1\,\hat{h}_2\,\ldots\,\hat{h}_{P-1}\right]^T
\end{align}

\end{document}

No matter which OTF font with unicode-math support I select I experience this problem when I compile with XeLaTeX. Is there any way to fix this ?

Best regards,
D.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100815/5d9742ad/attachment.html>


More information about the XeTeX mailing list