专栏宏定义头

· · 算法·理论

\gdef\op#1{\operatorname{#1}} \gdef\mat#1{\begin{bmatrix}#1\end{bmatrix}} \gdef\aligned#1{\begin{aligned}#1\end{aligned}} \global\let\xrt\xrightarrow \gdef\mt#1{\mathtt{#1}} \gdef\floor#1{\lfloor#1\rfloor} \gdef\ceil#1{\lceil#1\rceil} \gdef \C#1#2{\binom{#1}{#2}} \let*\times \gdef \lcm{\operatorname{lcm}} \op{op} \\ \mat{a &0\\ b &0 \\ c & d} \\ \aligned{S&=a+b+c\\&=b+a+c}
$$
\gdef\op#1{\operatorname{#1}}

\gdef\mat#1{\begin{bmatrix}#1\end{bmatrix}}

\gdef\aligned#1{\begin{aligned}#1\end{aligned}}

\global\let\xrt\xrightarrow

\gdef\mt#1{\mathtt{#1}}


\gdef\floor#1{\lfloor#1\rfloor}

\gdef\ceil#1{\lceil#1\rceil}

\gdef \C#1#2{\binom{#1}{#2}}

\let*\times  

\gdef \lcm{\operatorname{lcm}}

$$