KaTeXで使う行列の略記command
\def\mat#1{\begin{pmatrix}#1\end{pmatrix}}
\defを用いた
from Supported Functions · KaTeX
scrapboxの数式記法でも使える
e.g.
$ \def\mat#1{\begin{pmatrix}#1\end{pmatrix}} \mat{1&2&3}\mat{1\\2\\3}\mat{1&2&3\\4&5&6\\7&8&9}
#\begin{pmatrix}
#2021-10-07 14:48:37 typo
#2021-05-23 06:04:07
#2021-03-07 23:43:22