Latex公式編輯

對常用latex公式編輯做一個備忘錄

調用數學相關的包

\usepackage[namelimits]{amsmath} %數學公式
\usepackage{amssymb}             %數學公式
\usepackage{amsfonts}            %數學字體
\usepackage{mathrsfs}            %數學花體

大括號
x={ab×yc×z x =\left\{ \begin{aligned} ab & \times y \\ c & \times z \end{aligned} \right.

$$
x =\left\{
\begin{aligned}
 ab & \times y \\
 c & \times z
\end{aligned}
\right.
$$

連乘(範圍在正上下方)
i=1n \prod\limits_{i=1}^n

$$
\prod\limits_{i=1}^n 
$$

公式對齊
f(x)=a×y=c×z \begin{aligned} f(x) &= a \times y \\ &= c \times z \end{aligned}

$$
\begin{aligned}
 f(x) &= a \times y \\
 &= c \times z
\end{aligned}
$$
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章