I would like to typeset the following matrix:
However, I don't know how to achieve the braces and the dots leading to the matrix entry.
math-modematrices
I would like to typeset the following matrix:
However, I don't know how to achieve the braces and the dots leading to the matrix entry.
Best Answer
Example:
Remarks:
bmatrix
of packageamsmath
that automatically sets the brackets.\text
of packageamsmath
(oramstext
) sets text in text mode (automatically resized).\mleft
and\mright
of packagemleftright
avoid the additional surrounding space of\left
and\right
.\vphantom
creates an emtpy box with width zero, but the height and depth of its argument. Thus the left brace only covers the matrix, not the stuff above.\right.
is an invisible right delimiter. TeX inserts the space\nulldelimiterspace
, thus\kern-\nulldelimiterspace
removes the space.\begin{tabular}{@{}c@{}}...\end{tabular}
is a trick to center the box around the math axis. (Internally\vcenter
is used.)\!
before and after the matrix. A\,
could be inserted afterj
to keep the space to the matrix constant. But I have commented it, because a smaller distance looks better IMHO.