From a03ab5a275c84afdd4085d8544bcdf8b313e58b7 Mon Sep 17 00:00:00 2001 From: SwitWu <2401336502@qq.com> Date: Fri, 7 Jun 2024 11:17:30 +0800 Subject: [PATCH] update --- demo.tex | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/demo.tex b/demo.tex index 351b90c..3193e85 100644 --- a/demo.tex +++ b/demo.tex @@ -82,22 +82,27 @@ \subsection{几类数学字母表} \subsection{(不)带编号单行公式} +Use \texttt{equation} environment: \begin{equation} a^2 + b^2 = c^2. \end{equation} +Use \texttt{equation*} environment or \texttt{\textbackslash[...\textbackslash]}: \[ a^2 + b^2 = c^2.\] \subsection{(不)带编号多行公式} +Use \texttt{align} environment: \begin{align} - \text{sum} & = 1 + 2 + \cdots + n \\ - & = \frac12 n(n+1). + S_n & = 1 + 2 + \cdots + n \\ + & = \frac12 n(n+1). \end{align} +Use \texttt{align*} environment: \begin{align*} - \text{sum} & = 1 + 2 + \cdots + n \\ - & = \frac12 n(n+1). + T_n & = 1^3 + 2^3 + \cdots + n^3 \\ + & = \biggl(\frac{n(n+1)}{2}\biggr)^2 \\ + & = S_n^2. \end{align*} \subsection{矩阵}