赞
踩
整理也挺累的……
转载自:LaTeX数学公式大全
整理自:一曲离歌༽
LaTeX数学公式大全
转载请在文章页面明显位置注明出处。
ps:资料来源于Wiki,凑合着看吧,不过洛谷的 LaTeX \LaTeX LATEX对有些符号或功能并不支持,我就没有打上。
本文纯手打。
排版不好,见谅。
Update\ 2018/6/5:最近重新在Wik上搜了下,悲催的发现我做来源的页面是古老版本……,现在的页面将这些符号大多重分类,也就是说我要重构整篇文章……(哭
Update\ 2018/6/20:最近发现一个式子可以使用背景颜色,然而Wiki上并没有QAQ。顺便将不同类别用分割线隔了下。
Update\ 2018/6/24:在打题解的时候突然发现在洛谷的 LaTeX \LaTeX LATEX里还是可以插入中文的,所以就加了下,见字体一栏。
Update\ 2019/3/6:在用 LaTeX \LaTeX LATEX写题解的时候想起现在数学公式里的多行等式的语法是有变化的,而Wiki上的是老语法,所以无法使用,因此用新语法还是可以在洛谷上使用多行等式的,同时添加了一种字体、关于插入数学公式的语法、给数学公式加上方框的公式、矩阵嵌套以及一个特殊字符,修改了一些介绍、标题。
另外吐槽一句,现在这篇博客的修改界面真的超级卡。。打一字响应半天。。
Update\ 2019/4/22:修正两个小错误,感谢 @wjyyy 和 @Struct瓶子 指出错误。
Update\ 2019/6/23:修正命令\not的使用,也许是我以前搞错语法了,反正现在是能正常使用的,感谢 @wxwoo 提醒了我检查该命令。
Update\ 2019/6/29:应 @star_city 的要求,添加了可在其上写文字的箭头命令。
将数学公式写在$ $之间,代表的是插入行内数学公式(通常称为行内模式)。
将数学公式写在
a ˙ a ¨ a ˊ a ˋ \quad \dot{a} \quad \qquad \qquad \ddot{a} \quad \qquad \qquad\acute{a} \qquad \qquad\quad \grave{a} a˙a¨aˊaˋ
\dot{a} \ddot{a} \acute{a} \quad\grave{a}
a ˇ a ˘ a ~ a ˉ \quad\check{a} \quad\, \qquad \qquad \breve{a} \quad \qquad \qquad \tilde{a} \quad \qquad \qquad \bar{a} aˇa˘a~aˉ
\quad\check{a} \quad\breve{a} \quad\tilde{a} \quad\bar{a}
a ^ a ^ a ⃗ \quad \hat{a} \quad \qquad \qquad \widehat{a} \quad \qquad \qquad \vec{a} a^a a
\quad\hat{a} \quad\widehat{a} \quad\vec{a}
exp a b = a b exp b = e b 1 0 m \exp_a b=a^b \exp b=e^b 10^m expab=abexpb=eb10m
\quad\exp_a b=a^b\quad\exp b=eb\quad10mexp
sin a cos b tan c sec d csc e cot f \sin a \cos b \tan c \sec d \csc e \cot f sinacosbtancsecdcscecotf
\quad\sin a\quad\cos b\quad\tan c\quad\sec d\quad\csc e\quad\cot fsinacosbtancsecdcscecotf
arcsin a arccos b arctan c \arcsin a \arccos b \arctan c arcsinaarccosbarctanc
\quad\arcsin a\quad\arccos b\quad\arctan carcsinaarccosbarctanc
sinh a cosh b tanh c coth d \sinh a \cosh b \tanh c \coth d sinhacoshbtanhccothd
\quad\sinh a\quad\cosh b\quad\tanh c\quad\coth dsinhacoshbtanhccothd
sh a ch b th c \sh a \ch b \th c shachbthc
\quad\sh a\quad\ch b\quad\th cshachbthc
argsh a argch b argth c \operatorname{argsh} a \operatorname{argch} b \operatorname{argth} c argshaargchbargthc
ps:\operatorname{} 貌似可以将任何字符转换成标准函数的形式。
\quad\operatorname{argsh} a\quad\operatorname{argch} b\quad\operatorname{argth} cargshaargchbargthc
∣ a ∣ min ( x , y ) max ( x , y ) \left\vert a\right\vert \min(x,y) \max(x,y) ∣a∣min(x,y)max(x,y)
\quad\left\vert a\right\vert\quad\min(x,y)\quad\max(x,y)∣a∣min(x,y)max(x,y)
min x max y inf s sup t \min x \max y \inf s \sup t minxmaxyinfssupt
\quad\min x\quad\max y\quad\inf s\quad\sup
lim u lim inf v lim sup w \lim u \liminf v \limsup w limuliminfvlimsupw
\quad\lim u\quad\liminf v\quad\limsup
dim p deg q det m ker ϕ \dim p \deg q \det m \ker\phi dimpdegqdetmkerϕ
\quad\dim p\quad\deg q\quad\det m\quad\ker\phi
ps:感觉这翻译很奇怪,应该是映射吧。
Pr j hom l ∥ z ∥ arg z \Pr j \hom l \lVert z\rVert \arg z Prjhoml∥z∥argz
ps:个人认为\lVert、\rVert与\Vert和|并没有什么区别。
\quad\Pr j\quad\hom l\quad\lVert z\rVert\quad\arg z
d t d t ∂ t ∇ ψ dt \mathrm{d}t \partial t \nabla\psi dtdt∂t∇ψ
\quad dt\quad\mathrm{d}t\quad\partial t\quad\nabla\psi
′ ‵ f ′ f ′ f ′ ′ f ( 3 ) y ˙ y ¨ \prime \backprime f^\prime f' f'' f^{(3)} \dot{y} \ddot{y} ′‵f′f′f′′f(3)y˙y¨
\quad\prime\quad\backprime\quad f^\prime\quad f’\quad f’’\quad f^{(3)}\quad\dot{y}\quad\ddot{y}
∞ ℵ ∁ ∍ ð Ⅎ ℏ \infty \aleph \complement \backepsilon \eth \Finv \hbar ∞ℵ∁∍ðℲℏ
\quad\infty\quad\aleph\quad\complement\quad\backepsilon\quad\eth\quad\Finv\quad\hbar
ℑ ı ȷ k ℓ ℧ ℘ ℜ Ⓢ \Im \imath \jmath \Bbbk \ell \mho \wp \Re \circledS ℑıȷkℓ℧℘ℜⓈ
\quad\Im\quad\imath\quad\jmath\quad\Bbbk\quad\ell\quad\mho\quad\wp\quad\Re\quad\
a ≡ 1 ( m o d m ) a\equiv1\pmod{m} a≡1(modm)
\quad a\equiv1\pmod{m}a≡1(modm)
a m o d b a\bmod b amodb
\quad a\bmod bamodb
gcd ( m , n ) lcm ( m , n ) \gcd(m,n) \operatorname{lcm}(m,n) gcd(m,n)lcm(m,n)
\quad\gcd(m,n)\quad\operatorname{lcm}(m,n)
∣ ∤ ∣ ∤ \mid \nmid \shortmid \nshortmid ∣∤∣
ps:\mid可以用|代替。
\quad\mid\quad\nmid\quad\shortmid\quad\nshortmid
a % b a\%b a%b
\quad a%b
√ 2 n x n \surd \sqrt{2} \sqrt[n]{} \sqrt[n]{x} √2 n nx
\quad\surd\quad\sqrt{2}\quad\sqrt[n]{}\quad\sqrt[n]{x}
+ − ± ∓ ∔ + - \pm \mp \dotplus +−±∓∔
\quad+\quad-\quad\pm\quad\mp\quad\dotplus
× ÷ ⋇ / \ \times \div \divideontimes / \backslash ×÷⋇/\
\quad\times\quad\div\quad\divideontimes\quad/\quad\backslash
⋅ ∗ ⋆ ∘ ∙ \cdot * \star \circ \bullet ⋅∗⋆∘∙
ps:可以用\ast代替。
\quad\cdot\quad\quad\star\quad\circ\quad\bullet
⊞ ⊟ ⊠ ⊡ \boxplus \boxminus \boxtimes \boxdot ⊞⊟⊠⊡
\quad\boxplus\quad\boxminus\quad\boxtimes\quad\boxdot
⊕ ⊖ ⊗ ⊘ ⊙ \oplus \ominus \otimes \oslash \odot ⊕⊖⊗⊘⊙
\quad\oplus\quad\ominus\quad\otimes\quad\oslash\quad\odot
⊝ ⊚ ⊛ \circleddash \circledcirc \circledast ⊝⊚⊛
\quad\circleddash\quad\circledcirc\quad\circledast
⨁ ⨂ ⨀ \bigoplus \bigotimes \bigodot ⨁⨂⨀
\quad\bigoplus\quad\bigotimes\quad\bigodot
{ } ∅ ∅ \{ \} \emptyset \varnothing {}∅∅
\quad{\quad}\quad\emptyset\quad\varnothing{}
∈ ∉ ∉ ∋ ∌ \in \notin \not\in \ni \not\ni ∈∈/∈∋∋
ps:\not是在下一个字符上画斜杠。
\quad\in\quad\notin\quad\not\in\quad\ni\quad\not\ni
∩ ⋒ ⊓ ⋂ \cap \Cap \sqcap \bigcap ∩⋒⊓⋂
\quad\cap\quad\Cap\quad\sqcap\quad\bigcap
∪ ⋓ ⊔ ⋃ ⨆ ⊎ ⨄ \cup \Cup \sqcup \bigcup \bigsqcup \uplus \biguplus ∪⋓⊔⋃⨆⊎⨄
\quad\cup\quad\Cup\quad\sqcup\quad\bigcup\quad\bigsqcup\quad\uplus\quad\biguplus
∖ ∖ × \setminus \smallsetminus \times ∖∖×
\quad\setminus\quad\smallsetminus\quad\times
⊂ ⋐ ⊏ \subset \Subset \sqsubset ⊂⋐⊏
\quad\subset\quad\Subset\quad\sqsubset
⊃ ⋑ ⊐ \supset \Supset \sqsupset ⊃⋑⊐
\quad\supset\quad\Supset\quad\sqsupset
⊆ ⊈ ⊊ ⊊ ⊑ \subseteq \nsubseteq \subsetneq \varsubsetneq \sqsubseteq ⊆⊈⊊⊑
\quad\subseteq\quad\nsubseteq\quad\subsetneq\quad\varsubsetneq\quad\sqsubseteq
⊇ ⊉ ⊋ ⊋ ⊒ \supseteq \nsupseteq \supsetneq \varsupsetneq \sqsupseteq ⊇⊉⊋⊒
\quad\supseteq\quad\nsupseteq\quad\supsetneq\quad\varsupsetneq\quad\sqsupseteq
⫅ ⊈ ⫋ ⫋ \subseteqq \nsubseteqq \subsetneqq \varsubsetneqq ⫅⫋
\quad\subseteqq\quad\nsubseteqq\quad\subsetneqq\quad\varsubsetneqq
⫆ ⊉ ⫌ ⫌ \supseteqq \nsupseteqq \supsetneqq \varsupsetneqq ⫆⫌
\quad\supseteqq\quad\nsupseteqq\quad\supsetneqq\quad\varsupsetneqq
= ≠ ≠ ≡ ≢ = \ne \neq \equiv \not\equiv ===≡≡
ps:表示并没有看出来\ne和\neq的区别……
\quad=\quad\ne\quad\neq\quad\equiv\quad\not\equiv
≐ ≑ = d e f : = \doteq \doteqdot \overset{\underset{def}{}}{=} := ≐≑=def:=
∼ ≁ ∽ ∼ ≃ ⋍ ≂ ≅ ≆ \sim \nsim \backsim \thicksim \simeq \backsimeq \eqsim \cong \ncong ∼≁∽∼≃⋍≂≅≆
\quad\sim\quad\nsim\quad\backsim\quad\thicksim\quad\simeq\quad\backsimeq\quad\eqsim\quad\cong\quad\ncong
≈ ≈ ≊ ≍ ∝ ∝ \approx \thickapprox \approxeq \asymp \propto \varpropto ≈≈≊≍∝∝
\quad\approx\quad\thickapprox\quad\approxeq\quad\asymp\quad\propto\quad\varpropto
< ≮ ≪ ≪̸ ⋘ ⋘̸ ⋖ < \nless \ll \not\ll \lll \not\lll \lessdot <≮≪≪⋘⋘⋖
\quad<\quad\nless\quad\ll\quad \not\ll\quad\lll\quad \not\lll\quad\lessdot
> ≯ ≫ ≫̸ ⋙ ⋙̸ ⋗ > \ngtr \gg \not\gg \ggg \not\ggg \gtrdot >≯≫≫⋙⋙⋗
\quad>\quad\ngtr\quad\gg\quad \not\gg\quad\ggg\quad \not\ggg\quad\gtrdot
≤ ≤ ⪇ ≦ ≰ ≰ ≨ ≨ \le \leq \lneq \leqq \nleq \nleqq \lneqq \lvertneqq ≤≤⪇≦≰≨
\quad\le\quad\leq\quad\lneq\quad\leqq\quad\nleq\quad\nleqq\quad\lneqq\quad\lvertneqq
≥ ≥ ⪈ ≧ ≱ ≱ ≩ ≩ \ge \geq \gneq \geqq \ngeq \ngeqq \gneqq \gvertneqq ≥≥⪈≧≱≩
\quad\ge\quad\geq\quad\gneq\quad\geqq\quad\ngeq\quad\ngeqq\quad\gneqq\quad\gvertneqq
≶ ⋚ ⪋ ≷ ⋛ ⪌ \lessgtr \lesseqgtr \lesseqqgtr \gtrless \gtreqless \gtreqqless ≶⋚⪋≷⋛⪌
\quad\lessgtr\quad\lesseqgtr\quad\lesseqqgtr\quad\gtrless\quad\gtreqless\quad\gtreqqless
⩽ ≰ ⪕ \leqslant \nleqslant \eqslantless ⩽⪕
\quad\leqslant\quad\nleqslant\quad\eqslantless
⩾ ≱ ⪖ \geqslant \ngeqslant \eqslantgtr ⩾⪖
\quad\geqslant\quad\ngeqslant\quad\eqslantgtr
≲ ⋦ ⪅ ⪉ \lesssim \lnsim \lessapprox \lnapprox ≲⋦⪅⪉
\quad\lesssim\quad\lnsim\quad\lessapprox\quad\lnapprox
≳ ⋧ ⪆ ⪊ \gtrsim \gnsim \gtrapprox \gnapprox ≳⋧⪆⪊
\quad\gtrsim\quad\gnsim\quad\gtrapprox\quad\gnapprox
≺ ⊀ ⪯ ⋠ ⪵ \prec \nprec \preceq \npreceq \precneqq ≺⊀⪯⋠⪵
\quad\prec\quad\nprec\quad\preceq\quad\npreceq\quad\precneqq
≻ ⊁ ⪰ ⋡ ⪶ \succ \nsucc \succeq \nsucceq \succneqq ≻⊁⪰⋡⪶
\quad\succ\quad\nsucc\quad\succeq\quad\nsucceq\quad\succneqq
≼ ⋞ \preccurlyeq \curlyeqprec ≼⋞
\quad\preccurlyeq\quad\curlyeqprec
≽ ⋟ \succcurlyeq \curlyeqsucc ≽⋟
\quad\succcurlyeq\quad\curlyeqsucc
≾ ⋨ ⪷ ⪹ \precsim \precnsim \precapprox \precnapprox ≾⋨⪷⪹
\quad\precsim\quad\precnsim\quad\precapprox\quad\precnapprox
≿ ⋩ ⪸ ⪺ \succsim \succnsim \succapprox \succnapprox ≿⋩⪸⪺
\quad\succsim\quad\succnsim\quad\succapprox\quad\succnapprox
∥ ∦ ∥ ∦ \parallel \nparallel \shortparallel \nshortparallel ∥∦∥
ps:\parallel应该和|是一样的。
\quad\parallel\quad\nparallel\quad\shortparallel\quad\nshortparallel
⊥ ∠ ∢ ∡ 4 5 ∘ \perp \angle \sphericalangle \measuredangle 45^\circ ⊥∠∢∡45∘
\quad\perp\quad\angle\quad\sphericalangle\quad\measuredangle\quad45^\circ
□ ■ ⋄ ◊ ◊ ⧫ ★ \Box \blacksquare \diamond \Diamond \lozenge \blacklozenge \bigstar □■⋄◊◊⧫★
\quad\Box\quad\blacksquare\quad\diamond\quad\Diamond\quad\lozenge\quad\blacklozenge\quad\bigs
◯ △ △ ▽ \bigcirc \triangle \bigtriangleup \bigtriangledown ◯△△▽
ps:并没有看出\triangle和\bigtriangleup有什么区别。
\quad\bigcirc\quad\triangle\quad\bigtriangleup\quad\bigtriangledown
△ ▽ ◃ ▹ \vartriangle \triangledown \triangleleft \triangleright △▽◃▹
\quad\vartriangle\quad\triangledown\quad\triangleleft\quad\triangleright
▲ ▼ ◀ ▶ \blacktriangle \blacktriangledown \blacktriangleleft \blacktriangleright ▲▼◀▶
\quad\blacktriangle\quad\blacktriangledown\quad\blacktriangleleft\quad\blacktriangleright
∀ ∃ ∄ \forall \exists \nexists ∀∃∄
\quad\forall\quad\exists\quad\nexists
∴ ∵ & \therefore \because \And ∴∵&
ps:\And也可用&,至少我没看出来这两个有什么差别。
\quad\therefore\quad\because\quad\And
∨ ∨ ⋎ ⋁ \lor \vee \curlyvee \bigvee ∨∨⋎⋁
\quad\lor\quad\vee\quad\curlyvee\quad\bigvee
∧ ∧ ⋏ ⋀ \land \wedge \curlywedge \bigwedge ∧∧⋏⋀
\quad\land\quad\wedge\quad\curlywedge\quad\bigwedge
q ˉ a b c ˉ q ‾ a b c ‾ \bar{q} \bar{abc} \overline{q} \overline{abc} qˉabcˉqabc
\quad\bar{q}\quad\bar{abc}\quad\overline{q}\quad\overline{abc}
¬ ¬ ⊥ ⊤ \lnot \neg \bot \top ¬¬⊥⊤
\quad\lnot\quad\neg\quad\bot\quad\top
⊢ ⊣ ⊨ ⊩ ⊨ \vdash \dashv \vDash \Vdash \models ⊢⊣⊨⊩⊨
\quad\vdash\quad\dashv\quad\vDash\quad\Vdash\quad\models
⊪ ⊬ ⊮ ⊭ ⊯ \Vvdash \nvdash \nVdash \nvDash \nVDash ⊪⊬⊮⊭⊯
\quad\Vvdash\quad\nvdash\quad\nVdash\quad\nvDash\quad\nVDash
┌ ┐ └ ┘ \ulcorner \urcorner \llcorner \lrcorner ┌┐└┘
\quad\ulcorner\quad\urcorner\quad\llcorner\quad\lrcorner
⇛ ⇚ \Rrightarrow \Lleftarrow ⇛⇚
\quad\Rrightarrow\quad\Lleftarrow
⇒ ⇏ ⟹ ⟹ \Rightarrow \nRightarrow \Longrightarrow \implies ⇒⇏⟹⟹
\quad\Rightarrow\quad\nRightarrow\quad\Longrightarrow\quad\implies
⇐ ⇍ ⟸ \Leftarrow \nLeftarrow \Longleftarrow ⇐⇍⟸
\quad\Leftarrow\quad\nLeftarrow\quad\Longleftarrow
⇔ ⇎ ⟺ ⟺ \Leftrightarrow \nLeftrightarrow \Longleftrightarrow \iff ⇔⇎⟺⟺
\quad\Leftrightarrow\quad\nLeftrightarrow\quad\Longleftrightarrow\quad\iff
⇑ ⇓ ⇕ \Uparrow \Downarrow \Updownarrow ⇑⇓⇕
\quad\Uparrow\quad\Downarrow\quad\Updownarrow
← → ↚ ↛ ↔ ↮ ⟵ ⟶ ⟷ \leftarrow \rightarrow \nleftarrow \nrightarrow \leftrightarrow \nleftrightarrow \longleftarrow \longrightarrow \longleftrightarrow ←→↚↛↔↮⟵⟶⟷
ps:\leftarrow可用\gets代替,\rightarrow可用\to代替。
\quad\leftarrow\quad\rightarrow\quad\nleftarrow\quad\nrightarrow\quad\leftrightarrow\quad\nleftrightarrow\quad\longleftarrow\quad\longrightarrow\quad\longleftrightarrow
↑ ↓ ↕ ↗ ↘ ↖ ↙ \uparrow \downarrow \updownarrow \nearrow \searrow \nwarrow \swarrow ↑↓↕↗↘↖↙
\quad\uparrow\quad\downarrow\quad\updownarrow\quad\nearrow\quad\searrow\quad\nwarrow\quad\swarrow
↦ ⟼ \mapsto \longmapsto ↦⟼
\quad\mapsto\quad\longmapsto
⇀ ⇁ ↼ ↽ ↿ ↾ ⇃ ⇂ ⇋ ⇌ \rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft \upharpoonright \downharpoonleft \downharpoonright \leftrightharpoons \rightleftharpoons ⇀⇁↼↽↿↾⇃⇂⇋⇌
\quad\rightharpoonup\quad\rightharpoondown\quad\leftharpoonup\quad\leftharpoondown\quad\upharpoonleft\quad\upharpoonright\quad\downharpoonleft\quad\downharpoonright\quad\leftrightharpoons\quad\rightleftharpoons
↶ ↺ ↰ ⇈ ⇉ ⇄ ↣ ↬ \curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \rightarrowtail \looparrowright ↶↺↰⇈⇉⇄↣↬
\quad\curvearrowleft\quad\circlearrowleft\quad\Lsh\quad\upuparrows\quad\rightrightarrows\quad\rightleftarrows\quad\rightarrowtail\quad\looparrowright
↷ ↻ ↱ ⇊ ⇇ ⇆ ↢ ↫ \curvearrowright \circlearrowright \Rsh \downdownarrows \leftleftarrows \leftrightarrows \leftarrowtail \looparrowleft ↷↻↱⇊⇇⇆↢↫
\quad\curvearrowright\quad\circlearrowright\quad\Rsh\quad\downdownarrows\quad\leftleftarrows\quad\leftrightarrows\quad\leftarrowtail\quad\looparrowleft
↪ ↩ ⊸ ↭ ⇝ ↠ ↞ \hookrightarrow \hookleftarrow \multimap \leftrightsquigarrow \rightsquigarrow \twoheadrightarrow \twoheadleftarrow ↪↩⊸↭⇝↠↞
\quad\hookrightarrow\quad\hookleftarrow\quad\multimap\quad\leftrightsquigarrow\quad\rightsquigarrow\quad\twoheadrightarrow\quad\twoheadleftarrow
← l e f t → r i g h t ⇐ L e f t ⇒ R i g h t ↔ l e f t & r i g h t ⇔ L e f t & R i g h t \xleftarrow{left} \xrightarrow{right} \xLeftarrow{Left} \xRightarrow{Right} \xleftrightarrow{left\& right} \xLeftrightarrow{Left\& Right} left right Left Right left&right Left&Right
\quad\xleftarrow{left}\quad \xrightarrow{right} \quad \xLeftarrow{Left} \quad \xRightarrow{Right} \quad \xleftrightarrow{left& right} \quad \xLeftrightarrow{Left& Right}
⨿ % † ‡ … ⋯ \amalg \% \dagger \ddagger \ldots \cdots ⨿%†‡…⋯
ps:\dots和\ldots貌似是一样的。
\quad\amalg\quad%\quad\dagger\quad\ddagger\quad\ldots\quad\cdots
⌣ ⌢ ≀ \smile \frown \wr ⌣⌢≀
\quad\smile\quad\frown\quad\wr
♢ ♡ ♣ ♠ ⅁ ♭ ♮ ♯ \diamondsuit \heartsuit \clubsuit \spadesuit \Game \flat \natural \sharp ♢♡♣♠⅁♭♮♯
\quad\diamondsuit\quad\heartsuit\quad\clubsuit\quad\spadesuit\quad\Game\quad\flat\quad\natural\quad\sharp
╱ ╲ ⋅ ⋉ ⋊ ⋋ ⋌ \diagup \diagdown \centerdot \ltimes \rtimes \leftthreetimes \rightthreetimes ╱╲⋅⋉⋊⋋⋌
\quad\diagup\quad\diagdown\quad\centerdot\quad\ltimes\quad\rtimes\quad\leftthreetimes\quad\rightthreetimes
≖ ≗ ≜ ≏ ≎ ≑ ≓ ≒ \eqcirc \circeq \triangleq \bumpeq \Bumpeq \doteqdot \risingdotseq \fallingdotseq ≖≗≜≏≎≑≓≒
\quad\eqcirc\quad\circeq\quad\triangleq\quad\bumpeq\quad\Bumpeq\quad\doteqdot\quad\risingdotseq\quad\fallingdotseq
⊺ ⊼ ⊻ ⩞ ≬ ⋔ \intercal \barwedge \veebar \doublebarwedge \between \pitchfork ⊺⊼⊻⩞≬⋔
\quad\intercal\quad\barwedge\quad\veebar\quad\doublebarwedge\quad\between\quad\pitchfork
⊲ ⋪ ⊳ ⋫ \vartriangleleft \ntriangleleft \vartriangleright \ntriangleright ⊲⋪⊳⋫
\quad\vartriangleleft\quad\ntriangleleft\quad\vartriangleright\quad\ntriangleright
⊴ ⋬ ⊵ ⋭ \trianglelefteq \ntrianglelefteq \trianglerighteq \ntrianglerighteq ⊴⋬⊵⋭
\quad\trianglelefteq\quad\ntrianglelefteq\quad\trianglerighteq\quad\ntrianglerighteq
LaTeX \LaTeX LATEX
ps:应评论要求加上,其实介于阅读体验还是少用些。
\quad\LaTeX
a 2 a^2 a2
\quad a^2a
a 2 a_2 a2
\quad a_2a
a 2 + 2 a i , j a^{2+2} a_{i,j} a2+2ai,j
\quad a^{2+2}\quad a_{i,j}a
a 2 2 a^2_2 a22
\quad a^2_2a
1 2 X 4 3 {}^2_1\!X^3_4 12X43
ps:!的作用在下面空格一栏有讲述。
\quad {}2_1!X3_4
x ′ x ′ x ′ x \quad x'\quad x^\prime \quad x \quad\prime x x′x′x′x
\quad x’\quad x^\prime\quad x\primex
x ˙ x ¨ \dot{x} \ddot{x} x˙x¨
\quad\dot{x}\quad\ddot{x}
x ⃗ A B ← A B → A B ^ \vec{x} \overleftarrow{AB} \overrightarrow{AB} \widehat{AB} x AB AB AB
\quad\vec{a}\quad\overleftarrow{AB}\quad\overrightarrow{AB}\quad\widehat{AB}
A B ⌢ \overset{\frown}{AB} AB⌢
ps:正确的语法应该是\overarc,但因为没有引入amsmath宏包,所以无法使用,只能用这个替代下。
\quad\overset{\frown}{AB}
A B C ‾ \overline{ABC} ABC
\quad\overline{ABC}
A B C ‾ \underline{ABC} ABC
\quad\underline{ABC}
1 + 2 + ⋯ + 100 ⏞ \overbrace{1+2+\cdots+100} 1+2+⋯+100
5050 1 + 2 + ⋯ + 100 ⏞
50501+2+⋯+100 50501+2+⋯+100
ps:’\'是换行的意思。
\quad\overbrace{1+2+\cdots+100}
\quad5050overbrace1+2+⋯+100
1 + 2 + ⋯ + 100 ⏟ \underbrace{1+2+\cdots+100} 1+2+⋯+100
1 + 2 + ⋯ + 100 ⏟ 5050
1+2+⋯+10050501+2+⋯+1005050
\quad\underbrace{1+2+\cdots+100}
\quad1+2+⋯+100\5050
∑ i = 1 n a i ∑ i = 1 n a i \sum_{i=1}^na_i \sum\limits_{i=1}^na_i ∑i=1naii=1∑nai
\quad\sum_{i=1}na_i\quad\sum\limits_{i=1}na_i
∏ i = 1 n a i ∏ i = 1 n a i \prod_{i=1}^na_i \prod\limits_{i=1}^na_i ∏i=1naii=1∏nai
\quad\prod_{i=1}na_i\quad\prod\limits_{i=1}na_i
∐
i
=
1
n
a
i
∐
i
=
1
n
a
i
\coprod_{i=1}^na_i \coprod\limits_{i=1}^na_i
∐i=1naii=1∐nai
\quad\coprod_{i=1}na_i\quad\coprod\limits_{i=1}na_i
lim n → ∞ x n lim n → ∞ x n \lim_{n\to\infty}x_n \lim\limits_{n\to\infty}x_n limn→∞xnn→∞limxn
\quad\lim_{n\to\infty}x_n\quad\lim\limits_{n\to\infty}x_nlim
∫ − N N e x d x \int_{-N}^{N}e^x\,dx ∫−NNexdx
ps:,的作用在下面空格一栏有讲。
\quad\int_{-N}{N}ex,dx
∬ M N d x d y \iint_M^Ndx\,dy ∬MNdxdy
\quad\iint_M^Ndx,dy
∭ M N d x d y d z \iiint_M^Ndx\,dy\,dz ∭MNdxdydz
\quad\iiint_M^Ndx,dy,dz
∮ C x 3 d x + 4 y 2 d y \oint_Cx^3\,dx+4y^2\,dy ∮Cx3dx+4y2dy
\quad\oint_Cx3,dx+4y2,dy
⋂ 1 n p ⋂ 1 n p \bigcap_1^np \bigcap\limits_1^np ⋂1np1⋂np
\quad\bigcap_1np\quad\bigcap\limits_1np
⋃ 1 n p ⋃ 1 n p \bigcup_1^np \bigcup\limits_1^np ⋃1np1⋃np
\quad\bigcup_1np\quad\bigcup\limits_1np
1 2 = 0.5 \frac{1}{2}=0.5 21=0.5
\quad\frac{1}{2}=0.5
1 2 = 0.5 \tfrac{1}{2}=0.5 21=0.5
ps:并不清楚为什么洛谷的LaTeX里普通分数和小型分数一样大……
\quad\tfrac{1}{2}=0.5
1 2 = 0.5 1 x + 3 y + 1 5 \dfrac{1}{2}=0.5 \dfrac{1}{x+\dfrac{3}{y+\dfrac{1}{5}}} 21=0.5x+y+5131
\quad\dfrac{1}{2}=0.5\qquad\dfrac{1}{x+\dfrac{3}{y+\dfrac{1}{5}}
( n m ) = ( n n − m ) = C n m = C n n − m \dbinom{n}{m}=\dbinom{n}{n-m}=C_n^m=C_n^{n-m} (mn)=(n−mn)=Cnm=Cnn−m
\quad\dbinom{n}{m}=\dbinom{n}{n-m}=C_nm=C_n{n-m}
( n m ) = ( n n − m ) = C n m = C n n − m \tbinom{n}{m}=\tbinom{n}{n-m}=C_n^m=C_n^{n-m} (mn)=(n−mn)=Cnm=Cnn−m
\quad\tbinom{n}{m}=\tbinom{n}{n-m}=C_nm=C_n{n-m}
( n m ) = ( n n − m ) = C n m = C n n − m \binom{n}{m}=\binom{n}{n-m}=C_n^m=C_n^{n-m} (mn)=(n−mn)=Cnm=Cnn−m
\quad\binom{n}{m}=\binom{n}{n-m}=C_nm=C_n{n-m}(
a b c d
acbdacbd
ps:&是使上下行对齐。
\quadab\cd
∣ a b c d ∣
∣∣∣∣acbd∣∣∣∣∣∣∣acbd∣∣∣
\quad|ab\cd|
∥ a b c d ∥
∥∥∥∥acbd∥∥∥∥∥∥∥acbd∥∥∥
\quad∥ab\cd∥
[ a ⋯ b ⋮ ⋱ ⋮ c ⋯ d ]
⎣⎢⎡a⋮c⋯⋱⋯b⋮d⎦⎥⎤⎡⎣⎢⎢a⋮c⋯⋱⋯b⋮d⎤⎦⎥⎥
ps:\vdots是竖着3个点,\ddots是斜着3个点。
\quad[avdots⋯⋱b⋮\c⋯d]
{ a c b d }
{abcd}{abcd}
\quad{ac\bd}
( a c b d )
(abcd)(abcd)
\quad(ac\bd)
∣ { A c d } x 1 2 1 2 3 4 ∣
∣∣∣∣∣∣∣∣{Acd}21x1324∣∣∣∣∣∣∣∣∣∣∣∣∣∣{Acd}12x1324∣∣∣∣∣∣
\quad∣∣∣{A cd}x 1212 34∣∣∣
f ( x ) = { x − 1 x ⩽ 3 x 2 + 3 x − 1 x > 3 f(x)=
f(x)={x−1x2+3x−1x⩽3x>3{x−1x2+3x−1x⩽3x>3
\quad f(x)={x−1x⩽3\x2+3x−1x>3
{ 2 x + 9 y − 5 z = 10 4 x + 20 y + z = 24 x − 1 2 y + 3 z = 8
⎩⎪⎪⎨⎪⎪⎧2x+9y−5z=104x+20y+z=24x−21y+3z=8⎧⎩⎨⎪⎪⎪⎪2x+9y−5z=104x+20y+z=24x−12y+3z=8
\quad{2x+9y−5z=10\4x+20y+z=24\x−12y+3z=8
f ( x ) = ( x + 1 ) 2 = x 2 + 2 x + 1
f(x)=(x+1)2=x2+2x+1f(x)=(x+1)2=x2+2x+1
a 1 = 1 a 2 = 2 … a n = na1a2an=1=2…=na1a2an=1=2…=n
ps:原语法为align,现在是aligned。
\quad\qquadf(x)=(x+1)2 =x2+2x+1 a1=1 a2=2 … an=n
x y z 8 2 4 2 3 9 10 3 4 3 a b c
x8210ay2343bz493 cx8210ay2334bz493–√c
ps:\begin{array}{}←这个大括号里是形如’|c|c||c|‘这样的格式,’|'是两列的分割线,‘c’是表示这里有一列,而内容中使用’&'来分开每一列的内容。这里可能讲的不是很清楚,所以最好还是自己尝试一下。 \quad\begin{array}{|c|c||c|}x&y&z\8&2&4\2&3&9\10&\dfrac{3}{4}&\sqrt{3}\a&b&c\end{array}
貌似洛谷对一些希腊字母不支持,也许是因为像英文字母,所以我这里只好用英文字母代替了。
A B Γ Δ E Z H Θ A B\Gamma\Delta EZH\Theta ABΓΔEZHΘ
\quad A B\Gamma\Delta EZH\Theta
I K Λ M N Ξ O Π IK\Lambda MN\Xi O\Pi IKΛMNΞOΠ
\quad IK\Lambda MN\Xi O\Pi
P Σ T Υ Φ X Ψ Ω P\Sigma T\Upsilon\Phi X\Psi\Omega PΣTΥΦXΨΩ
\quad P\Sigma T\Upsilon\Phi X\Psi\Omega
α β γ δ ϵ ζ η θ \alpha\beta\gamma\delta\epsilon\zeta\eta\theta αβγδϵζηθ
\quad\alpha\beta\gamma\delta\epsilon\zeta\eta\thetaα
ι κ λ μ ν ξ ο π \iota\kappa\lambda\mu\nu\xi\omicron\pi ικλμνξοπ
\quad\iota\kappa\lambda\mu\nu\xi\omicron\pi
ρ σ τ υ ϕ χ ψ ω \rho\sigma\tau\upsilon\phi\chi\psi\omega ρστυϕχψω
\quad\rho\sigma\tau\upsilon\phi\chi\psi\omega
ε ϝ ϰ ϖ \varepsilon\digamma\varkappa\varpi εϝϰϖ
\quad\varepsilon\digamma\varkappa\varpi
ϱ ς ϑ φ \varrho\varsigma\vartheta\varphi ϱςϑφ
\quad\varrho\varsigma\vartheta\varphi
ℵ ℶ ℷ ℸ \aleph\beth\gimel\daleth ℵℶℷℸ
\quad\aleph\beth\gimel\daleth
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ} ABCDEFGHIJKLMNOPQRSTUVWXYZ
ps:仅支持大写英文字母。
\quad\mathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}ABCDEFGHIJKLMNOPQRSTUVWXYZ}
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ} ABCDEFGHIJKLMNOPQRSTUVWXYZ
a b c d e f g h i j k l m n o p q r s t u v w x y z \mathbf{abcdefghijklmnopqrstuvwxyz} abcdefghijklmnopqrstuvwxyz
0123456789 \mathbf{0123456789} 0123456789
ps:支持大小写英文字母、数字和大写希腊字母。
\quad\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\quad\mathbf{abcdefghijklmnopqrstuvwxyz}
\quad\mathbf{A B\Gamma\Delta EZH\Theta}
\quad\mathbf{IK\Lambda MN\Xi O\Pi}
\quad\mathbf{P\Sigma T\Upsilon\Phi X\Psi\Omega}
\quad\mathbf{0123456789}
A B Γ Δ E Z H Θ \mathit{A B\Gamma\Delta EZH\Theta} ABΓΔEZHΘ
I K Λ M N Ξ O Π \mathit{IK\Lambda MN\Xi O\Pi} IKΛMNΞOΠ
P Σ T Υ Φ X Ψ Ω \mathit{P\Sigma T\Upsilon\Phi X\Psi\Omega} PΣTΥΦXΨΩ
0123456789 \mathit{0123456789} 0123456789
\quad\mathit{A B\Gamma\Delta EZH\Theta}
\quad\mathit{IK\Lambda MN\Xi O\Pi}
\quad\mathit{P\Sigma T\Upsilon\Phi X\Psi\Omega}
\quad\mathit{0123456789}
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ} ABCDEFGHIJKLMNOPQRSTUVWXYZ
a b c d e f g h i j k l m n o p q r s t u v w x y z \mathrm{abcdefghijklmnopqrstuvwxyz} abcdefghijklmnopqrstuvwxyz
0123456789 \mathrm{0123456789} 0123456789
ps:支持大小写英文字母和数字。
\quad\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\quad\mathrm{abcdefghijklmnopqrstuvwxyz}
\quad\mathrm{0123456789}
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \mathtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ} ABCDEFGHIJKLMNOPQRSTUVWXYZ
a b c d e f g h i j k l m n o p q r s t u v w x y z \mathtt{abcdefghijklmnopqrstuvwxyz} abcdefghijklmnopqrstuvwxyz
A B Γ Δ E Z H Θ \mathtt{A B\Gamma\Delta EZH\Theta} ABΓΔEZHΘ
I K Λ M N Ξ O Π \mathtt{IK\Lambda MN\Xi O\Pi} IKΛMNΞOΠ
P Σ T Υ Φ X Ψ Ω \mathtt{P\Sigma T\Upsilon\Phi X\Psi\Omega} PΣTΥΦXΨΩ
0123456789 \mathtt{0123456789} 0123456789
ps:支持大小写英文字母、大写希腊字母和数字。
\quad \mathtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\quad \mathtt{abcdefghijklmnopqrstuvwxyz}
\quad \mathtt{A B\Gamma\Delta EZH\Theta}
\quad \mathtt{IK\Lambda MN\Xi O\Pi}
\quad \mathtt{P\Sigma T\Upsilon\Phi X\Psi\Omega}
\quad \mathtt{0123456789}
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZ} ABCDEFGHIJKLMNOPQRSTUVWXYZ
a b c d e f g h i j k l m n o p q r s t u v w x y z \mathsf{abcdefghijklmnopqrstuvwxyz} abcdefghijklmnopqrstuvwxyz
A B Γ Δ E Z H Θ \mathsf{A B\Gamma\Delta EZH\Theta} ABΓΔEZHΘ
I K Λ M N Ξ O Π \mathsf{IK\Lambda MN\Xi O\Pi} IKΛMNΞOΠ
P Σ T Υ Φ X Ψ Ω \mathsf{P\Sigma T\Upsilon\Phi X\Psi\Omega} PΣTΥΦXΨΩ
0123456789 \mathsf{0123456789} 0123456789
ps:支持大小写英文字母、大写希腊字母和数字。
\quad\mathsf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\quad\mathsf{abcdefghijklmnopqrstuvwxyz}
\quad\mathsf{A B\Gamma\Delta EZH\Theta}
\quad\mathsf{IK\Lambda MN\Xi O\Pi}
\quad\mathsf{P\Sigma T\Upsilon\Phi X\Psi\Omega}
\quad\mathsf{0123456789}
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ} ABCDEFGHIJKLMNOPQRSTUVWXYZ
0123456789 \mathcal{0123456789} 0123456789
ps:支持大写英文字母和数字。
\quad\mathcal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\quad\mathcal{0123456789}
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z \mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ} ABCDEFGHIJKLMNOPQRSTUVWXYZ
a b c d e f g h i j k l m n o p q r s t u v w x y z \mathfrak{abcdefghijklmnopqrstuvwxyz} abcdefghijklmnopqrstuvwxyz
0123456789 \mathfrak{0123456789} 0123456789
ps:支持大小写英文字母和数字。
\quad\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\quad\mathfrak{abcdefghijklmnopqrstuvwxyz}
\quad\mathfrak{0123456789}
ABCDEFGHIJKLMNOPQRSTUVWXYZ \scriptstyle\text{ABCDEFGHIJKLMNOPQRSTUVWXYZ} ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz \scriptstyle\text{abcdefghijklmnopqrstuvwxyz} abcdefghijklmnopqrstuvwxyz
0123456789 \scriptstyle\text{0123456789} 0123456789
ps:支持大小写英文字母和数字,\text见下一栏。
\quad\scriptstyle\text{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\quad\scriptstyle\text{abcdefghijklmnopqrstuvwxyz}
\quad\scriptstyle\text{0123456789}
x y z x y z xyz
ps:忽略公式源码中的空格,要强制空格的看下面空格一栏。
\quad x y z
x y z中文 \text{x y z} \text{中文} x y z中文
ps:不会忽略空格,支持大小写英文字母和数字,以及中文。
\quad\text{x y z}\quad\text{中文}
if n is even \text{if }n\text{ is even} if n is even
ps:注意在\text中使用空格来显得更好看,或者可以用强制空格代替。
\quad\text{if }n\text{ is even}
( 1 2 ) ( 1 x + 2 3 ) (\dfrac{1}{2}) (\dfrac{1}{x+\dfrac{2}{3}}) (21)(x+321)
ps:对于较大的式子显得比较难看。
\quad(\dfrac{1}{2})\qquad(\dfrac{1}{x+\dfrac{2}{3}}
( 1 2 ) ( 1 x + 2 3 ) \left(\dfrac{1}{2}\right) \left(\dfrac{1}{x+\dfrac{2}{3}}\right) (21)⎝⎜⎛x+321⎠⎟⎞
\quad\left(\dfrac{1}{2}\right)\qquad\left(\dfrac{1}{x+\dfrac{2}{3}}\right)
( 1 2 ) \left(\dfrac{1}{2}\right) (21)
\quad\left(\dfrac{1}{2}\right)(
[ 1 2 ] \left[\dfrac{1}{2}\right] [21]
\quad\left[\dfrac{1}{2}\right]
{ 1 2 } \left\{\dfrac{1}{2}\right\} {21}
ps:注意大括号要用{和}。
\quad\left{\dfrac{1}{2}\right}
⟨ 1 2 ⟩ \left\langle\dfrac{1}{2}\right\rangle ⟨21⟩
ps:\langle可以用<,\rangle可以用>。
\quad\left\langle\dfrac{1}{2}\right\rangle
∣ 1 2 ∣ \left|\dfrac{1}{2}\right| ∣∣∣∣21∣∣∣∣
\quad\left|\dfrac{1}{2}\right|
∥ 1 2 ∥ \left\|\dfrac{1}{2}\right\| ∥∥∥∥21∥∥∥∥
\quad\left|\dfrac{1}{2}\right|
⌊ 1 2 ⌋ \left\lfloor\dfrac{1}{2}\right\rfloor ⌊21⌋
\quad\left\lfloor\dfrac{1}{2}\right\rfloor⌊
⌈ 1 2 ⌉ \left\lceil\dfrac{1}{2}\right\rceil ⌈21⌉
\quad\left\lceil\dfrac{1}{2}\right\rceil⌈
/ 1 2 / \left/\dfrac{1}{2}\right/ /21/
\quad\left/\dfrac{1}{2}\right/
\ 1 2 \ \left\backslash\dfrac{1}{2}\right\backslash \21\
\quad\left\backslash\dfrac{1}{2}\right\backslash\
↑ 1 2 ↑ \left\uparrow\dfrac{1}{2}\right\uparrow ⏐⏐⏐↑21⏐⏐⏐↑
\quad\left\uparrow\dfrac{1}{2}\right\uparrow
⇓ 1 2 ⇓ \left\Downarrow\dfrac{1}{2}\right\Downarrow ⇓‖‖‖21⇓‖‖‖
\quad\left\Downarrow\dfrac{1}{2}\right\Downarrow
↕ 1 2 ↕ \left\updownarrow\dfrac{1}{2}\right\updownarrow ↓⏐⏐↑21↓⏐⏐↑
\quad\left\updownarrow\dfrac{1}{2}\right\updownarrow
< 1 2 / \left<\dfrac{1}{2}\right/ ⟨21/
\quad\left<\dfrac{1}{2}\right/
( 1 2 , 1 ] \left(\dfrac{1}{2},1\right] (21,1]
\quad\left(\dfrac{1}{2},1\right](
( 1 2 \left(\dfrac{1}{2}\right. (21
\quad\left(\dfrac{1}{2}\right.
1 2 ] \left.\dfrac{1}{2}\right] 21]
\quad\left.\dfrac{1}{2}\right]
( [ { < x > } ] ) \Bigg(\bigg[\Big\{\big<x\big>\Big\}\bigg]\Bigg) ([{⟨x⟩}])
ps:即使用\Bigg、\bigg、\Big、\big来控制括号大小。
\quad\Bigg(\bigg[\Big{\big<x\big>\Big}\bigg]\Bigg)
x y x\!y xy
\quad x!y
宽度为-\frac{m}{6}
x y xy xy
\quad xy
宽度为0
x y x\,y xy
\quad x,y
宽度为\frac{m}
x y x\;y xy
\quad x;y
宽度为\frac{2m}
x y x\ y x y
\quad x\ y
宽度为\frac{m}
x y x\quad y xy
\quad x\quad y
宽度为m
x y x\qquad y xy
\quad x\qquad y
宽度为2m
字体颜色:{\color{色调}表达式}
背景颜色:{\color{文字色调}\colorbox{背景色调}{表达式(可以打中文)}}
洛谷内支持的颜色(洛谷里有挺多颜色是不支持的,而且有些颜色和Wiki上不太一样……)
例子(前后都要加$):
{\color{Aquamarine}Aquamarine}Aquamarine
{\color{Black}Black}Black
{\color{Blue}Blue}Blue
{\color{BlueViolet}BlueViolet}BlueViolet
{\color{Brown}Brown}Brown
{\color{CadetBlue}CadetBlue}CadetBlue
{\color{CornflowerBlue}CornflowerBlue}CornflowerBlue
{\color{Cyan}Cyan}Cyan
{\color{DarkOrchid}DarkOrchid}DarkOrchid
{\color{ForestGreen}ForestGreen}ForestGreen
{\color{Fuchsia}Fuchsia}Fuchsia
{\color{Goldenrod}Goldenrod}Goldenrod
{\color{Gold}Gold}Gold
{\color{Gray}Gray}Gray
{\color{CadetBlue}CadetBlue}CadetBlue
{\color{Green}Green}Green
{\color{GreenYellow}GreenYellow}GreenYellow
{\color{Lavender}Lavender}Lavender
{\color{LimeGreen}LimeGreen}LimeGreen
{\color{Magenta}Magenta}Magenta
{\color{Maroon}Maroon}Maroon
{\color{Orange}Orange}Orange
{\color{OrangeRed}OrangeRed}OrangeRed
{\color{Orchid}Orchid}Orchid
{\color{Plum}Plum}Plum
{\color{Purple}Purple}Purple
{\color{Red}Red}Red
{\color{RoyalBlue}RoyalBlue}RoyalBlue
{\color{Salmon}Salmon}Salmon
{\color{SeaGreen}SeaGreen}SeaGreen
{\color{SkyBlue}SkyBlue}SkyBlue
{\color{SpringGreen}SpringGreen}SpringGreen
{\color{Tan}Tan}Tan
{\color{Thistle}Thistle}Thistle
{\color{Turquoise}Turquoise }Turquoise
{\color{Violet}Violet}Violet
{\color{White}White}\getsWhite←这是白= =
Y
e
l
l
o
w
{\color{Yellow}Yellow}
Yellow
效果:
Y
e
l
l
o
w
G
r
e
e
n
{\color{YellowGreen}YellowGreen}
YellowGreen
随便举个例子:
x = − b ± b 2 − 4 a c 2 a x=\dfrac{-b\pm\sqrt{\color{Red}b^2-4ac}}{\color{Blue}2a} x=2a−b±b2−4ac
\quad x=\dfrac{-b\pm\sqrt{\color{Red}b^2-4ac}}{\color{Blue}2a}
LaTeX公式大全 \color{Blue}\colorbox{Yellow}{LaTeX公式大全} LaTeX公式大全
\quad\color{Blue}\colorbox{Yellow}{LaTeX公式大全}
∑
i
=
1
n
i
=
n
(
n
−
1
)
2
\boxed{\sum\limits_{i = 1}^{n} i = \dfrac{n(n - 1)}{2}}
i=1∑ni=2n(n−1)
ps:对于行内模式同样有效,不过大多情况用于独立模式。
\boxed{\sum\limits_{i = 1}^{n} i = \dfrac{n(n - 1)}{2}}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。