【效率辦公】LaTex公式梳理總結(jié)
1. 介紹
LaTeX是一種文本排版系統(tǒng),可以利用該工具生成高質(zhì)量的科技和數(shù)學類文檔,在B站的公式輸入部分和Obsidian等軟件中都可以使用。

本篇梳理了一些LaTex公式表示方法供參考。
LaTeX官網(wǎng): https://www.latex-project.org/
2. 基本用法
行內(nèi)公式:$公式內(nèi)容$
行間公式:$$公式內(nèi)容$$
公式編號:$$公式內(nèi)容\tag{1.2}$$
公式內(nèi)加空格(默認省略空格):$$公式\quad內(nèi)容$$
單個公式換行拆分:
=>,? 其中?
\\
?為換行分割點;&
為對齊錨點,它后面的字符將在換行后對齊。
3. 符號公式
加減乘除:
$a+b$, $a-b$
=>?
$a*b$, $a\times b$
=>?
$a/b$,$\frac{a}$
=>?
比較運算
小于、大于、小于等于、大于等于:
<, >, \leq, \geq
=>?<,>,≤,≥等于,不等于,恒等于:
=, \not= ,\neq, \equiv
=>?=,≠,≠,≡
其他運算符
X', Y''
=>?x^a, x^{ab}, x^ab
=>?a_n, a_{nm}, a_nm
=>\sqrt a, \sqrt[n]a, \sqrt[n*m]{ab}
=>?\overline x, \underline x
=>?\sqrt{ab}
=>?\overbrace {x,y,z}, \underbrace {x,y,z}
=>?\overbrace{1+2+\cdots+n}^{n個}
=>\because, \therefore
=>?∵?,?∴\sum_{i=1}^n, \sum_{i=1}^{na_i}
=>\log_ax, \ln x, \lg x
=>?數(shù)組元素乘積:
a \prod b
=>\vec x, \overrightarrow y,\overleftarrow z
=>?
\overset{x \to t}{a}
=>_{a}^\textrm{C}
=>?點:
一個點:
\dot
?=>??位于基線上:
1,2 \ldots n
?=>?1,2…n位于居中上:
1,2 \cdots n
?=>?1,2?n垂直:
\vdots
?=>??對角線:?
\ddots
?=>?
集合運算
集合:
\left\{ x_1,x_2 \right\}
=>屬于、包含與真包含:
\in, \notin, \subset, \subseteq, \supset,\supseteq
=>交,并,補:
\cap, \cup, C_UA, \complement_UA
=>
數(shù)理幾何
三角函數(shù):
\sin x, \cos x, \tan x, \cot x
=>反三角函數(shù):
\arcsin x, \arccos x, \arctan x
=>雙曲函數(shù):
\sinh x, \cosh x, \tanh x, \coth x
=>上劃線:
\overline{U}
?=>夾角:
\angle ABC$
?=>?∠AB三角形:
\triangle ABC
?=>?△ABC垂直:
\text{A}\bot\text{B}
?=>?A⊥B
特殊符號
無窮
\infty, +\infty, -\infty
=>箭頭
\rightarrow, \leftarrow, \uparrow, \downarrow
=>? ?極限
\lim_{x\rightarrow +\infty}, \lim_{x\rightarrow \infty}
=>??積分:
定積分與不定積分
\int, \int_a^b, \int_{ab}^{cd},\oint_{a}^
=>二重積分
\iint, \iint_A
=>三重積分
\iiint, \iiint_B
=>\int_a^b (x^2) dx
=>偏導:
\partial
?=>??梯度:
\nabla
?=>??任意:
\forall
?=>?存在?
\exists?
=>?相似?
\sim
?=>?重音符號
\hat{x}, \bar{x}, \tilde{x}
=>?
方程組
=>??
=>? ?
矩陣
=>?

=>??
=>??
希臘字母
可以通過反斜杠+讀音實現(xiàn),或者直接復制:
=>??
希臘字母讀音表:

4. 編輯工具
LaTeX在線公式編輯轉(zhuǎn)圖片: https://latex.vimsky.com/

2. 在B站專欄草稿編輯中,添加公式,可以快速獲得LaTeX公式


參考
[一文學會基本的LaTeX公式輸入 - 知乎 (zhihu.com)](https://zhuanlan.zhihu.com/p/124275975)
[LaTeX 公式篇 - 知乎 (zhihu.com)](https://zhuanlan.zhihu.com/p/110756681)
?以上就是對LaTex公式的一些個人總結(jié),希望能有幫助,感謝點贊關注~