罗马数字
在导言区加上
\makeatletter
\newcommand{\rmnum}[1]{\romannumeral #1}
\newcommand{\Rmnum}[1]{\expandafter@slowromancap\romannumeral #1@}
\makeatother
在文章中直接使用 \rmnum{数字},\Rmnum{数字} 分别显示小写、大写罗马数字
方程组大括号
- 使用 aligned
\begin{equation*}
y= \left\{ \begin{aligned}
&x, &x>0 \\
&-x, &x \leq 0
\end{aligned}\right.
\end{equation*}
y = { x , x > 0 − x , x ≤ 0 y= \left\{\begin{aligned} &x, &x>0 \\ &-x, &x \leq 0 \end{aligned} \right. y={x,−x,x>0x≤0
- 使用 case
\begin{equation*}
y =
\begin{cases}
x+\epsilon, &x>0 \\
x-\epsilon, &x \leq0
\end{cases}
\end{equation*}
y = { x + ϵ , x > 0 x − ϵ , x ≤ 0 y = \begin{cases} x+\epsilon,& x>0\\ x-\epsilon,&x \leq0 \end{cases} y={x+ϵ,x−ϵ,x>0x≤0