MathQuill Matrix Demo

Edit cells with arrow keys and Tab. Drag the blue dot at the matrix containing the cursor to resize it live; press Escape to restore the starting size and contents. Use the controls below for direct commands. Type #32 to make a 3-by-2 matrix. The shorthand is enabled with matrixShortcuts: true.

\begin{bmatrix}1&2\\3&4\end{bmatrix}

The API call matrixCmd('resize', rows, columns) keeps the top-left cells and grows with empty cells.

\begin{bmatrix}1\\2\\3\\4\\5\\6\\7\\8\end{bmatrix}+\left[x\right]