You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a +bmatrix inside a tblr. As expected, the default baseline is in the middle:
When I set the baseline of the matrix, the text aligns, but the brackets do not:
The nicematrix package shows my expected behavior:
That works, but I enjoy tabularray and would be happier not to add another package. Code for all examples is below. Am I missing something?
Minimum working example
\documentclass{article}
\usepackage{amsmath,tabularray}
\usepackage{nicematrix}
\UseTblrLibrary{amsmath}
\begin{document}
\begin{tblr} { colspec={l c X[l]} }
a &
$\begin{+bmatrix} x \\ y \\ z\end{+bmatrix}$ &
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
voluptua. \\
b & $t$\\
c & $i$ & Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt. \\\end{tblr}
\vspace{1in}
\begin{tblr} { colspec={l c X[l]} }
a &
$\begin{+bmatrix}[baseline=t] x \\ y \\ z\end{+bmatrix}$ &
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
voluptua. \\
b & $t$\\
c & $i$ & Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt. \\\end{tblr}
\vspace{1in}
% Nicematrix version\begin{tblr} { colspec={l c X[l]} }
a &
$\begin{bNiceMatrix}[baseline=t] x \\ y \\ z\end{bNiceMatrix}$ &
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
voluptua. \\
b & $t$\\
c & $i$ & Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
diam nonumy eirmod tempor invidunt. \\\end{tblr}
\end{document}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have a

+bmatrixinside atblr. As expected, the default baseline is in the middle:When I set the baseline of the matrix, the text aligns, but the brackets do not:

The

nicematrixpackage shows my expected behavior:That works, but I enjoy
tabularrayand would be happier not to add another package. Code for all examples is below. Am I missing something?Minimum working example
All reactions