Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brackets of matrix too short #625

Open
AndreasMatthias opened this issue Dec 13, 2023 · 1 comment
Open

Brackets of matrix too short #625

AndreasMatthias opened this issue Dec 13, 2023 · 1 comment

Comments

@AndreasMatthias
Copy link

The brackets of a matrix are too short with unicode-math (v0.8r).

Running the following example

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

\begin{document}
\begin{equation}
  \begin{bmatrix}
    X_1\\ X_2\\ X_3\\ X_4\\
  \end{bmatrix}
\end{equation}
\end{document}

yields
matrix_02
where the brackets are too short.

Without unicode-math it's like this:
matrix_01

I just noticed that subscripts are not necessary here. That same happens with this matrix:

  \begin{bmatrix}
    X\\ X\\ X\\ X\\
  \end{bmatrix}
@khaledhosny
Copy link
Contributor

This depends on the engine and the font used. Loading unicode-math changes the default math font from CMMI to Latin Modern Math, so the difference is likely between the two fonts and/or handling of TFM and OpenType math fonts.

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

No branches or pull requests

2 participants