<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Thanks for the detailed answer Ulrik, although it seems like there's not much I can do but learn LuaLaTeX in order to get the documents as I want them to be. :)<br>Would it be possible to get the LuaLaTeX code you used in order to compile the document as a starting-point, as I've never seen or tried it before?<br><br>Best regards,<br>D.<br><br>> Date: Mon, 16 Aug 2010 00:15:35 +0200<br>> From: ulrik.vieth@arcor.de<br>> To: xetex@tug.org<br>> Subject: Re: [XeTeX] Problems with thickness of \frac rule and width of accents (\hat) with XeLaTeX<br>> <br>> Hi,<br>> <br>> I tested it with both XeLaTeX and LuaLaTeX (both from TL2010 pretest).<br>> In short, the problem only occurs in XeLaTeX, but not in LuaLaTeX,<br>> despite using the same macro packages and fonts for both engines.<br>> <br>> I do not really understand the problem with the fraction rule thickness.<br>> It probably should be the same on both engines (despite conceptual<br>> differences), as it should be based on the same OpenType parameter<br>> RadicalRuleThickness, but it seems to be different nonetheless:<br>> <br>> XeLaTeX:<br>> .......\kern4.7461<br>> .......\rule(0.47998+0.0)x*<br>> .......\kern2.97542<br>> <br>> LuaLaTeX:<br>> .......\kern3.43199<br>> .......\rule(0.79199+0.0)x*<br>> .......\kern2.98799<br>> <br>> The LuaTeX value of 0.792pt at 12pt matches the scaled value of 0.66pt<br>> at 10pt of the OpenType font parameter for XITS Math.<br>> <br>> The XeTeX value of 0.48pt at 12pt matches the scaled value of 0.4pt<br>> at 10pt, which is suspiciously similar to the default rule thickness<br>> of CM fonts. I don't know how this comes about. I'm not sure if this<br>> is an engine bug or if it could be caused by a macro problem.<br>> <br>> As for the overly wide hat, this is obviously an engine bug in XeTeX.<br>> The behavior is clearly wrong and the problem does not occur in LuaTeX.<br>> <br>> I believe I have seen a similar problem before in XeTeX, which had<br>> been fixed by Jonathan during a lunch break at EuroTeX 2009 last year.<br>> I wonder if an old bug has resurfaced now or if anything went wrong<br>> merging the bug fixes (or if it was a different bug that was fixed).<br>> <br>> Regards, Ulrik<br>> <br>> <br>> P.S: On second thought, I'm not sure any more if this was really<br>> the same bug that was fixed or just a similar one. It could have been<br>> about the positioning of math accents (e.g. centering \dot and \ddot)<br>> rather than the width of wide math accents, but it also had to do<br>> with an incorrect calculation of the size based on the subscripts.<br>> <br>> <br>> On 08/15/2010 09:37 PM, drgz drgz wrote:<br>> > Anyhow, I'm playing around with XeLaTeX (the newest version coming with<br>> > MikTeX) trying to compile some documents. And almost everything is as it<br>> > should be, except the thickness of the rule in \frac (does not get any<br>> > thicker) and the width of the \hat accent (which gets wider than it should).<br>> > I've attached a link to a compiled PDF which illustrates what I<br>> > experience - see http://folk.ntnu.no/mitrevsk/temp/xelatex/ex.pdf<br>> ><br>> > No matter which OTF font with unicode-math support I select I experience<br>> > this problem when I compile with XeLaTeX. Is there any way to fix this ?<br>> <br>> <br>> --------------------------------------------------<br>> Subscriptions, Archive, and List information, etc.:<br>> http://tug.org/mailman/listinfo/xetex<br>                                            </body>
</html>