LaTeX 速查表
入门
示例
% \f is defined as #1f(#2) using the macro
f\relax(x) = \int_{-\infty}^\infty
f\hat\xi\,e^{2 \pi i \xi x}
\,d\xi
行内展示
基于 KaTeX 在一行
展示示例: `KaTeX:\int_0^\infty x^2 dx`
基于 KaTeX 在一行展示示例:
Supported Functions
Accents
:- | :- | :- |
---|---|---|
a' | \tilde{a} | \mathring{g} |
a'' | \widetilde{ac} | \overgroup{AB} |
a^{\prime} | \utilde{AB} | \undergroup{AB} |
\acute{a} | \vec{F} | \Overrightarrow{AB} |
\bar{y} | \overleftarrow{AB} | \overrightarrow{AB} |
\breve{a} | \underleftarrow{AB} | \underrightarrow{AB} |
\check{a} | \overleftharpoon{ac} | \overrightharpoon{ac} |
\dot{a} | \overleftrightarrow{AB} | \overbrace{AB} |
\ddot{a} | \underleftrightarrow{AB} | \underbrace{AB} |
\grave{a} | \overline{AB} | \overlinesegment{AB} |
\hat{\theta} | \underline{AB} | \underlinesegment{AB} |
\widehat{ac} | \widecheck{ac} | \underbar{X} |
\text{…}中的强调功能
:- | :- | :- |
---|---|---|
\'{a} | \~{a} | |
\.{a} | \H{a} | |
\`{a} | \={a} | |
\"{a} | \v{a} | |
\^{a} | \u{a} | |
\r{a} |
Delimiter Sizing
:- | :- |
---|---|
| \left(\LARGE{AB}\right) |
| ( \big( \Big( \bigg( \Bigg( |
:- | :- | :- | :- | :- |
---|---|---|---|---|
\left | \big | \bigl | \bigm | \bigr |
\middle | \Big | \Bigl | \Bigm | \Bigr |
\right | \bigg | \biggl | \biggm | \biggr |
\ | \Bigg | \Biggl | \Biggm | \Biggr |
希腊和希伯来字母 Greek and Hebrew letters
预览 | 方法 | 预览 | 方法 | 预览 | 方法 | 预览 | 方法 | 预览 | 方法 | 预览 | 方法 |
---|---|---|---|---|---|---|---|---|---|---|---|
| \alpha |
| \kappa |
| \psi |
| \digamma |
| \Delta |
| \Theta |
| \beta |
| \lambda |
| \rho |
| \varepsilon |
| \Gamma |
| \Upsilon |
| \chi |
| \mu |
| \sigma |
| \varkappa |
| \Lambda |
| \Xi |
| \delta |
| \nu |
| \tau |
| \varphi |
| \Omega | ||
| \epsilon |
| o |
| \theta |
| \varpi |
| \Phi |
| \aleph |
| \eta |
| \omega |
| \upsilon |
| \varrho |
| \Pi |
| \beth |
| \gamma |
| \phi |
| \xi |
| \varsigma |
| \Psi |
| \daleth |
| \iota |
| \pi |
| \zeta |
| \vartheta |
| \Sigma |
| \gimel |
其它字母
:- | :- | :- | :- | :- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|---|---|---|---|
| \imath |
| \nabla |
| \Im |
| \Reals |
| \text{\OE} |
| \jmath |
| \partial |
| \image |
| \wp |
| \text{\o} |
| \aleph |
| \Game |
| \Bbbk |
| \weierp |
| \text{\O} |
| \alef |
| \Finv |
| \N |
| \Z |
| \text{\ss} |
| \alefsym |
| \cnums |
| \natnums |
| \text{\aa} |
| \text{\i} |
| \beth |
| \Complex |
| \R |
| \text{\AA} |
| \text{\j} |
| \gimel |
| \ell |
| \Re |
| \text{\ae} | ||
| \daleth |
| \hbar |
| \real |
| \text{\AE} | ||
| \eth |
| \hslash |
| \reals |
| \text{\oe} |
字母和 Unicode
预览 | 方法 | 预览 | 方法 | 预览 | 方法 | 预览 | 方法 |
---|---|---|---|---|---|---|---|
| \Alpha |
| \Beta |
| \Gamma |
| \Delta |
| \Epsilon |
| \Zeta |
| \Eta |
| \Theta |
| \Iota |
| \Kappa |
| \Lambda |
| \Mu |
| \Nu |
| \Xi |
| \Omicron |
| \Pi |
| \Rho |
| \Sigma |
| \Tau |
| \Upsilon |
| \Phi |
| \Chi |
| \Psi |
| \Omega |
| \varGamma |
| \varDelta |
| \varTheta |
| \varLambda |
| \varXi |
| \varPi |
| \varSigma |
| \varUpsilon |
| \varPhi |
| \varPsi |
| \varOmega | ||
| \alpha |
| \beta |
| \gamma |
| \delta |
| \epsilon |
| \zeta |
| \eta |
| \theta |
| \iota |
| \kappa |
| \lambda |
| \mu |
| \nu |
| \xi |
| \omicron |
| \pi |
| \rho |
| \sigma |
| \tau |
| \upsilon |
| \phi |
| \chi |
| \psi |
| \omega |
| \varepsilon |
| \varkappa |
| \vartheta |
| \thetasym |
| \varpi |
| \varrho |
| \varsigma |
| \varphi |
| \digamma |
注解
:- | :- | :- | :- | :- |
---|---|---|---|---|
| \cancel{5} |
| \overbrace{a+b+c}^{\text{note}} | |
| \bcancel{5} |
| \underbrace{a+b+c}_{\text{note}} | |
| \xcancel{ABC} |
| \not = | |
| \sout{abc} |
| \boxed{\pi=\frac c d} | |
| $a_{\angl n} |
| a_\angln | |
| \phase{-78^\circ} |
垂直布局
:- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|
| x_n |
| \stackrel{!}{=} |
| a \atop b |
| e^x |
| \overset{!}{=} |
| a\raisebox{0.25em}{$b$}c |
| _u^o |
| \underset{!}{=} |
| a+\left(\vcenter{\hbox{$\frac{\frac a b}c$}}\right) |
| \sum_{\substack{0<i<m\\0<j<n}} |
重叠和间距
:- | :- | :- | :- |
---|---|---|---|
|
| ||
|
|
\sum_{\mathclap{1\le i\le j\le n}} x_{ij}
math constructs
预览 | 方法 | 预览 | 方法 | 预览 | 方法 |
---|---|---|---|---|---|
| \frac{abc}{xyz} |
| \overline{abc} |
| \overrightarrow{abc} |
| f' |
| \underline{abc} |
| \overleftarrow{abc} |
| \sqrt{abc} |
| \widehat{abc} |
| \overbrace{abc} |
| \sqrt[n]{abc} |
| \widetilde{abc} |
| \underbrace{abc} |
分隔符 Delimiters
预览 | 方法 | 预览 | 方法 | 预览 | 方法 | 预览 | 方法 | 预览 | 方法 |
---|---|---|---|---|---|---|---|---|---|
| () |
| \lparen \rparen |
| ⌈ ⌉ |
| \lceil \rceil |
| \uparrow |
| [] |
| \lbrack \rbrack |
| ⌊ ⌋ |
| \lfloor \rfloor |
| \downarrow |
| {} |
| \lbrace \rbrace |
| ⎰⎱ |
| \lmoustache \rmoustache |
| \updownarrow |
| ⟨⟩ |
| \langle \rangle |
| ⟮ ⟯ |
| \lgroup \rgroup |
| \Uparrow |
| | |
| \vert |
| ┌ ┐ |
| \ulcorner \urcorner |
| \Downarrow |
( | \| |
| \Vert |
| └ ┘ |
| \llcorner \lrcorner |
| \Updownarrow |
| \lvert \rvert |
| \lVert \rVert | \left. | \right. |
| \backslash | ||
| \lang \rang |
| \lt \gt |
| ⟦ ⟧ |
| \llbracket \rrbracket |
| \lBrace \rBrace |
可以使用一对表达式 \left
和
\right
来将分隔符
和
的高度与其内容的高度进行匹配,例如:
:- | :- | :- | :- | :- | :- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|---|---|---|---|---|
\left| |
| \right| | \left\{ |
| \right\} | \left\Vert |
| \right. |
可变大小的符号
预览 | 方法 | 预览 | 方法 | 预览 | 方法 | 预览 | 方法 | 预览 | 方法 |
---|---|---|---|---|---|---|---|---|---|
| \sum |
| \int |
| \biguplus |
| \bigoplus |
| \bigvee |
| \prod |
| \oint |
| \bigcap |
| \bigotimes |
| \bigwedge |
| \coprod |
| \iint |
| \bigcup |
| \bigodot |
| \bigodot |
标准函数名称
预览 | 方法 | 预览 | 方法 | 预览 | 方法 | 预览 | 方法 |
---|---|---|---|---|---|---|---|
| \arccos |
| \arcsin |
| \arcsin |
| \arg |
| \cos |
| \cosh |
| \cot |
| \coth |
| \csc |
| \deg |
| \det |
| \dim |
| \exp |
| \gcd |
| \hom |
| \inf |
| \ker |
| \lg |
| \lim |
| \liminf |
| \limsup |
| \ln |
| \log |
| \max |
| \min |
| \Pr |
| \sec |
| \sin |
| \sinh |
| \sup |
| \tan |
| \tanh |
函数名应该用罗马字体,而不是斜体,例如:
:- | :- | :- | :- |
---|---|---|---|
Correct: | \tan(at-n\pi) |
|
|
Incorrect: | tan(at-n\pi) |
|
|
逻辑与集合论
:- | :- | :- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|---|---|
| \forall |
| \complement |
| \therefore |
| \emptyset |
| \exists |
| \subset |
| \because |
| \empty |
| \exist |
| \supset |
| \mapsto |
| \varnothing |
| \nexists |
| \mid |
| \to |
| \implies |
| \in |
| \land |
| \gets |
| \impliedby |
| \isin |
| \lor |
| \leftrightarrow |
| \iff |
| \notin |
| \ni |
| \notni |
| \neg \lnot |
:- | :- | :- | :- |
---|---|---|---|
|
|
宏指令
:- | :- | :- | :- |
---|---|---|---|
|
|
特殊符号
:- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|
|
|
| \braket{\phi|\psi} | ||
|
|
| \Braket{ ϕ | \frac{∂^2}{∂ t^2} | ψ } |
运算符
数学运算符
:- | :- | :- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|---|---|
| \arcsin |
| \cosec |
| \deg |
| \sec |
| \arccos |
| \cosh |
| \dim |
| \sin |
| \arctan |
| \cot |
| \exp |
| \sinh |
| \arctg |
| \cotg |
| \hom |
| \sh |
| \arcctg |
| \coth |
| \ker |
| \tan |
| \arg |
| \csc |
| \lg |
| \tanh |
| \ch |
| \ctg |
| \ln |
| \tg |
| \cos |
| \cth |
| \log |
| \th |
| \operatorname{f} | ||||||
| \argmax |
| \injlim |
| \min |
| \varinjlim |
| \argmin |
| \lim |
| \plim |
| \varliminf |
| \det |
| \liminf |
| \Pr |
| \varlimsup |
| \gcd |
| \limsup |
| \projlim |
| \varprojlim |
| \inf |
| \max |
| \sup |
| \operatorname*{f} |
| \operatornamewithlimits{f} |
大运算符
:- | :- | :- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|---|---|
| \sum |
| \prod |
| \bigotimes |
| \bigvee |
| \int |
| \coprod |
| \bigoplus |
| \bigwedge |
| \iint |
| \intop |
| \bigodot |
| \bigcap |
| \iiint |
| \smallint |
| \biguplus |
| \bigcup |
| \oint |
| \oiint |
| \oiiint |
| \bigsqcup |
分数和二项式
:- | :- | :- | :- |
---|---|---|---|
| \frac{a}{b} |
| \tfrac{a}{b} |
| {a \over b} |
| \dfrac{a}{b} |
| \genfrac ( ] {2pt}{1}a{a+1} |
| {a \above{2pt} b+1} |
| a/b |
| \cfrac{a}{1 + \cfrac{1}{b}} |
:- | :- | :- | :- |
---|---|---|---|
| \binom{n}{k} |
| \dbinom{n}{k} |
| {n\brace k} |
| {n \choose k} |
| \tbinom{n}{k} |
| {n\brack k} |
\sqrt
:- | :- | :- | :- |
---|---|---|---|
| \sqrt{x} |
| \sqrt[3]{x} |
二元运算符
:- | :- | :- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|---|---|
| + |
| \cdot |
| \gtrdot |
| x \pmod a |
| - |
| \cdotp |
| \intercal |
| x \pod a |
| / |
| \centerdot |
| \land |
| \rhd |
| * |
| \circ |
| \leftthreetimes |
| \rightthreetimes |
| \amalg |
| \circledast |
| \ldotp |
| \rtimes |
| \And |
| \circledcirc |
| \lor |
| \setminus |
| \ast |
| \circleddash |
| \lessdot |
| \smallsetminus |
| \barwedge |
| \Cup |
| \lhd |
| \sqcap |
| \bigcirc |
| \cup |
| \ltimes |
| \sqcup |
| \bmod |
| \curlyvee |
| x\mod a |
| \times |
| \boxdot |
| \curlywedge |
| \mp |
| \unlhd |
| \boxminus |
| \div |
| \odot |
| \unrhd |
| \boxplus |
| \divideontimes |
| \ominus |
| \uplus |
| \boxtimes |
| \dotplus |
| \oplus |
| \vee |
| \bullet |
| \doublebarwedge |
| \otimes |
| \veebar |
| \Cap |
| \doublecap |
| \oslash |
| \wedge |
| \cap |
| \doublecup |
| \pm |
| \plusmn |
| \wr |
关系
关系
:- | :- | :- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|---|---|
| = |
| \doteqdot |
| \lessapprox |
| \smile |
| < |
| \eqcirc |
| \lesseqgtr |
| \sqsubset |
| > |
| \eqcolon \minuscolon |
| \lesseqqgtr |
| \sqsubseteq |
| : |
| \Eqcolon \minuscoloncolon |
| \lessgtr |
| \sqsupset |
| \approx |
| \eqqcolon \equalscolon |
| \lesssim |
| \sqsupseteq |
| \approxcolon |
| \Eqqcolon \equalscoloncolon |
| \ll |
| \Subset |
| \approxcoloncolon |
| \eqsim |
| \lll |
| \subset \sub |
| \approxeq |
| \eqslantgtr |
| \llless |
| \subseteq \sube |
| \asymp |
| \eqslantless |
| \lt |
| \subseteqq |
| \backepsilon |
| \equiv |
| \mid |
| \succ |
| \backsim |
| \fallingdotseq |
| \models |
| \succapprox |
| \backsimeq |
| \frown |
| \multimap |
| \succcurlyeq |
| \between |
| \ge |
| \origof |
| \succeq |
| \bowtie |
| \geq |
| \owns |
| \succsim |
| \bumpeq |
| \geqq |
| \parallel |
| \Supset |
| \Bumpeq |
| \geqslant |
| \perp |
| \supset |
| \circeq |
| \gg |
| \pitchfork |
| \supseteq \supe |
| \colonapprox |
| \ggg |
| \prec |
| \supseteqq |
| \Colonapprox \coloncolonapprox |
| \gggtr |
| \precapprox |
| \thickapprox |
| \coloneq \colonminus |
| \gt |
| \preccurlyeq |
| \thicksim |
| \Coloneq \coloncolonminus |
| \gtrapprox |
| \preceq |
| \trianglelefteq |
| \coloneqq \colonequals |
| \gtreqless |
| \precsim |
| \triangleq |
| \Coloneqq \coloncolonequals |
| \gtreqqless |
| \propto |
| \trianglerighteq |
| \colonsim |
| \gtrless |
| \risingdotseq |
| \varpropto |
| \Colonsim \coloncolonsim |
| \gtrsim |
| \shortmid |
| \vartriangle |
| \cong |
| \imageof |
| \shortparallel |
| \vartriangleleft |
| \curlyeqprec |
| \in \isin |
| \sim |
| \vartriangleright |
| \curlyeqsucc |
| \Join |
| \simcolon |
| \vcentcolon \ratio |
| \dashv |
| \le |
| \simcoloncolon |
| \vdash |
| \dblcolon \coloncolon |
| \leq |
| \simeq |
| \vDash |
| \doteq |
| \leqq |
| \smallfrown |
| \Vdash |
| \Doteq |
| \leqslant |
| \smallsmile |
| \Vvdash |
否定关系
:- | :- | :- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|---|---|
| \gnapprox |
| \ngeqslant |
| \nsubseteq |
| \precneqq |
| \gneq |
| \ngtr |
| \nsubseteqq |
| \precnsim |
| \gneqq |
| \nleq |
| \nsucc |
| \subsetneq |
| \gnsim |
| \nleqq |
| \nsucceq |
| \subsetneqq |
| \gvertneqq |
| \nleqslant |
| \nsupseteq |
| \succnapprox |
| \lnapprox |
| \nless |
| \nsupseteqq |
| \succneqq |
| \lneq |
| \nmid |
| \ntriangleleft |
| \succnsim |
| \lneqq |
| \notin |
| \ntrianglelefteq |
| \supsetneq |
| \lnsim |
| \notni |
| \ntriangleright |
| \supsetneqq |
| \lvertneqq |
| \nparallel |
| \ntrianglerighteq |
| \varsubsetneq |
| \ncong |
| \nprec |
| \nvdash |
| \varsubsetneqq |
| \ne |
| \npreceq |
| \nvDash |
| \varsupsetneq |
| \neq |
| \nshortmid |
| \nVDash |
| \varsupsetneqq |
| \ngeq |
| \nshortparallel |
| \nVdash | ||
| \ngeqq |
| \nsim |
| \precnapprox |
\not =
箭头
:- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|
| \circlearrowleft |
| \leftharpoonup |
| \rArr |
| \circlearrowright |
| \leftleftarrows |
| \rarr |
| \curvearrowleft |
| \leftrightarrow |
| \restriction |
| \curvearrowright |
| \Leftrightarrow |
| \rightarrow |
| \Darr |
| \leftrightarrows |
| \Rightarrow |
| \dArr |
| \leftrightharpoons |
| \rightarrowtail |
| \darr |
| \leftrightsquigarrow |
| \rightharpoondown |
| \dashleftarrow |
| \Lleftarrow |
| \rightharpoonup |
| \dashrightarrow |
| \longleftarrow |
| \rightleftarrows |
| \downarrow |
| \Longleftarrow |
| \rightleftharpoons |
| \Downarrow |
| \longleftrightarrow |
| \rightrightarrows |
| \downdownarrows |
| \Longleftrightarrow |
| \rightsquigarrow |
| \downharpoonleft |
| \longmapsto |
| \Rrightarrow |
| \downharpoonright |
| \longrightarrow |
| \Rsh |
| \gets |
| \Longrightarrow |
| \searrow |
| \Harr |
| \looparrowleft |
| \swarrow |
| \hArr |
| \looparrowright |
| \to |
| \harr |
| \Lrarr |
| \twoheadleftarrow |
| \hookleftarrow |
| \lrArr |
| \twoheadrightarrow |
| \hookrightarrow |
| \lrarr |
| \Uarr |
| \iff |
| \Lsh |
| \uArr |
| \impliedby |
| \mapsto |
| \uarr |
| \implies |
| \nearrow |
| \uparrow |
| \Larr |
| \nleftarrow |
| \Uparrow |
| \lArr |
| \nLeftarrow |
| \updownarrow |
| \larr |
| \nleftrightarrow |
| \Updownarrow |
| \leadsto |
| \nLeftrightarrow |
| \upharpoonleft |
| \leftarrow |
| \nrightarrow |
| \upharpoonright |
| \Leftarrow |
| \nRightarrow |
| \upuparrows |
| \leftarrowtail |
| \nwarrow | ||
| \leftharpoondown |
| \Rarr |
可扩展箭头
:- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|
| \xleftarrow{abc} |
| \xrightarrow[under]{over} | ||
| \xLeftarrow{abc} |
| \xRightarrow{abc} | ||
| \xleftrightarrow{abc} |
| \xLeftrightarrow{abc} | ||
| \xhookleftarrow{abc} |
| \xhookrightarrow{abc} | ||
| \xtwoheadleftarrow{abc} |
| \xtwoheadrightarrow{abc} | ||
| \xleftharpoonup{abc} |
| \xrightharpoonup{abc} | ||
| \xleftharpoondown{abc} |
| \xrightharpoondown{abc} | ||
| \xleftrightharpoons{abc} |
| \xrightleftharpoons{abc} | ||
| \xtofrom{abc} |
| \xmapsto{abc} | ||
| \xlongequal{abc} |
符号和标点符号
符号和标点符号
:- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|
| % comment |
| \dots |
| \KaTeX |
| \% |
| \cdots |
| \LaTeX |
| \# |
| \ddots |
| \TeX |
| \& |
| \ldots |
| \nabla |
| \_ |
| \vdots |
| \infty |
| \text{\textunderscore} |
| \dotsb |
| \infin |
| \text{--} |
| \dotsc |
| \checkmark |
| \text{\textendash} |
| \dotsi |
| \dag |
| \text{---} |
| \dotsm |
| \dagger |
| \text{\textemdash} |
| \dotso |
| \text{\textdagger} |
| \text{\textasciitilde} |
| \sdot |
| \ddag |
| \text{\textasciicircum} |
| \mathellipsis |
| \ddagger |
|
| \text{\textellipsis} |
| \text{\textdaggerdbl} | |
| text{\textquoteleft} |
| \Box |
| \Dagger |
| \lq |
| \square |
| \angle |
| \text{\textquoteright} |
| \blacksquare |
| \measuredangle |
| \rq |
| \triangle |
| \sphericalangle |
| \text{\textquotedblleft} |
| \triangledown |
| \top |
| " |
| \triangleleft |
| \bot |
| \text{\textquotedblright} |
| \triangleright |
| \$ |
| \colon |
| \bigtriangledown |
| \text{\textdollar} |
| \backprime |
| \bigtriangleup |
| \pounds |
| \prime |
| \blacktriangle |
| \mathsterling |
| \text{\textless} |
| \blacktriangledown |
| \text{\textsterling} |
| \text{\textgreater} |
| \blacktriangleleft |
| \yen |
| \text{\textbar} |
| \blacktriangleright |
| \surd |
| \text{\textbardbl} |
| \diamond |
| \degree |
| \text{\textbraceleft} |
| \Diamond |
| \text{\textdegree} |
| \text{\textbraceright} |
| \lozenge |
| \mho |
| \text{\textbackslash} |
| \blacklozenge |
| \diagdown |
| \text{\P} \P |
| \star |
| \diagup |
| \text{\S} \S |
| \bigstar |
| \flat |
| \text{\sect} |
| \clubsuit |
| \natural |
| \copyright |
| \clubs |
| \sharp |
| \circledR |
| \diamondsuit |
| \heartsuit |
| \text{\textregistered} |
| \diamonds |
| \hearts |
| \circledS |
| \spadesuit |
| \spades |
| \text{\textcircled a} |
| \maltese |
| \minuso |
Environments
Environments 1
\begin{matrix}
a & b \\
c & d
\end{matrix}
Environments 2
\begin{array}{cc}
a & b \\
c & d
\end{array}
Environments 3
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
Environments 4
\begin{bmatrix}
a & b \\
c & d
\end{bmatrix}
Environments 5
\begin{vmatrix}
a & b \\
c & d
\end{vmatrix}
Environments 6
\begin{Vmatrix}
a & b \\
c & d
\end{Vmatrix}
Environments 7
\begin{Bmatrix}
a & b \\
c & d
\end{Bmatrix}
Environments 8
\def\arraystretch{1.5}
\begin{array}{c:c:c}
a & b & c \\ \hline
d & e & f \\
\hdashline
g & h & i
\end{array}
Environments 9
x = \begin{cases}
a &\text{if } b \\
c &\text{if } d
\end{cases}
Environments 10
\begin{rcases}
a &\text{if } b \\
c &\text{if } d
\end{rcases}⇒…
Environments 11
\begin{smallmatrix}
a & b \\
c & d
\end{smallmatrix}
Environments 12
\sum_{
\begin{subarray}{l}
i\in\Lambda\\
0<j<n
\end{subarray}}
Environments 13
\begin{equation}
\begin{split} a &=b+c\\
&=e+f
\end{split}
\end{equation}
Environments 14
\begin{align}
a&=b+c \\
d+e&=f
\end{align}
Environments 15
\begin{gather}
a=b \\
e=b+c
\end{gather}
Environments 16
\begin{alignat}{2}
10&x+&3&y=2\\
3&x+&13&y=4
\end{alignat}
Environments 17
\begin{CD}
A @>a>> B \\
@VbVV @AAcA \\
C @= D
\end{CD}
样式、颜色、大小和字体
Color 颜色
:- | :- |
---|---|
| \color{blue} F=ma |
| \textcolor{blue}{F=ma} |
| \textcolor{#228B22}{F=ma} |
| \colorbox{aqua}{$F=ma$} |
| \fcolorbox{red}{aqua}{$F=ma$} |
Font 字体
:- | :- | :- | :- | :- | :- |
---|---|---|---|---|---|
| \Huge AB |
| \normalsize AB |
| |
| \huge AB |
| \huge AB |
| |
| \LARGE AB |
| \LARGE AB |
| |
| \Large AB |
| \Large AB |
| |
| \large AB |
| \large AB |
|
Style 样式
:- | :- | :- | :- |
---|---|---|---|
|
| ||
|
| ||
|
| ||
|
另见
- LaTeX 官网 (latex-project.org)
- KaTeX 官网 (katex.org)
- symbols.pdf (cmor-faculty.rice.edu)
声明 定期同步开源项目
reference
评论
欢迎提交文档错误或者建议。提交成功后自己可见,其他用户待审核通过后才可见。
您暂未登录
必须登录后才能使用评论功能(评论、点赞、回复、删除等),请
点击跳转登录
。首次评论仅自己可见,待管理员审核通过后,才会对外发布。