[Tex/LaTex] Fractions seem too large in a column vector

fractionsmatrices

The fractions in my column vector look too large:

\documentclass{article}
\usepackage{amsmath}

\begin{document}
\[
\begin{bmatrix} -4 \\ - \frac{5}{2} \\ \frac{9}{2} \end{bmatrix}
\]
\end{document}

The denominator "2" from "-5/2" actually creeps slightly over the numerator "9" from "9/2". Is this correct behaviour? It looks bad.

Best Answer

A TABstack allows the inter-row baselineskip to be specified, while still keeping the baselineskip uniform, which I find important for vector/matrix notation.

\documentclass{article}
\usepackage{tabstackengine}
\begin{document}
\[
\setstackgap{L}{1.3\baselineskip}
\mathbf{X} = \bracketVectorstack{ -4 \\ - \frac{5}{2} \\ \frac{9}{2}}
\]
\end{document}

enter image description here