Sharedsupport / latex-macros.sagewsOpen in CoCalc
Authors: Harald Schilly, ℏal Snyder, William A. Stein
License: GNU General Public License v3.0
Description: Examples for support purposes.
%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: