3
$\begingroup$

I can create a matrix in parentheses:

$$\pmatrix{5 & 6 \\ 5 & 6}$$

but not in square brackets

I can create a matrix in parentheses:

$$\bmatrix{5 & 6 \\ 5 & 6}$$

Why is \bmatrix missing on StackExchange?

$\endgroup$
9
$\begingroup$

$$\begin{bmatrix}5 & 6 \\ 5 & 6\end{bmatrix}$$

$$\begin{bmatrix}5 & 6 \\ 5 & 6\end{bmatrix}$$

Basically, you have to do it the Latex way, not the Plain Tex way.

$\endgroup$
  • $\begingroup$ It's inconsistent that the syntax works with pmatrix and not with bmatrix $\endgroup$ – marmistrz Feb 23 '16 at 12:53
  • 9
    $\begingroup$ The Latex way works with pmatrix also. So the bug is that naked \pmatrix works at all! $\endgroup$ – GEdgar Feb 23 '16 at 12:57
  • 5
    $\begingroup$ \pmatrix is defined in Plain TeX, but \bmatrix is not, and it is not part of the AMSmath package on which MathJax is based. You can, of course use \def\bmatrix#1{\begin{bmatrix}#1\end{bmatrix}} to define it if you want. $\endgroup$ – Davide Cervone Feb 24 '16 at 13:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .