As the development of stix2
seems inactive, I want to find at least a local fix for this Problem:
Parentheses in bigger matrices are too big as in the following example
which was compiled from the following code:
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{stix2}
%\linespread{1.02}
\begin{document}
\begin{equation}
\begin{pmatrix}
0 & 0 & 0 \\
0 & 0 & 0 \\
0 & 0 & 0 \\
0 & 0 & 0 \\
0 & 0 & 0
\end{pmatrix}
\begin{pmatrix}
0 & 0 & 0 \\
0 & 0 & 0 \\
0 & 0 & 0 \\
0 & 0 & 0
\end{pmatrix}
\end{equation}
\end{document}
It seems like the parentheses scale in steps that are too big. The right matrix has appropriately sized parentheses while the left one's parentheses are too big. Adding a little linespread of 1.02 makes matrices with 4 rows look awful too like the one on the left.
I would like to find a fix for that, but I also don't mind switching to parentheses from another math font.
However I really like the smaller (up to \Bigg
) sized parentheses of stix2
and I haven't found a font with parentheses that are similar in weight and shape except txfonts
.
Unfortunately with parentheses from txfonts
LaTeX often chooses different sizes (for example \left( \hat{G} \right)
produces \big
in stix2
and \Big
in txfonts
).
Another way would be to redefine pmatrix
somehow so that it uses the parentheses from txfonts
which look similar for matrices with two rows or more but scale appropriately as opposed to stix2
.
I'd also really appreciate a way to do this.