LaTeX - (三)使用技巧

有“强迫症”的浮动体

如何查找文档

在命令行中输入 texdoc <doc name>,比如想找 \(C\TeX\) 宏包的文档:texdoc ctex

数学环境

上下大括号

1
\overbrace{a+b+c}^A = \underbrace{a-b-c}_B

\[ \overbrace{a+b+c}^A = \underbrace{a-b-c}_B \]

上下划线

1
\overline {z_{1}+z_{2}} = \overline {z_{1}}+\overline {z_{2}}

\[ \overline {z_{1}+z_{2}} = \overline {z_{1}}+\overline {z_{2}} \]

积分

1
2
3
4
5
\begin{align*}
\int_a^bx\mathrm{d}x \\
\iint \limits_{\Omega}x^2\mathrm{d}x \\
\iiint \limits_{V} x^3 \mathrm{d} x
\end{align*}

\[ \begin{align*} \int_a^bx\mathrm{d}x \\ \iint \limits_{\Omega}x^2\mathrm{d}x \\ \iiint \limits_{V} x^3\mathrm{d} x \end{align*} \]

FAQ

book, report 和 article 有什么区别koma script - Regarding the book, report, and article document classes: what are the main differences? - TeX - LaTeX Stack Exchange


LaTeX - (三)使用技巧
https://chen-huaneng.github.io/2024/10/24/2024-10-24-2024-10-24-latex2/
作者
Abel
发布于
2024年10月24日
更新于
2025年8月3日
许可协议