Closed blubbafett closed 14 years ago
Code used;
\documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage[bold-style=upright]{unicode-math} \setmainfont{XITS} \setmathfont{XITS Math} \begin{document} \begin{equation} \underbar{\mathbf{I}} = \left[\mathbf{I}_1\,\mathbf{I}_2\,\ldots\,\mathbf{I}_K\right]^\textup{\textsf{T}} \end{equation} \end{document}
This a unicode-math bug, please report to unicode-math.
P.S. Please surround your example with ‘pre’ HTML tags or indent it with four spaces to print code correctly
@Khaled: I see it now (sorry for not testing with other UM-fonts first). Also fixed the example code. I also see that you have reported there yourself. Should I just try to write under your post, and see if someone does anything about it or?
BTW, your \textup{\textsf{T}}
ends up using CM sans not the math sans from the math font, no idea why.
Because \textsf
chooses the text font and \mathsf
chooses the math font :)
Ah, thanks for telling! Learning something new everyday; didn't know that \mathsf
yileded upright text.
Check the PDF's at http://folk.ntnu.no/mitrevsk/temp/xits_bug/
The problem appears with both XeLaTeX and LuaLaTeX (using TL2010 pretest in Windows7).