Skip to content
This repository has been archived by the owner on Aug 23, 2021. It is now read-only.

Wrong angle bracket sizes under unicode-math + fontspec #66

Closed
AndrewSwann opened this issue Mar 24, 2019 · 1 comment
Closed

Wrong angle bracket sizes under unicode-math + fontspec #66

AndrewSwann opened this issue Mar 24, 2019 · 1 comment

Comments

@AndrewSwann
Copy link

I open this issue

latex3/unicode-math#277 (comment)

for unicode-math, but it is not clear where the issue really lies, perhaps with amsmath, perhaps with XITS. Anyway

\documentclass{article}

\usepackage{mathtools,unicode-math}
\unimathsetup{math-style=TeX}
\setmathfont{XITS Math}
%\setmathfont{TeX Gyre Pagella Math}

\begin{document}
  \begin{displaymath}
    \bigl\langle \langle p \rangle \bigr\rangle
    \quad \bigl( ( r ) \bigr)
    \quad \bigl\{ \{ s \} \bigr\}
  \end{displaymath}

\end{document}

produces under lualatex

Screenshot 2019-03-24 at 10 04 37

with the angle brackets not sizing correctly under \big. Changing away from XITS to another font gives correctly scaled brackets. RuxiZhang42 latex3/unicode-math#277 (comment) points to this coming from a small height for the ordinary parenthesis in XITS, which amsmath then uses as the basis for deciding the new sizes. Would it be possible to fix the XITS size so this works without having to patch unicode-math or amsmath?

@khaledhosny
Copy link
Member

The glyphs are the original STIX glyphs, and it is not clear to me what should I do here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants