美文网首页
Latex2公式书写(1)

Latex2公式书写(1)

作者: Chemizi | 来源:发表于2018-04-18 17:57 被阅读0次

1.引入数学包

\usepackage{amsmath}


2.数学公式环境

\begin{equation}

...

\end{equation}


3.排版对齐环境

\begin{aligned}

...

\end{aligned}


例子:

\section{Equation}

\begin{equation}

\begin{aligned}%用&对齐,\\换行

a&=3,b=4\\

c&={a}\times{b}\\

&={3}\times{4}\\

&=12

\end{aligned}

\tag{equ 1}%公式标号

\end{equation}

相关文章

网友评论

      本文标题:Latex2公式书写(1)

      本文链接:https://www.haomeiwen.com/subject/xxlbkftx.html