<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\chapter{æ•°å­¦}

\begin{quotation}
ä»Šæœ‰ä¸Šç¦¾ä¸‰ç§‰ï¼Œä¸­ç¦¾äºŒç§‰ï¼Œä¸‹ç¦¾ä¸€ç§‰ï¼Œå®žä¸‰åä¹æ–—ï¼›ä¸Šç¦¾äºŒç§‰ï¼Œä¸­ç¦¾ä¸‰ç§‰ï¼Œä¸‹ç¦¾ä¸€ç§‰ï¼Œå®žä¸‰åå››æ–—ï¼›ä¸Šç¦¾ä¸€ç§‰ï¼Œä¸­ç¦¾äºŒç§‰ï¼Œä¸‹ç¦¾ä¸‰ç§‰ï¼Œå®žäºŒåå…­æ–—ã€‚é—®ä¸Šã€ä¸­ã€ä¸‹ç¦¾å®žä¸€ç§‰å„å‡&nbsp;ä½•ï¼Ÿ
\begin{gather*}
\begin{split}
    3x+2y+z &amp;= 39 \\
    2x+3y+z &amp;= 34 \\
    x+2y+3z &amp;= 26 \\
\end{split}
\end{gather*}
\begin{flushright}
--- ã€Šä¹ç«&nbsp;ç®—æœ¯ã€‹
\end{flushright}
\end{quotation}

%\begin{quotation}
%é‚ºä¸‹è°šæ›°ï¼šåšå£«ä¹°é©´ï¼Œä¹¦åˆ¸ä¸‰çº¸ï¼Œæœªæœ‰é©´å­—ã€‚
%\begin{flushright}
%--- é¢œä¹‹æŽ¨ã€Šé¢œæ°å®¶è®­Â·å‹‰å­¦ã€‹
%\end{flushright}
%\end{quotation}

ä¸ºäº†ä½¿ç”¨~\AmS-\LaTeX~æä¾›çš„æ•°å­¦åŠŸèƒ½ï¼Œæˆ‘ä»¬é¦–å…ˆéœ€è¦åœ¨æ–‡æ¡£çš„åºè¨€éƒ¨åˆ†åŠ&nbsp;è½½~\verb|amsmath|~å®åŒ…ï¼Œå…¶è¯¦ç»†ç”¨æ³•å¯å‚é˜…ã€Šamsmath User's Guideã€‹\citep{AMS_2002}ã€‚æ›´å…¨é¢çš„æ•°å­¦å†…å®¹æŽ’ç‰ˆå¯å‚é˜…~George GrÃ¤tzer\footnote{åŒˆç‰™åˆ©è£”ï¼ŒåŠ&nbsp;æ‹¿å¤§~Manitoba~å¤§å­¦æ•°å­¦ç³»æ•™æŽˆã€‚}çš„ã€ŠMore Math into \LaTeX, 4th Editionã€‹\citep{Gratzer_2007}ã€‚
%\begin{code}
%\usepackage[options]{amsmath}
%\end{code}

\section{æ•°å­¦æ¨¡å¼}
\LaTeX~ä¸­çš„æ•°å­¦æ¨¡å¼æœ‰ä¸¤ç§å½¢å¼ï¼šinline~å’Œ~displayã€‚å‰è€…æ˜¯æŒ‡åœ¨æ­£æ–‡æ’å…¥è¡Œé—´æ•°å­¦å…¬å¼ï¼ŒåŽè€…ç‹¬ç«‹æŽ’åˆ—ï¼Œå¯ä»¥æœ‰æˆ–æ²¡æœ‰ç¼–å·ã€‚

è¡Œé—´å…¬å¼ç”¨ä¸€å¯¹~\verb|$...$|~æ¥è¾“å…¥ï¼Œç‹¬ç«‹å…¬å¼ç”¨~\verb|equation|~æˆ–~\verb|equation*|~çŽ¯å¢ƒæ¥è¾“å…¥ï¼Œæœ‰~\verb|*|~çš„ç‰ˆæœ¬ä¸ç”Ÿæˆå…¬å¼ç¼–å·ã€‚

å‰æ–‡æåˆ°~\verb|\fbox|~å‘½ä»¤å¯ä»¥ç»™æ–‡æœ¬å†…å®¹åŠ&nbsp;ä¸ªæ–¹æ¡†ï¼Œæ•°å­¦æ¨¡å¼ä¸‹ä¹Ÿæœ‰ç±»ä¼¼çš„å‘½ä»¤~\verb|\boxed|ã€‚

\begin{demo}
çˆ±å›&nbsp;æ–¯å¦çš„$E=mc^2$æ–¹ç¨‹
\begin{equation} 
    E=mc^2 
\end{equation}
\[ E=mc^2 \]
\[ \boxed{E=mc^2} \]
\end{demo}

\section{åŸºæœ¬åŽŸç´&nbsp;}
\subsection{å­—æ¯}

è‹±æ–‡å­—æ¯åœ¨æ•°å­¦æ¨¡å¼ä¸‹å¯ä»¥ç›´æŽ¥è¾“å…¥ï¼Œå¸Œè…Šå­—æ¯åˆ™éœ€è¦ç”¨\Fref{tab:greek}~ä¸­çš„å‘½ä»¤è¾“å…¥ï¼Œæ³¨æ„å¤§å†™å¸Œè…Šå­—æ¯çš„å‘½ä»¤é¦–å­—æ¯ä¹Ÿæ˜¯å¤§å†™ã€‚

\begin{table}[htbp]
\caption{å¸Œè…Šå­—æ¯}
\label{tab:greek}
\centering
\begin{tabular}{llllllll}
    \toprule
    $\alpha$      &amp; \verb|\alpha|      &amp; $\theta$    &amp; \verb|\theta|    &amp; 
        $o$         &amp; \verb|o|        &amp; $\tau$     &amp; \verb|\tau| \\
    $\beta$       &amp; \verb|\beta|       &amp; $\vartheta$ &amp; \verb|\vartheta| &amp; 
        $\pi$       &amp; \verb|\pi|      &amp; $\upsilon$ &amp; \verb|\upsilon| \\
    $\gamma$      &amp; \verb|\gamma|      &amp; $\iota$     &amp; \verb|\iota|     &amp; 
        $\varpi$    &amp; \verb|\varpi|   &amp; $\phi$     &amp; \verb|\phi| \\
    $\delta$      &amp; \verb|\delta|      &amp; $\kappa$    &amp; \verb|\kappa|    &amp; 
        $\rho$      &amp; \verb|\rho|     &amp; $\varphi$  &amp; \verb|\varphi| \\
    $\epsilon$    &amp; \verb|\epsilon|    &amp; $\lambda$   &amp; \verb|\lambda|   &amp; 
        $\varrho$   &amp; \verb|\varrho|  &amp; $\chi$     &amp; \verb|\chi| \\
    $\varepsilon$ &amp; \verb|\varepsilon| &amp; $\mu$       &amp; \verb|\mu|       &amp; 
        $\sigma$    &amp; \verb|\sigma|   &amp; $\psi$     &amp; \verb|\psi| \\
    $\zeta$       &amp; \verb|\zeta|       &amp; $\nu$       &amp; \verb|\nu|       &amp; 
        $\varsigma$ &amp; \verb|\varsigma|   &amp; $\omega$   &amp; \verb|\omega| \\
    $\eta$        &amp; \verb|\eta|        &amp; $\xi$       &amp; \verb|\xi|       &amp; 
        &amp;                 &amp;            &amp; \\
    $\Gamma$      &amp; \verb|\Gamma|      &amp; $\Lambda$   &amp; \verb|\Lambda|   &amp; 
        $\Sigma$    &amp; \verb|\Sigma|   &amp; $\Psi$     &amp; \verb|\Psi| \\
    $\Delta$      &amp; \verb|\Delta|      &amp; $\Xi$       &amp; \verb|\Xi|       &amp; 
        $\Upsilon$  &amp; \verb|\Upsilon| &amp; $\Omega$   &amp; \verb|\Omega| \\
    $\Theta$      &amp; \verb|\Theta|      &amp; $\Pi$       &amp; \verb|\Pi|       &amp; 
        $\Phi$      &amp; \verb|\Phi|     &amp;            &amp; \\
    \bottomrule
\end{tabular}
\end{table}

\subsection{æŒ‡æ•°ã€ä¸‹æ&nbsp;‡ã€æ&nbsp;¹å·}
æŒ‡æ•°æˆ–ä¸Šæ&nbsp;‡ç”¨~\verb|^|~è¡¨ç¤ºï¼Œä¸‹æ&nbsp;‡ç”¨~\verb|_|~è¡¨ç¤ºï¼Œæ&nbsp;¹å·ç”¨~\verb|\sqrt|~è¡¨ç¤ºã€‚ä¸Šä¸‹æ&nbsp;‡å¦‚æžœå¤šäºŽä¸€ä¸ªå­—æ¯æˆ–ç¬¦å·ï¼Œéœ€è¦ç”¨ä¸€å¯¹~\verb|{}|~æ‹¬èµ·æ¥ã€‚
\begin{demo}
\[x_{ij}^2\quad \sqrt[2]{x}\]
\end{demo}

\subsection{åˆ†æ•°}
åˆ†æ•°ç”¨~\verb|\frac|~å‘½ä»¤è¡¨ç¤ºï¼Œå®ƒä¼šè‡ªåŠ¨è°ƒæ•´å­—å·ï¼Œæ¯”å¦‚åœ¨è¡Œé—´å…¬å¼ä¸­å°ä¸€ç‚¹ï¼Œåœ¨ç‹¬ç«‹å…¬å¼åˆ™å¤§ä¸€ç‚¹ã€‚\verb|\dfrac|~å‘½ä»¤æŠŠåˆ†æ•°çš„å­—å·æ˜¾å¼è®¾ç½®ä¸ºç‹¬ç«‹å…¬å¼ä¸­çš„å¤§å°ï¼Œ\verb|\tfrac|~å‘½ä»¤åˆ™æŠŠå­—å·è®¾ä¸ºè¡Œé—´å…¬å¼ä¸­çš„å¤§å°ã€‚
\begin{demo}
$\frac{1}{2} \dfrac{1}{2}$
\[\frac{1}{2} \tfrac{1}{2}\]
\end{demo}

\subsection{è¿ç®—ç¬¦}
æœ‰äº›å°çš„è¿ç®—ç¬¦ï¼ˆoperatorï¼‰ä¾‹å¦‚~\verb|+ - * /|~ç­‰å¯ä»¥ç›´æŽ¥è¾“å…¥ï¼Œå¦ä¸€äº›åˆ™éœ€è¦ç‰¹æ®Šå‘½ä»¤ã€‚å®Œæ•´çš„æ•°å­¦ç¬¦å·å‚è§~Scott Pakin~çš„ã€ŠThe Comprehensive \LaTeX~ Symbol Listã€‹\citep{Pakin_2008}ã€‚
\begin{code}
\[\pm \times \div \cdot \cap \cup \geq \leq \neq \approx \equiv\]
\end{code}

\begin{out}
\[\pm\quad \times\quad \div\quad \cdot\quad \cap\quad \cup\quad \geq\quad \leq\quad \neq\quad \approx\quad \equiv\]
\end{out}

å’Œã€ç§¯ã€æžé™ã€ç§¯åˆ†ç­‰å¤§è¿ç®—ç¬¦ç”¨~\verb|\sum \prod \lim \int|~ç­‰è¡¨ç¤ºã€‚å®ƒä»¬çš„ä¸Šä¸‹æ&nbsp;‡åœ¨è¡Œé—´å…¬å¼ä¸­è¢«åŽ‹ç¼©ï¼Œä»¥é€‚åº”è¡Œé«˜ã€‚ã€‚

\begin{code}
$\sum_{i=1}^n i \prod_{i=1}^n \lim_{x\to0}x^2 \int_a^b x^2 dx\$
\[\sum_{i=1}^n i \prod_{i=1}^n \lim_{x\to0}x^2 \int_a^b x^2 dx\]
\end{code}

\begin{out}
$\sum_{i=1}^n i\quad \prod_{i=1}^n\ \lim_{x\to0}x^2\ \int_a^b x^2\mathrm{d}x$
\[\sum_{i=1}^n i\quad \prod_{i=1}^n\ \lim_{x\to0}x^2\ \int_a^b x^2\mathrm{d}x\]
\end{out}

å¤šé‡ç§¯åˆ†å¦‚æžœç”¨å¤šä¸ª~\verb|\int|~æ¥è¾“å…¥çš„è¯ï¼Œç§¯åˆ†å·é—´è·è¿‡å®½ã€‚æ­£ç¡®çš„æ–¹æ³•æ˜¯ç”¨~\verb|\iint \iiint \iiiint \idotsint|~ç­‰å‘½ä»¤è¾“å…¥ã€‚ä»Žä¸‹ä¾‹ä¸­å¯ä»¥çœ‹å‡ºä¸¤ç§æ–¹æ³•çš„å·®å¼‚ã€‚

\begin{out}
\[\iint\quad \iiint\quad \iiiint\quad \idotsint\]
\[\int\int\quad \int\int\int\quad \int\int\int\int\quad \int\dots\int\]
\end{out}

\subsection{åˆ†éš”ç¬¦}
å„ç§æ‹¬å·ç”¨~\verb|() [] \{\} \langle\rangle|~ç­‰å‘½ä»¤è¡¨ç¤ºï¼Œæ³¨æ„èŠ±æ‹¬å·é€šå¸¸ç”¨æ¥è¾“å…¥å‘½ä»¤å’ŒçŽ¯å¢ƒçš„å‚æ•°ï¼Œæ‰€ä»¥åœ¨æ•°å­¦å…¬å¼ä¸­å®ƒä»¬å‰é¢è¦åŠ&nbsp;~\verb|\|ã€‚å›&nbsp;ä¸º~\LaTeX~ä¸­çš„~\verb+|å’Œ\|+~çš„åº”ç”¨è¿‡äºŽéšæ„ï¼Œ~amsamth~å®åŒ…æŽ¨èç”¨~\verb|\lvert\rvert|~å’Œ~\verb|\lVert\rVert|~å–è€Œä»£ä¹‹ã€‚

æˆ‘ä»¬å¯ä»¥åœ¨ä¸Šè¿°åˆ†éš”ç¬¦å‰é¢åŠ&nbsp;~\verb|\big \Big \bigg \Bigg|~ç­‰å‘½ä»¤æ¥è°ƒæ•´å¤§å°ã€‚\LaTeX~åŽŸæœ‰çš„æ–¹æ³•æ˜¯åœ¨åˆ†éš”ç¬¦å‰é¢åŠ&nbsp;~\verb|\left \right|~æ¥è‡ªåŠ¨è°ƒæ•´å¤§å°ï¼Œä½†æ˜¯æ•ˆæžœä¸ä½³ï¼Œæ‰€ä»¥~amsmath~ä¸æŽ¨èç”¨è¿™ç§æ–¹æ³•ã€‚

\begin{out}
\[\Bigg(\bigg(\Big(\big((x+y)\big)\Big)\bigg)\Bigg)\quad 
\Bigg[\bigg[\Big[\big[[x+y]\big]\Big]\bigg]\Bigg]\quad 
\Bigg\{\bigg\{\Big\{\big\{\{x+y\}\big\}\Big\}\bigg\}\Bigg\}\]
\[\Bigg\langle\bigg\langle\Big\langle\big\langle\langle x+y \rangle\big\rangle\Big\rangle\bigg\rangle\Bigg\rangle\quad
\Bigg\lvert\bigg\lvert\Big\lvert\big\lvert\lvert x+y \rvert\big\rvert\Big\rvert\bigg\rvert\Bigg\rvert\quad
\Bigg\lVert\bigg\lVert\Big\lVert\big\lVert\lVert x+y \rVert\big\rVert\Big\rVert\bigg\rVert\Bigg\rVert\]
\end{out}

\subsection{ç®­å¤´}
\Fref{tab:arrow}~åˆ—å‡ºäº†éƒ¨åˆ†ç®­å¤´çš„è¾“å…¥æ–¹æ³•ã€‚å¦å¤–è¿˜æœ‰ä¸¤ä¸ªå‘½ä»¤ç”Ÿæˆçš„ç®­å¤´å¯ä»¥æ&nbsp;¹æ®ä¸Šä¸‹æ&nbsp;‡è‡ªåŠ¨è°ƒæ•´é•¿åº¦ã€‚

\begin{table}[htbp]
\caption{ç®­å¤´}
\label{tab:arrow}
\centering
\begin{tabular}{llll}
    \toprule
    $\leftarrow$       &amp; \verb|\leftarrow|      &amp; $\longleftarrow$       &amp; \verb|\longleftarrow| \\
    $\rightarrow$      &amp; \verb|\rightarrow|     &amp; $\longrightarrow$      &amp; \verb|\longrightarrow| \\
    $\leftrightarrow$  &amp; \verb|\leftrightarrow| &amp; $\longleftrightarrow$  &amp; \verb|\longleftrightarrow| \\
    $\Leftarrow$       &amp; \verb|\Leftarrow|      &amp; $\Longleftarrow$       &amp; \verb|\Longleftarrow| \\
    $\Rightarrow$      &amp; \verb|\Rightarrow|     &amp; $\Longrightarrow$      &amp; \verb|\Longrightarrow| \\
    $\Leftrightarrow$  &amp; \verb|\Leftrightarrow| &amp; $\Longleftrightarrow$  &amp; \verb|\Longleftrightarrow| \\
    \bottomrule
\end{tabular}
\end{table}

\begin{demo}
\[\xleftarrow{x+y+z}\quad
\xrightarrow[x&lt;y]{a*b*c}\]
\end{demo}

\subsection{æ&nbsp;‡æ³¨}
\Fref{tab:accent}~åˆ—å‡ºä¸€äº›çŸ­çš„æ³¨éŸ³ç¬¦å·ï¼ˆaccentï¼‰ï¼Œ\Fref{tab:notation}~åˆ™åˆ—å‡ºä¸€äº›é•¿çš„æ&nbsp;‡æ³¨ç¬¦å·ã€‚

\begin{table}[htbp]
\caption{æ•°å­¦æ³¨éŸ³ç¬¦å·}
\label{tab:accent}
\centering
\begin{tabular}{llllllll}
    \toprule
    $\acute{x}$ &amp; \verb|\acute{x}| &amp; $\tilde{x}$   &amp; \verb|\tilde{x}|   &amp; $\mathring{x}$   &amp; \verb|\mathring{x}|  \\
    $\grave{x}$ &amp; \verb|\grave{x}| &amp; $\breve{x}$ &amp; \verb|\breve{x}| &amp; $\dot{x}$   &amp; \verb|\dot{x}|    \\
    $\bar{x}$  &amp; \verb|\bar{x}|  &amp; $\check{x}$ &amp; \verb|\check{x}| &amp; $\ddot{x}$  &amp; \verb|\ddot{x}|  \\
    $\vec{x}$ &amp; \verb|\vec{x}| &amp; $\hat{x}$   &amp; \verb|\hat{x}|   &amp; $\dddot{x}$ &amp; \verb|\dddot{x}| \\
    \bottomrule
\end{tabular}
\end{table}

\begin{table}[htbp]
\caption{é•¿æ&nbsp;‡æ³¨ç¬¦å·}
\label{tab:notation}
\centering
\begin{tabular}{llll}
    \toprule
    $\overline{xxx}$        &amp; \verb|\overline{xxx}|        &amp; $\overleftrightarrow{xxx}$  &amp; \verb|\overleftrightarrow{xxx}| \\
    $\underline{xxx}$       &amp; \verb|\underline{xxx}|       &amp; $\underleftrightarrow{xxx}$ &amp; \verb|\underleftrightarrow{xxx}| \\
    $\overleftarrow{xxx}$   &amp; \verb|\overleftarrow{xxx}|   &amp; $\overbrace{xxx}$           &amp; \verb|\overbrace{xxx}| \\
    $\underleftarrow{xxx}$  &amp; \verb|\underleftarrow{xxx}|  &amp; $\underbrace{xxx}$          &amp; \verb|\underbrace{xxx}| \\
    $\overrightarrow{xxx}$  &amp; \verb|\overrightarrow{xxx}|  &amp; $\widetilde{xxx}$           &amp; \verb|\widetilde{xxx}| \\
    $\underrightarrow{xxx}$ &amp; \verb|\underrightarrow{xxx}| &amp; $\widehat{xxx}$             &amp; \verb|\widehat{xxx}| \\
    \bottomrule
\end{tabular}
\end{table}

\subsection{çœç•¥å·}
çœç•¥å·ç”¨~\verb|\dots \cdots \vdots \ddots|~ç­‰å‘½ä»¤è¡¨ç¤ºï¼Œæ³¨æ„~\verb|\cdots|~å’Œ~\verb|\dots|~çš„å·®åˆ«ã€‚
\begin{out}
\[\dots\quad \cdots\quad \vdots\quad \ddots\]
\end{out}

\subsection{ç©ºç™½é—´è·}
åœ¨æ•°å­¦æ¨¡å¼ä¸­ï¼Œæˆ‘ä»¬å¯ä»¥ç”¨\Fref{tab:quad}ä¸­çš„å‘½ä»¤ç”Ÿæˆä¸åŒçš„é—´è·ï¼Œæ³¨æ„è´Ÿé—´è·å‘½ä»¤~\verb|\!|~å¯ä»¥ç”¨æ¥å‡å°é—´è·ã€‚

\begin{table}[htbp]
\caption{ç©ºç™½é—´è·}
\label{tab:quad}
\centering
\begin{tabular}{llll}
    \toprule
    \verb|\,| &amp; 3/18 em &amp; \verb|\quad|  &amp; 1 em \\    
    \verb|\:| &amp; 4/18 em &amp; \verb|\qquad| &amp; 2 em \\    
    \verb|\;| &amp; 5/18 em &amp; \verb|\!|     &amp; -3/18 em \\
    \bottomrule
\end{tabular}
\end{table}

\section{çŸ©é˜µå’Œè¡Œåˆ—å¼}
æ•°å­¦æ¨¡å¼ä¸‹å¯ä»¥ç”¨~\verb|array|~çŽ¯å¢ƒæ¥ç”Ÿæˆè¡Œåˆ—è¡¨ã€‚å‚æ•°~\verb|{ccc}|~ç”¨äºŽè®¾ç½®æ¯åˆ—çš„å¯¹é½æ–¹å¼ï¼Œ\verb|lã€cã€r|~åˆ†åˆ«è¡¨ç¤ºå·¦ä¸­å³ï¼›\verb|\\|~å’Œ~\verb|&amp;|~ç”¨æ¥åˆ†éš”è¡Œå’Œåˆ—ã€‚

\begin{demo}
\[\begin{array}{ccc}
x_1 &amp; x_2 &amp; \dots \\
x_3 &amp; x_4 &amp; \dots \\
\vdots &amp; \vdots &amp; \ddots \\
\end{array}\]
\end{demo}

\verb|amsmath|~æœ‰å‡&nbsp;ä¸ªç±»ä¼¼çš„çŽ¯å¢ƒï¼š\verb|pmatrixã€bmatrixã€Bmatrixã€vmatrix|~å’Œ~
\verb|Vmatrix|ï¼Œå®ƒä»¬å’Œ~\verb|array|~çš„ä¸»è¦åŒºåˆ«æ˜¯ä¼šåœ¨è¡¨ä¸¤ç«¯åŠ&nbsp;ä¸Š~$()\; []\; \{\}\; ||\; \|\|$~ç­‰åˆ†éš”ç¬¦ï¼Œå…¶æ¬¡è¿™äº›çŽ¯å¢ƒæ²¡æœ‰åˆ—å¯¹é½æ–¹å¼å‚æ•°ã€‚

è¡Œé—´å…¬å¼å¯ä»¥ç”¨~\verb|smallmatrix|~çŽ¯å¢ƒæ¥ç”ŸæˆæŽ’åˆ—ç´§å¯†çš„å°çŸ©é˜µã€‚

\section{å¤šè¡Œå…¬å¼}
æœ‰æ—¶ä¸€ä¸ªå…¬å¼å¤ªé•¿ä¸€è¡Œæ”¾ä¸ä¸‹ï¼Œæˆ–å‡&nbsp;ä¸ªå…¬å¼éœ€è¦å†™æˆä¸€ç»„ï¼Œè¿™æ—¶æˆ‘ä»¬å°±è¦ç”¨åˆ°~\verb|amsmath|~æä¾›çš„å‡&nbsp;ä¸ªé€‚åˆå¤šè¡Œå…¬å¼çš„çŽ¯å¢ƒã€‚

\subsection{é•¿å…¬å¼}
å¯¹äºŽå¤šè¡Œä¸éœ€è¦å¯¹é½çš„é•¿å…¬å¼ï¼Œæˆ‘ä»¬å¯ä»¥ç”¨~\verb|multline|~çŽ¯å¢ƒã€‚
\begin{demo}
\begin{multline}
x=a+b+c+\\
d+e+f+g
\end{multline}
\end{demo}

éœ€è¦å¯¹é½çš„é•¿å…¬å¼å¯ä»¥ç”¨~\verb|split|~çŽ¯å¢ƒï¼Œå®ƒæœ¬èº«ä¸èƒ½å•ç‹¬ä½¿ç”¨ï¼Œå›&nbsp;æ­¤ä¹Ÿç§°ä½œæ¬¡çŽ¯å¢ƒï¼Œå¿…é¡»åŒ…å«åœ¨~\verb|equation|~æˆ–å…¶å®ƒæ•°å­¦çŽ¯å¢ƒå†…ã€‚\verb|split|~çŽ¯å¢ƒç”¨~\verb|\\|~å’Œ~\verb|&amp;|~æ¥åˆ†è¡Œå’Œè®¾ç½®å¯¹é½ä½ç½®ã€‚
\begin{demo}
\[ \begin{split}
x=&amp;a+b+c+\\
  &amp;d+e+f+g
\end{split} \]
\end{demo}

\subsection{å…¬å¼ç»„}
ä¸éœ€è¦å¯¹é½çš„å…¬å¼ç»„ç”¨~\verb|gather|çŽ¯å¢ƒï¼Œéœ€è¦å¯¹é½çš„ç”¨~\verb|align|ã€‚
\begin{demo}
\begin{gather}
a=b+c+d\\
x=y+z
\end{gather}
\end{demo}

\begin{demo}
\begin{align}
a&amp;=b+c+d\\
x&amp;=y+z
\end{align}
\end{demo}

\verb|multlineã€gatherã€align|~ç­‰çŽ¯å¢ƒéƒ½æœ‰å¸¦~\verb|*|~çš„ç‰ˆæœ¬ï¼Œå®ƒä»¬ä¸ç”Ÿæˆå…¬å¼ç¼–å·ã€‚

æœ‰å¤šç§æ¡ä»¶çš„å…¬å¼ç»„ç”¨~\verb|cases|~æ¬¡çŽ¯å¢ƒã€‚
\begin{demo}
\[ y=\begin{cases}
-x &amp; x&lt;0\\
x &amp; x\geq0
\end{cases} \]
\end{demo}

\section{å®šç†å’Œè¯æ˜Ž}
\LaTeX~æä¾›äº†ä¸€ä¸ª~\verb|\newtheorem|~å‘½ä»¤æ¥å®šä¹‰å®šç†ä¹‹ç±»çš„çŽ¯å¢ƒï¼Œå…¶è¯­æ³•å¦‚ä¸‹ã€‚
\begin{code}
\newtheorem{çŽ¯å¢ƒå}[ç¼–å·å»¶ç»­]{æ˜¾ç¤ºå}[ç¼–å·å±‚æ¬¡]
\end{code}

åœ¨ä¸‹ä¾‹ä¸­ï¼Œæˆ‘ä»¬å®šä¹‰äº†å››ä¸ªçŽ¯å¢ƒï¼šå®šä¹‰ã€å®šç†ã€å¼•ç†å’ŒæŽ¨è®ºï¼Œå®ƒä»¬éƒ½åœ¨ä¸€ä¸ª~\verb|section|~å†…ç¼–å·ï¼Œè€Œå¼•ç†å’ŒæŽ¨è®ºä¼šå»¶ç»­å®šç†çš„ç¼–å·ã€‚
\begin{code}
\newtheorem{defination}{å®šä¹‰}[section]
\newtheorem{theorem}{å®šç†}[section]
\newtheorem{lemma}[theorem]{å¼•ç†}
\newtheorem{corollary}[theorem]{æŽ¨è®º}
\end{code}

\newtheorem{defination}{å®šä¹‰}[section]
\newtheorem{theorem}{å®šç†}[section]
\newtheorem{lemma}[theorem]{å¼•ç†}
\newtheorem{corollary}[theorem]{æŽ¨è®º}

å®šä¹‰äº†ä¸Šè¿°çŽ¯å¢ƒä¹‹åŽï¼Œæˆ‘ä»¬å°±å¯ä»¥è±¡ä¸‹é¢è¿™æ&nbsp;·ä½¿ç”¨å®ƒä»¬ã€‚
\begin{demo}
\begin{defination}
Javaæ˜¯ä¸€ç§è·¨å¹³å°çš„ç¼–ç¨‹è¯­è¨€ã€‚
\end{defination}
\end{demo}

\begin{demo}
\begin{theorem}
å’–å•¡å›&nbsp;ä¼šä½¿äººçš„å¤§è„‘å…´å¥‹ã€‚
\end{theorem}
\end{demo}

\begin{demo}
\begin{lemma}
èŒ¶å’Œå’–å•¡éƒ½ä¼šä½¿äººå…´å¥‹ã€‚
\end{lemma}
\end{demo}

\begin{demo}
\begin{corollary}
æ™šä¸Šå–å’–å•¡ä¼šå¯¼è‡´å¤±çœ&nbsp;ã€‚
\end{corollary}
\end{demo}

\verb|proof|çŽ¯å¢ƒå¯ä»¥ç”¨æ¥è¾“å…¥ä¸‹é¢è¿™æ&nbsp;·çš„è¯æ˜Žï¼Œå®ƒä¼šåœ¨è¯æ˜Žç»“å°¾è¾“å…¥ä¸€ä¸ª~QED~ç¬¦å·\footnote{æ‹‰ä¸è¯­~quod erat demonstrandum~çš„ç¼©å†™ã€‚}ã€‚

\begin{demo}
\begin{proof}[å‘½é¢˜``ç‰©è´¨æ—&nbsp;é™å¯åˆ†''çš„è¯æ˜Ž]
ä¸€å°ºä¹‹æ£°ï¼Œæ—¥å–å…¶åŠï¼Œä¸‡ä¸–ä¸ç«­ã€‚
\end{proof}
\end{demo}

\section{æ•°å­¦å­—ä½“}
å’Œæ–‡æœ¬æ¨¡å¼ç±»ä¼¼ï¼Œæ•°å­¦æ¨¡å¼ä¸‹å¯ä»¥ç”¨\Fref{tab:math_font}~ä¸­çš„å‘½ä»¤é€‰æ‹©ä¸åŒå­—ä½“ï¼Œå…¶ä¸­æœ‰äº›å­—ä½“éœ€è¦åŠ&nbsp;è½½~\verb|amsfonts|~å®åŒ…ã€‚

\begin{table}[htbp]
\caption{æ•°å­¦å­—ä½“}
\label{tab:math_font}
\centering
\begin{tabular}{ccccccc}
    \toprule
    ç¼ºçœ &amp; \verb|\mathbf| &amp; \verb|\mathit| &amp; \verb|\mathsf| &amp; 
        \verb|\mathcal| &amp; \verb|\mathbb| \\
    XNZRC &amp; $\mathbf{XNZRC}$ &amp; $\mathit{XNZRC}$ &amp; $\mathsf{XNZRC}$ &amp; 
        $\mathcal{XNZRC}$ &amp; $\mathbb{XNZRC}$ \\
    \bottomrule
\end{tabular}
\end{table}

\bibliographystyle{unsrtnat}
\bibliography{reading}
\newpage
</pre></body></html>