latex 公式标号测试

\documentclass{article}
\title{编号测试}
\author{}
\date{}
\usepackage{amsmath}
\usepackage{cases}

\begin{document}

using \{equation\}
\begin{equation}x+y = 1\end{equation}

using \{subequations\}+\{align\}
\begin{subequations}
\begin{align}
x+y=2\\
x-y=2
\end{align}
\end{subequations}

using \{subequations\}+\{equation\}
\begin{subequations}
\begin{equation}x+y = 3\end{equation}
\begin{equation}x+y = 3\end{equation}
\end{subequations}

using \{subnumcases\}
\begin{subnumcases}
{|x|=}
x, &$x\ge 0$,\\
-x, &$x<0$.
\end{subnumcases}

using \{numcases\}
\begin{numcases}{|x|=}
x, & for $x \geq 0$\\
-x, & for $x < 0$
\end{numcases}

\end{document}

相关文章:

  • 2022-03-02
  • 2021-10-07
  • 2021-10-14
  • 2021-11-19
  • 2021-09-15
  • 2021-07-11
  • 2021-09-16
猜你喜欢
  • 2022-12-23
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-08
  • 2021-07-09
相关资源
相似解决方案