CoCalc Public Filessupport / latex-macros.sagewsOpen in with one click!
Authors: Harald Schilly, ℏal Snyder, William A. Stein
Description: Jupyter notebook support/2015-06-04-141749-bokeh.ipynb
%latex \newcommand*{\mtrx}[1]{\begin{bmatrix}#1\end{bmatrix}} $\mtrx{1 & 2 \\ 3 & 4 \\}$
%md(hide=0) $\newcommand{\mtrx}[1]{\begin{bmatrix}#1\end{bmatrix}} \mtrx{1 & 2 \\ 3 & 4 \\}$

%md(hide=0) matrx is still defined: $$\mtrx{\alpha & 2 \\ 3 & 4 \\}$$

matrx is still defined: