[XeTeX] (small) problem with vectors

Sven Willert (Arndt) swillert at geophysik.uni-kiel.de
Sat Dec 13 22:15:26 CET 2008


Hi António,

thank you very much. The result is just
perfect.

Best regards,
Sven


On 13.12.2008, at 21:39, António Fernandes wrote:

> Hi Sven,
>
> As a workaround you can consider
>
> $\vec{a}\mspace{2mu}{}^{i,j}_k$
>
> I tried first
>
> $\vec{a}{}^{i,j}_k$
>
> but this "solution" is unsatisfactory due to bad spacing (in my  
> opinion, of course).
>
> Best regards,
> António Fernandes
>
>
> On Dec 13, 2008, at 5:29 PM, Sven Willert (Arndt) wrote:
>
>> Hi,
>>
>> I've found a small problem. Using xelatex and unicode-math (which I  
>> know is beta) something like
>>
>> \documentclass[a4paper]{article}
>> \usepackage[]{fontspec}
>> \usepackage[math-style=tex]{unicode-math}
>> \begin{document}
>> 	$\vec{a}^{i,j}_k$
>> \end{document}
>>
>> leads to a strange result. The arrow of the vector is not
>> centered above the vector (a in the example) but centered
>> above the whole construct.
>>
>> \documentclass[a4paper]{article}
>> \usepackage[]{fontspec}
>> \begin{document}
>> 	$\vec{a}^{i,j}_k$
>> \end{document}
>>
>> Runs perfectly.
>>
>> Is there an easy way to work around it?
>>
>> I want to hand in my ph.d. thesis on tuesday and can't just forget  
>> about unicode-math because that would mean to much work. It's  
>> great, though!
>>
>> I could life with using construct like  
>> "{\overrightarrow{r }}^{\delta p}_i(t)". That concrete construct,  
>> however, is not beautiful because the arrow is way to large but  
>> much better because it's centered above the vector....
>>
>> Best regards,
>> Sven
>> -
>> Sven Willert (Arndt)
>> Institut für Geowisenschaften (Geophysik)
>> Christian-Albrechts-Universität zu Kiel
>> Otto-Hahn-Platz , 24118 Kiel, Germany
>> phone:  +49 431 880-3911
>> fax:  +49 431 880-4432
>> e-mail: sarndt at geophysik.uni-kiel.de
>> URL:  http://www.geophysik.uni-kiel.de/
>>
>>
>>
>> _______________________________________________
>> XeTeX mailing list
>> postmaster at tug.org
>> http://tug.org/mailman/listinfo/xetex
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20081213/e7842c3f/attachment.html 


More information about the XeTeX mailing list