博主最近可烦恼了,CSDN的Mardown支持的是KATEX公式编辑器,虽然和Latex支持的部分符号的命令不支持(需要变换),大部分还是支持的。
举个例子对于 ∂ \partial ∂ 符号,KATEX不支持’\part’而是完整的\partical
,有些博文用支持Latex语法的软件打公式复到CSDN就老是要换。
所以做这个博文的目的是让自己有个参考,某些特殊符号还是以标准的KATEX符号为主。
要在Mardown中使用KATEX的语法,则使用’$$'包围就成,因为编写分了很多阶段和时间,有错误的地方欢迎指出。
效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|
a ′ a' a′ | a' |
a ~ \tilde{a} a~ | \tilde{a} |
g ˚ \mathring{g} g˚ | \mathring{g} |
a ′ ′ a'' a′′ | a'' |
a c ~ \widetilde{ac} ac | \widetilde{ac} |
A B undefined \overgroup{AB} AB | \overgroup{AB} |
a ′ a^{\prime} a′ | a^{\prime} |
A B ~ \utilde{AB} AB | \utilde{AB} |
A B undefined \undergroup{AB} AB | \undergroup{AB} |
a ˊ \acute{a} aˊ | \acute{a} |
F ⃗ \vec{F} F | \vec{F} |
A B ⇒ \Overrightarrow{AB} AB | \Overrightarrow{AB} |
y ˉ \bar{y} yˉ | \bar{y} |
A B ← \overleftarrow{AB} AB | \overleftarrow{AB} |
A B → \overrightarrow{AB} AB | \overrightarrow{AB} |
a ˘ \breve{a} a˘ | \breve{a} |
A B ← \underleftarrow{AB} AB | \underleftarrow{AB} |
A B → \underrightarrow{AB} AB | \underrightarrow{AB} |
a ˇ \check{a} aˇ | \check{a} |
a c ↼ \overleftharpoon{ac} ac | \overleftharpoon{ac} |
a c ⇀ \overrightharpoon{ac} ac | \overrightharpoon{ac} |
a ˙ \dot{a} a˙ | \dot{a} |
A B ↔ \overleftrightarrow{AB} AB | \overleftrightarrow{AB} |
A B ⏞ \overbrace{AB} AB | \overbrace{AB} |
a ¨ \ddot{a} a¨ | \ddot{a} |
A B ↔ \underleftrightarrow{AB} AB | \underleftrightarrow{AB} |
A B ⎵ \underbrace{AB} AB | \underbrace{AB} |
a ˋ \grave{a} aˋ | \grave{a} |
A B ‾ \overline{AB} AB | \overline{AB} |
A B undefined \overlinesegment{AB} AB | \overlinesegment{AB} |
θ ^ \hat{\theta} θ^ | \hat{\theta} |
A B ‾ \underline{AB} AB | \underline{AB} |
A B undefined \underlinesegment{AB} AB | \underlinesegment{AB} |
a c ^ \widehat{ac} ac | \widehat{ac} |
a c ˇ \widecheck{ac} ac | \widecheck{ac} |
效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|
( ) ( ) () | ( ) |
⌈ ⌉ ⌈ ⌉ ⌈⌉ | ⌈ ⌉ |
[ ] [ ] [] | [ ] |
⌊ ⌋ ⌊ ⌋ ⌊⌋ | ⌊ ⌋ |
{ } \{ \} {} | \{ \} |
⟨ ⟩ ⟨ ⟩ ⟨⟩ | ⟨ ⟩ |
∣ | | |
∥ \| ∥ | \| |
⎰ ⎱ ⎰⎱ ⎰⎱ | ⎰⎱ |
⟮ ⟯ ⟮ ⟯ ⟮⟯ | ⟮ ⟯ |
┌ ┐ ┌ ┐ ┌┐ | ┌ ┐ |
└ ┘ └ ┘ └┘ | └ ┘ |
\left. \right. |
⟦ ⟧ ⟦ ⟧ ⟦⟧ | ⟦ ⟧ |
∣ ∣ \lvert \rvert ∣∣ | \lvert \rvert |
|
⟨ ⟩ \lang \rang ⟨⟩ | \lang \rang |
[ ] \lbrack \rbrack [] | \lbrack \rbrack |
{ } \lbrace \rbrace {} | \lbrace \rbrace |
⟨ ⟩ \langle\rangle ⟨⟩ | \langle\rangle |
∣ \vert ∣ | \vert |
∥ \Vert ∥ | \Vert |
∥ ∥ \lVert \rVert ∥∥ | \lVert \rVert |
< > \lt \gt <> | \lt \gt |
⌈ ⌉ \lceil \rceil ⌈⌉ | \lceil \rceil |
⌊ ⌋ \lfloor \rfloor ⌊⌋ | \lfloor \rfloor |
⎰ ⎱ \lmoustache\rmoustache ⎰⎱ | \lmoustache\rmoustache |
⟮ ⟯ \lgroup\rgroup ⟮⟯ | \lgroup\rgroup |
┌ ┐ \ulcorner\urcorner ┌┐ | \ulcorner\urcorner |
└ ┘ \llcorner\lrcorner └┘ | \llcorner\lrcorner |
↑ \uparrow ↑ | \uparrow |
↓ \downarrow ↓ | \downarrow |
↕ \updownarrow ↕ | \updownarrow |
⇑ \Uparrow ⇑ | \Uparrow |
⇓ \Downarrow ⇓ | \Downarrow |
⇕ \Updownarrow ⇕ | \Updownarrow |
\ \backslash \ | \backslash |
( A B ) \left(\LARGE{AB}\right) (AB) \left(\LARGE{AB}\right)
( ( ( ( ( ( \big( \Big( \bigg( \Bigg( (((((( \big( \Big( \bigg( \Bigg(
括号的大小其实很重要,而且KATEX其实本质还算是Latex,只不过目前某些命令不是很支持,但有一个很重要的特性,数学公式可以大得惊人,无论KATEX还是Latex都可以生成不断增大的符号。例如
\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+x}}}}}}}
我没有进行任何的标注变大,然而它随着公式的变大而变大,主要是内容扩展的问题,要将所包含内容,全都包括。
1 + 1 + 1 + 1 + 1 + 1 + 1 + x \sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+\sqrt{1+x}}}}}}} 1+1+1+1+1+1+1+x
对于分界符,也就是括号之类,例如,括号最小是用\scriptstyle
修饰。
\displaystyle
\Biggl(\biggl(\Bigl(\bigl(({\scriptstyle({\scriptscriptstyle(\hskip3pt
)})})\bigr)\Bigr)\biggr)\Biggr),
\Biggl\{\biggl\{\Bigl\{\bigl\{\{{\scriptstyle\{{\scriptscriptstyle\{\hskip3pt\}}\}}\}\bigr\}\Bigr\}\biggr\}\Biggr\}
( ( ( ( ( ( ( ) ) ) ) ) ) ) , { { { { { { { } } } } } } } \displaystyle \Biggl(\biggl(\Bigl(\bigl(({\scriptstyle({\scriptscriptstyle(\hskip3pt )})})\bigr)\Bigr)\biggr)\Biggr), \Biggl\{\biggl\{\Bigl\{\bigl\{\{{\scriptstyle\{{\scriptscriptstyle\{\hskip3pt\}}\}}\}\bigr\}\Bigr\}\biggr\}\Biggr\} ((((((())))))),{{{{{{{}}}}}}}
位置 | 单描述 | 左大小描述 | 中大小描述 | 右大小描述 |
---|---|---|---|---|
\left |
\big |
\bigl |
\bigm |
\bigr |
\middle |
\Big |
\Bigl |
\Bigm |
\Bigr |
\right |
\bigg |
\biggl |
\biggm |
\biggr |
\Bigg |
\Biggl |
\Biggm |
\Biggr |
\big
分界符只比普通的要大得足以感觉到不同, 但是还是足够小得可在段落的文本中使用,下面是普通与\big
的比较。
(\,)\,[\,]\,\{\,\}\,\lfloor\,\rfloor\,\lceil\,\rceil\,\langle\,\rangle
\,/\,\backslash\,\vert\,\Vert\,\uparrow\,\Uparrow\,\downarrow\,\Downarrow
\,\updownarrow\,\Updownarrow,\\ \big(\,\big)\,\big[\,\big]\,\big\{\,\big\}\,\big\lfloor
\,\big\rfloor\,\big\lceil\,\big\rceil\,\big\langle\,\big\rangle
\,\big/\,\big\backslash\,\big\vert\,\big\Vert\,\big\uparrow\,\big\Uparrow
\,\big\downarrow\,\big\Downarrow\,\big\updownarrow\,\big\Updownarrow
(   )   [   ]   {   }   ⌊   ⌋   ⌈   ⌉   ⟨   ⟩   /   \   ∣   ∥   ↑   ⇑   ↓   ⇓   ↕   ⇕ , (   )   [   ]   {   }   ⌊   ⌋   ⌈   ⌉   ⟨   ⟩   /   \   ∣   ∥   ↑   ⇑   ↓   ⇓   ↕   ⇕ (\,)\,[\,]\,\{\,\}\,\lfloor\,\rfloor\,\lceil\,\rceil\,\langle\,\rangle \,/\,\backslash\,\vert\,\Vert\,\uparrow\,\Uparrow\,\downarrow\,\Downarrow \,\updownarrow\,\Updownarrow,\\ \big(\,\big)\,\big[\,\big]\,\big\{\,\big\}\,\big\lfloor \,\big\rfloor\,\big\lceil\,\big\rceil\,\big\langle\,\big\rangle \,\big/\,\big\backslash\,\big\vert\,\big\Vert\,\big\uparrow\,\big\Uparrow \,\big\downarrow\,\big\Downarrow\,\big\updownarrow\,\big\Updownarrow ()[]{}⌊⌋⌈⌉⟨⟩/\∣∥↑⇑↓⇓↕⇕,()[]{}⌊⌋⌈⌉⟨⟩/\∣∣∥∥⏐↑‖⇑↓⏐⇓‖↓↑⇓⇑
通过\Bigl
和\Bigr
来得到列表公式中的适当大小的符号:,它们比\big 符号大50%。
\Bigl(\,\Bigr)\,\Bigl[\,\Bigr]\,\Bigl\{\,\Bigr\}\,\Bigl\lfloor
\,\Bigr\rfloor\,\Bigl\lceil\,\Bigr\rceil\,\Bigl\langle\,\Bigr\rangle
\,\Big/\,\Big\backslash\,\Big\vert\,\Big\Vert\,\Bigm\uparrow\,\Bigm\Uparrow
\,\Bigm\downarrow\,\Bigm\Downarrow\,\Bigm\updownarrow\,\Bigm\Updownarrow
(   )   [   ]   {   }   ⌊   ⌋   ⌈   ⌉   ⟨   ⟩   /   \   ∣   ∥   ↑   ⇑   ↓   ⇓   ↕   ⇕ \Bigl(\,\Bigr)\,\Bigl[\,\Bigr]\,\Bigl\{\,\Bigr\}\,\Bigl\lfloor \,\Bigr\rfloor\,\Bigl\lceil\,\Bigr\rceil\,\Bigl\langle\,\Bigr\rangle \,\Big/\,\Big\backslash\,\Big\vert\,\Big\Vert\,\Bigm\uparrow\,\Bigm\Uparrow \,\Bigm\downarrow\,\Bigm\Downarrow\,\Bigm\updownarrow\,\Bigm\Updownarrow ()[]{}⌊⌋⌈⌉⟨⟩/\∣∣∣∥∥∥⏐⏐↑‖‖⇑↓⏐⏐⇓‖‖↓⏐↑⇓‖⇑
最经常使用的分界符甚至更高(\big 尺寸的两倍); 这样的分界符由\biggl
和\biggr
构造。
\biggl(\,\biggr)\,\biggl[\,\biggr]\,\biggl\{\,\biggr\}\,\biggl\lfloor
\,\biggr\rfloor\,\biggl\lceil\,\biggr\rceil\,\biggl\langle\,\biggr\rangle
\,\bigg/\,\bigg\backslash\,\bigg\vert\,\bigg\Vert\,\biggm\uparrow
\,\biggm\Uparrow\,\biggm\downarrow\,\biggm\Downarrow\,\biggm\updownarrow
\,\biggm\Updownarrow
(   )   [   ]   {   }   ⌊   ⌋   ⌈   ⌉   ⟨   ⟩   /   \   ∣   ∥   ↑   ⇑   ↓   ⇓   ↕   ⇕ \biggl(\,\biggr)\,\biggl[\,\biggr]\,\biggl\{\,\biggr\}\,\biggl\lfloor \,\biggr\rfloor\,\biggl\lceil\,\biggr\rceil\,\biggl\langle\,\biggr\rangle \,\bigg/\,\bigg\backslash\,\bigg\vert\,\bigg\Vert\,\biggm\uparrow \,\biggm\Uparrow\,\biggm\downarrow\,\biggm\Downarrow\,\biggm\updownarrow \,\biggm\Updownarrow ()[]{}⌊⌋⌈⌉⟨⟩/\∣∣∣∣∥∥∥∥⏐⏐⏐↑‖‖‖⇑↓⏐⏐⏐⇓‖‖‖↓⏐⏐↑⇓‖‖⇑
\Biggl
和\Biggr
的分界符是\bigl
和\bigr
的2.5 倍。
\Biggl(\,\Biggr)\,\Biggl[\,\Biggr]\,\Biggl\{\,\Biggr\}\,\Biggl\lfloor
\,\Biggr\rfloor\,\Biggl\lceil\,\Biggr\rceil\,\Biggl\langle\,\Biggr\rangle
\,\Bigg/\,\Bigg\backslash\,\Bigg\vert\,\Bigg\Vert\,\Biggm\uparrow
\,\Biggm\Uparrow\,\Biggm\downarrow\,\Biggm\Downarrow\,\Biggm\updownarrow
\,\Biggm\Updownarrow
(   )   [   ]   {   }   ⌊   ⌋   ⌈   ⌉   ⟨   ⟩   /   \   ∣   ∥   ↑   ⇑   ↓   ⇓   ↕   ⇕ \Biggl(\,\Biggr)\,\Biggl[\,\Biggr]\,\Biggl\{\,\Biggr\}\,\Biggl\lfloor \,\Biggr\rfloor\,\Biggl\lceil\,\Biggr\rceil\,\Biggl\langle\,\Biggr\rangle \,\Bigg/\,\Bigg\backslash\,\Bigg\vert\,\Bigg\Vert\,\Biggm\uparrow \,\Biggm\Uparrow\,\Biggm\downarrow\,\Biggm\Downarrow\,\Biggm\updownarrow \,\Biggm\Updownarrow ()[]{}⌊⌋⌈⌉⟨⟩/\∣∣∣∣∣∥∥∥∥∥⏐⏐⏐⏐↑‖‖‖‖⇑↓⏐⏐⏐⏐⇓‖‖‖‖↓⏐⏐⏐↑⇓‖‖‖⇑
\big
和\bigg
分界符比\Big
和\Bigg
分界符更常用。因为超过一行高的公式通常是两行高,而不是 1 1 2 1\over2 21 或 2 1 2 1\over2 21行高。
\bigm
, \Bigm
, \biggm
和\Biggm
分界符, 它们用在公式中央; 这样的分界符起着表示关系的作用, 类似于等号, 所以它两边都有一点间距。
\bigl(x\in A(n)|x\in B(n)\bigr)
\bigl(x\in A(n)\bigm|x\in B(n)\bigr)
( x ∈ A ( n ) ∣ x ∈ B ( n ) ) \bigl(x\in A(n)|x\in B(n)\bigr) (x∈A(n)∣x∈B(n)) ( x ∈ A ( n ) ∣ x ∈ B ( n ) ) \bigl(x\in A(n)\bigm|x\in B(n)\bigr) (x∈A(n)∣∣x∈B(n))
没有这个修饰符,可以看见公式中的|
一般过矮,如果公式中行占据过高,那么必须用\bigm
, \Bigm
, \biggm
和\Biggm
将 |
给变高,而且相对美观。
效果 | 命令 | 效果 | 命令 |
---|---|---|---|
a b c d \begin{matrix}a & b \\c & d\end{matrix} acbd | \begin{matrix} a & b \\ c & d \end{matrix} |
a b c d \begin{array}{cc}a & b \\c & d\end{array} acbd | \begin{array}{cc} a & b \\ c & d \end{array} |
( a b c d ) \begin{pmatrix} a & b \\c & d\end{pmatrix} (acbd) | \begin{pmatrix} a & b \\ c & d \end{pmatrix} |
[ a b c d ] \begin{bmatrix} a & b \\ c & d\end{bmatrix} [acbd] | \begin{bmatrix} a & b \\ c & d \end{bmatrix} |
∣ a b c d ∣ \begin{vmatrix} a & b \\ c & d\end{vmatrix} ∣∣∣∣acbd∣∣∣∣ | \begin{vmatrix} a & b \\ c & d \end{vmatrix} |
∥ a b c d ∥ \begin{Vmatrix} a & b \\ c & d\end{Vmatrix} ∥∥∥∥acbd∥∥∥∥ | \begin{Vmatrix} a & b \\ c & d \end{Vmatrix} |
[ 0 ⋯ 0 ⋮ ⋱ ⋮ 0 ⋯ 0 ] \begin{bmatrix}0 & \cdots & 0 \\\vdots & \ddots & \vdots \\0 & \cdots & 0\end{bmatrix} ⎣⎢⎡0⋮0⋯⋱⋯0⋮0⎦⎥⎤ | \begin{bmatrix} 0 & \cdots & 0 \\ \vdots & \ddots & \vdots \\ 0 & \cdots & 0 \end{bmatrix} |
( x 11 x 12 … x 21 x 22 … ⋮ ⋮ ⋱ ) \left( \begin{array}{ccc}x_{11} & x_{12} & \ldots \\x_{21} & x_{22} & \ldots \\\vdots & \vdots & \ddots\end{array} \right) ⎝⎜⎛x11x21⋮x12x22⋮……⋱⎠⎟⎞ | \left( \begin{array}{ccc} x_{11} & x_{12} & \ldots \\ x_{21} & x_{22} & \ldots \\ \vdots & \vdots & \ddots \end{array} \right) |
{ a b c d } \begin{Bmatrix} a & b \\ c & d\end{Bmatrix} {acbd} | \begin{Bmatrix} a & b \\ c & d \end{Bmatrix} |
a b c d e f g h i \def\arraystretch{1.5}\begin{array}{c:c:c}a & b & c \\ \hline d & e & f \\\hdashline g & h & i\end{array} adgbehcfi | \def\arraystretch{1.5} \begin{array}{c:c:c} a & b & c \\ \hline d & e & f \\ \hdashline g & h & i \end{array} |
a = b + c d + e = f \begin{aligned}a&=b+c \\d+e&=f\end{aligned} ad+e=b+c=f | \begin{aligned} a&=b+c \\ d+e&=f \end{aligned} |
10 x + 3 y = 2 3 x + 13 y = 4 \begin{alignedat}{2}10&x+ &3&y = 2 \\3&x+&13&y = 4\end{alignedat} 103x+x+313y=2y=4 | \begin{alignedat}{2} 10&x+ &3&y = 2 \\ 3&x+&13&y = 4 \end{alignedat} |
a = b e = b + c \begin{gathered}a=b \\e=b+c\end{gathered} a=be=b+c | \begin{gathered} a=b \\ e=b+c \end{gathered} |
x = { a if b c if d x = \begin{cases}a &\text{if } b \\c &\text{if } d\end{cases} x={acif bif d | x = \begin{cases} a &\text{if } b \\ c &\text{if } d \end{cases} |
x = { a if b c if d x =\begin{dcases}a &\text{if } b \\c &\text{if } d\end{dcases} x={acif bif d | x = \begin{dcases} a &\text{if } b \\ c &\text{if } d \end{dcases} |
a b c d \begin{darray}{cc}a & b \\c & d\end{darray} acbd | \begin{darray}{cc} a & b \\ c & d \end{darray} |
dcases
和cases
在显示 \frac
和\dfrac
不同,例如:
{ 1 2 ( x − 1 ) , x > 1 Γ ( x ) 2 x − 1 , 0 < x < 1 \begin{cases}\frac{1}{2(x-1)}, & x>1 \\\frac{\Gamma(x)}{2^{x-1}}, & 0<x<1\end{cases} {2(x−1)1,2x−1Γ(x),x>10<x<1和、 { 1 2 ( x − 1 ) , x > 1 Γ ( x ) 2 x − 1 , 0 < x < 1 \begin{dcases}\frac{1}{2(x-1)}, & x>1 \\\frac{\Gamma(x)}{2^{x-1}}, & 0<x<1\end{dcases} ⎩⎪⎨⎪⎧2(x−1)1,2x−1Γ(x),x>10<x<1
前缀d 意味着 display
类似的,darray
和array
在显示 \frac
和\dfrac
不同,例如:
1 2 ( x − 1 ) Γ ( x ) 2 x − 1 c d \begin{array}{cc}\frac{1}{2(x-1)} & \frac{\Gamma(x)}{2^{x-1}} \\c & d\end{array} 2(x−1)1c2x−1Γ(x)d和 1 2 ( x − 1 ) Γ ( x ) 2 x − 1 c d \begin{darray}{cc}\frac{1}{2(x-1)} & \frac{\Gamma(x)}{2^{x-1}} \\c & d\end{darray} 2(x−1)1c2x−1Γ(x)d
array
接受参数在 { } \{\} {},针对每列操作,可以用 ∣ | ∣和 : : :进行分隔。
\begin{array}{col1 col2 … coln}
item11 & item12 … & item1n\\
item21 & item22 … & item2n\\
...
itemm1 & itemm2 … & itemmn
\end{array}
举个例子。
\begin{array}{c |c|c|c}
a& b&c& d\\
a& b&c& d\\
a& b&c& d
\end{array}
这样每列元素是中间对齐( c ),用 ∣ | ∣分隔。
a b c d a b c d a b c d \begin{array}{c |c|c|c}a& b&c& d\\a& b&c& d\\a& b&c& d\end{array} aaabbbcccddd
这样每列元素是中间对齐( c ),用 : : :分隔,即虚线。
\begin{array}{c:c:c:c}
a& b&c& d\\
a& b&c& d\\
a& b&c& d
\end{array}
a b c d a b c d a b c d \begin{array}{c:c:c:c}a& b&c& d\\a& b&c& d\\a& b&c& d\end{array} aaabbbcccddd
除此之外,还支持水平线\hline
。
\begin{array}{|l|cr}
left1 & center1 & right1\\
\hline
d & e & f
\end{array}
l e f t 1 c e n t e r 1 r i g h t 1 d e f \begin{array}{|l|cr}left1 & center1 & right1\\ \hline d & e & f \end{array} left1dcenter1eright1f
除此之外,还支持虚线\hdashline
。
\begin{array}{|l|cr}left1 & center1 & right1\\
\hdashline
d & e & f
\end{array}
l e f t 1 c e n t e r 1 r i g h t 1 d e f \begin{array}{|l|cr}left1 & center1 & right1\\ \hdashline d & e & f \end{array} left1dcenter1eright1f
对于每列元素排列,分为left-align, center,和right align,分别在 { } \{\} {}中缩写为l,c,r
。
效果 | 命令 | 效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|---|---|
A \Alpha A | \Alpha |
B \Beta B | \Beta |
Γ \Gamma Γ | \Gamma |
Δ \Delta Δ | \Delta |
E \Epsilon E | \Epsilon |
Z \Zeta Z | \Zeta |
H \Eta H | \Eta |
Θ \Theta Θ | \Theta |
I \Iota I | \Iota |
K \Kappa K | \Kappa |
Λ \Lambda Λ | \Lambda |
M \Mu M | \Mu |
N \Nu N | \Nu |
Ξ \Xi Ξ | \Xi |
O \Omicron O | \Omicron |
Π \Pi Π | \Pi |
R \Rho R | \Rho |
Σ \Sigma Σ | \Sigma |
T \Tau T | \Tau |
Υ \Upsilon Υ | \Upsilon |
Φ \Phi Φ | \Phi |
X \Chi X | \Chi |
Ψ \Psi Ψ | \Psi |
Ω \Omega Ω | \Omega |
Γ \varGamma Γ | \varGamma |
Δ \varDelta Δ | \varDelta |
Θ \varTheta Θ | \varTheta |
Λ \varLambda Λ | \varLambda |
Ξ \varXi Ξ | \varXi |
Π \varPi Π | \varPi |
Σ \varSigma Σ | \varSigma |
Υ \varUpsilon Υ | \varUpsilon |
Φ \varPhi Φ | \varPhi |
Ψ \varPsi Ψ | \varPsi |
Ω \varOmega Ω | \varOmega |
斜体小写希腊字母一般用于在方程中显示变量。
效果 | 命令 | 效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|---|---|
α \alpha α | \alpha |
β \beta β | \beta |
γ \gamma γ | \gamma |
δ \delta δ | \delta |
ϵ \epsilon ϵ | \epsilon |
ζ \zeta ζ | \zeta |
η \eta η | \eta |
θ \theta θ | \theta |
ι \iota ι | \iota |
κ \kappa κ | \kappa |
λ \lambda λ | \lambda |
μ \mu μ | \mu |
ν \nu ν | \nu |
ξ \xi ξ | \xi |
ο \omicron ο | \omicron |
π \pi π | \pi |
ρ \rho ρ | \rho |
σ \sigma σ | \sigma |
τ \tau τ | \tau |
υ \upsilon υ | \upsilon |
ϕ \phi ϕ | \phi |
χ \chi χ | \chi |
ψ \psi ψ | \psi |
ω \omega ω | \omega |
ε \varepsilon ε | \varepsilon |
ϰ \varkappa ϰ | \varkappa |
ϑ \vartheta ϑ | \vartheta |
ϑ \thetasym ϑ | \thetasym |
ϖ \varpi ϖ | \varpi |
ϱ \varrho ϱ | \varrho |
ς \varsigma ς | \varsigma |
φ \varphi φ | \varphi |
ϝ \digamma ϝ | \digamma |
效果 | 命令 | 效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|---|---|
ı \imath ı | \imath |
∇ \nabla ∇ | \nabla |
ℑ \Im ℑ | \Im |
R \Reals R | \Reals |
ȷ \jmath ȷ | \jmath |
∂ \partial ∂ | \partial |
ℑ \image ℑ | \image |
℘ \wp ℘ | \wp |
ℵ \aleph ℵ | \aleph |
⅁ \Game ⅁ | \Game |
k \Bbbk k | \Bbbk |
℘ \weierp ℘ | \weierp |
ℵ \alef ℵ | \alef |
Ⅎ \Finv Ⅎ | \Finv |
N \N N | \N |
Z \Z Z | \Z |
ℵ \alefsym ℵ | \alefsym |
C \cnums C | \cnums |
N \natnums N | \natnums |
ℶ \beth ℶ | \beth |
R \R R | \R |
C \Complex C | \Complex |
ℷ \gimel ℷ | \gimel |
ℓ \ell ℓ | \ell |
ℜ \Re ℜ | \Re |
ℜ \real ℜ | \real |
ℏ \hbar ℏ | \hbar |
ℸ \daleth ℸ | \daleth |
ð \eth ð | \eth |
ℏ \hslash ℏ | \hslash |
R \reals R | \reals |
||
Œ \text{\OE} Œ | \text{\OE} |
ø \text{\o} ø | \text{\o} |
Ø \text{\O} Ø | \text{\O} |
ß \text{\ss} ß | \text{\ss} |
ı \text{\i} ı | \text{\i} |
ȷ \text{\j} ȷ | \text{\j} |
A ˚ \text{\AA} A˚ | \text{\AA} |
æ \text{\ae} æ | \text{\ae} |
Æ \text{\AE} Æ | \text{\AE} |
œ \text{\oe} œ | \text{\oe} |
命令
\textnormal{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\textnormal{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}
\textnormal{0,1,2,3,4,5,6,7,8,9}
显示
ABCDEFGHIJKLMNOPQRSTUVWXYZ \textnormal{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 \textnormal{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} 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
0,1,2,3,4,5,6,7,8,9 \textnormal{0,1,2,3,4,5,6,7,8,9} 0,1,2,3,4,5,6,7,8,9
CSDN的KATEX定制不支持
mathnormal
,原始KATEX并不支持\normal
命令
\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\textrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\rm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\operatorname{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\mathrm{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}
\textrm{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}
\rm{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}
\operatorname{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{0,1,2,3,4,5,6,7,8,9}
\textrm{0,1,2,3,4,5,6,7,8,9}
\rm{0,1,2,3,4,5,6,7,8,9}
\operatorname{0,1,2,3,4,5,6,7,8,9}
显示
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 \operatorname{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} 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
0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 \rm{0,1,2,3,4,5,6,7,8,9} 0,1,2,3,4,5,6,7,8,9
如果想用罗马字体排版方程中的一部分,不要使用\textrm
命令,因为当\textrm
暂时脱离文本模式时字体大小交换机制不起作用。这时可以使用\mathrm
来确保字体大小交换机制起作用。但是需要注意的是,\mathrm
只对于较短的项才起作用。空格仍然不起作用,并且重音字符也不起作用。
命令
\mathbb{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}
\N,\R,\Z,\cnums,\Complex
\mathbb{k},\Bbb k
\Bbb{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}
显示
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{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} 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
N , R , Z , C , C \N,\R,\Z,\cnums,\Complex N,R,Z,C,C
k , k \mathbb{k},\Bbb k k,k
命令
\mathit{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}
\mathit{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}
\mathit{0,1,2,3,4,5,6,7,8,9}
\textit{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}
\textit{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}
\textit{0,1,2,3,4,5,6,7,8,9}
显示
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 \mathit{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} 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
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 \mathit{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} 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
0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 \mathit{0,1,2,3,4,5,6,7,8,9} 0,1,2,3,4,5,6,7,8,9
命令
\mathsf{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{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}
\textsf{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}
\textsf{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}
显示
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{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} 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
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{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} 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
命令
\textbf{\textit{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}}
\textit{\textbf{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}}
\boldsymbol{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}
\bm{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}
\textit{\textbf{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}}
\textit{\textbf{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}}
\boldsymbol{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}
\bm{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}
\boldsymbol{\alpha,\beta,\gamma,\delta,\epsilon,\zeta,\eta,\theta,\iota,\kappa,\lambda,\mu,\nu,\xi,\omicron,\pi,\rho,\sigma,\tau,\upsilon,\phi,\chi,\psi,\omega,...}
\bm{\alpha,\beta,\gamma,\delta,\epsilon,\zeta,\eta,\theta,\iota,\kappa,\lambda,\mu,\nu,\xi,\omicron,\pi,\rho,\sigma,\tau,\upsilon,\phi,\chi,\psi,\omega,...}
显示
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 \textbf{\textit{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}} 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
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 \bm{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} 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
α , β , γ , δ , ϵ , ζ , η , θ , ι , κ , λ , μ , ν , ξ , ο , π , ρ , σ , τ , υ , ϕ , χ , ψ , ω , . . . \bm{\alpha,\beta,\gamma,\delta,\epsilon,\zeta,\eta,\theta,\iota,\kappa,\lambda,\mu,\nu,\xi,\omicron,\pi,\rho,\sigma,\tau,\upsilon,\phi,\chi,\psi,\omega,...} α,β,γ,δ,ϵ,ζ,η,θ,ι,κ,λ,μ,ν,ξ,ο,π,ρ,σ,τ,υ,ϕ,χ,ψ,ω,...
使用
\boldsymbol{}
和\bm{}
可以加粗所有合法的符号。
命令
\mathtt{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\texttt{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\mathtt{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}
\texttt{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}
显示
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 \texttt{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} 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}
显示
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
仅对大写字母有效
\mathscr{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 \mathscr{ABCDEFGHIJKLMNOPQRSTUVWXYZ} ABCDEFGHIJKLMNOPQRSTUVWXYZ
命令
\mathfrak{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\mathfrak{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{0,1,2,3,4,5,6,7,8,9}
显示
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{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} 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
0 , 1 , 2 , 3 , 4 , 5 , 6 , 7 , 8 , 9 \mathfrak{0,1,2,3,4,5,6,7,8,9} 0,1,2,3,4,5,6,7,8,9
命令
\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\mathbf{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{0,1,2,3,4,5,6,7,8,9}
\bold{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}
\bold{0,1,2,3,4,5,6,7,8,9}
\bold{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}
\textbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\textbf{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}
\textbf{0,1,2,3,4,5,6,7,8,9}
ABCDEFGHIJKLMNOPQRSTUVWXYZ \textbf{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 \textbf{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} 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
0,1,2,3,4,5,6,7,8,9 \textbf{0,1,2,3,4,5,6,7,8,9} 0,1,2,3,4,5,6,7,8,9
效果 | 命令 | 效果 | 命令 |
---|---|---|---|
A B C \cancel{ABC} ABC | \cancel{ABC} |
a + b + c ⏞ note \overbrace{a+b+c}^{\text{note}} a+b+c note | \overbrace{a+b+c}^{\text{note}} |
A B C \bcancel{ABC} ABC | \bcancel{ABC} |
a + b + c ⎵ note \underbrace{a+b+c}_{\text{note}} note a+b+c | \underbrace{a+b+c}_{\text{note}} |
A B C \xcancel{ABC} ABC | \xcancel{ABC} |
̸ = \not = ̸= | \not = |
A B C \sout{ABC} ABC | \xcancel{ABC} |
π = c d \boxed{\pi=\frac c d} π=dc | \boxed{\pi=\frac c d} |
公式标注(下面的两个示例,需要左右分别两个$
包围)
\tag{hi} x+y^{2x}
x+y^{2x}\tag{hi}
\tag*{hi} x+y^{2x}
(hi) x + y 2 x \tag{hi} x+y^{2x} x+y2x(hi)
hi x + y 2 x \tag*{hi} x+y^{2x} x+y2xhi
使用
\tag
给公式编号,在公式前和后都不影响!
\nonumber
可以阻止生成编号。
当有两个公式,需要换行,可以使用\\
或\newline
。
\frac{a}{b}=c\\\frac{d}{e}=f\newline\frac{g}{h}=k
a b = c d e = f g h = k \frac{a}{b}=c\\\frac{d}{e}=f\newline\frac{g}{h}=k ba=ced=fhg=k
效果 | 命令 | 效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|---|---|
x n x_n xn | x_n |
a b c a\raisebox{0.25em}{b}c abc | a\raisebox{0.25em}{b}c |
u o _u^o uo | _u^o |
= ! \stackrel{!}{=} =! | \stackrel{!}{=} |
e x e^x ex | e^x |
a b a \atop b ba | a \atop b |
= ! \underset{!}{=} != | \underset{!}{=} |
= ! \overset{!}{=} =! | \overset{!}{=} |
\raisebox
的第二个参数可以包含数学,例如\raisebox{0.25em}{$\frac a b$}
:
a a b b a\raisebox{0.25em}{$\frac a b$}b abab
效果 | 命令 | 效果 | 命令 |
---|---|---|---|
= /   {=}\mathllap{/\,} =/ | {=}\mathllap{/\,} |
( x 2 ) \left(x^{\smash{2}}\right) (x2) | \left(x^{\smash{2}}\right) |
  / = \mathrlap{\,/}{=} /= | \mathrlap{\,/}{=} |
y \sqrt{\smash[b]{y}} y | \sqrt{\smash[b]{y}} |
\sum_{\mathclap{1\le i\le j\le n}} x_{ij}
∑ 1 ≤ i ≤ j ≤ n x i j \sum_{\mathclap{1\le i\le j\le n}} x_{ij} 1≤i≤j≤n∑xij
\llap
,\rlap
, 和\clap
仅用于文字,不用于数学公式
效果 | 命令 | 间隔大小 |
---|---|---|
a   b a\,b ab | a\,b |
³∕₁₈ em space |
a   b a\thinspace b ab | a\,b |
³∕₁₈ em space |
a   b a \: b ab | a\:b |
⁴∕₁₈ em space |
a   b a \medspace b ab | a\medspace b |
⁴∕₁₈ em space |
a    b a\; b ab | a\; b |
⁵∕₁₈ em space |
a    b a\thickspace b ab | a\thickspace b |
⁵∕₁₈ em space |
a b a\enspace b ab | a\enspace b |
½ em space |
a b a\quad b ab | a\quad b |
1 em space |
a b a\qquad b ab | a\qquad b |
2 em space |
a b a~ b a b | a~ b |
插入不换行空格 |
a b a\ b a b | a\ |
插入空格 |
a b a\space b a b | a\space b |
空格 |
a b a\nobreakspace b a b | a\nobreakspace b |
插入不换行空格 |
a ​ b a\! b ab | a\! b |
– ³∕₁₈ em space |
a ​ b a\negthinspace b ab | a\negthinspace b |
– ³∕₁₈ em space |
a ​ b a\negmedspace b ab | a\negmedspace b |
– ⁴∕₁₈ em space |
a ​ b a\negthickspace b ab | a\negthickspace b |
– ⁵∕₁₈ em space |
a b a\kern1em b ab | a\kern{distance} b |
space, width =distance |
a b a\mkern1em b ab | a\mkern{distance} b |
space, width =distance |
a b a\mskip1em b ab | a\mskip{distance} b |
space, width =distance |
a b a\hskip1em b ab | a\hskip{distance} b |
space, width =distance |
a b a\hspace1em b ab | a\hspace{distance} b |
space, width =distance |
a b a\hspace*1em b ab | a\hspace*{distance} b |
space, width =distance |
a x x x x b a\phantom{xxxx} b axxxxb | a\phantom{xxxx} b |
space, width =x的个数 |
a x x x x b a\hphantom{xxxx} b axxxxb | a\hphantom{xxxx} b |
space, width =x的个数 |
a x b a\vphantom{x} b axb | a\vphantom{z} b |
space, width =x的高度 |
distance是距离单位,比如 e m em em。
效果 | 命令 | 距离大小 | 单位 |
---|---|---|---|
a b a\kern2em b ab | a\kern2em b |
2 em | em |
a b a\kern3em b ab | a\kern3em b |
3 em | em |
a b a\kern1em b ab | a\kern1em b |
1 em | em |
a b a\kern1ex b ab | a\kern1ex b |
1 ex | ex |
a   b a\kern1mu b ab | a\kern1mu b |
1/18 em | em |
a b a\kern1pt b ab | a\kern1pt b |
1/72.27 inch × F × G | pt |
a b a\kern1mm b ab | a\kern1mm b |
1 mm × F × G | mm |
a b a\kern1cm b ab | a\kern1cm b |
1 cm × F × G | cm |
a b a\kern1in b ab | a\kern1in b |
1 inch × F × G | in |
a b a\kern1bp b ab | a\kern1bp b |
1/72 inch × F × G | bp |
a b a\kern1pc b ab | a\kern1pc b |
12 KaTeX pt | pc |
a b a\kern1dd b ab | a\kern1dd b |
1238/1157 KaTeX pt | dd |
a b a\kern1cc b ab | a\kern1cc b |
14856/1157 KaTeX pt | cc |
a b a\kern1nd b ab | a\kern1nd b |
685/642 KaTeX pt | nd |
a b a\kern1nc b ab | a\kern1nc b |
1370/107 KaTeX pt | nc |
a b a\kern1sp b ab | a\kern1sp b |
1/65536 KaTeX pt | sp |
注意:
单位缩写列表
缩写 | 全称 | 备注 |
---|---|---|
pt | point | |
pc | pica | 1    p c = 12    p t 1\;pc = 12\;pt 1pc=12pt |
in | inch | 1    i n = 72.27    p t 1\;in = 72.27\;pt 1in=72.27pt |
bp | big point | 1    i n = 72.27    p t 1\;in = 72.27\;pt 1in=72.27pt |
cm | centimeter | 2.54    c m = 1    i n 2.54\;cm = 1\;in 2.54cm=1in |
mm | millimeter | 10    m m = 1    c m 10\;mm = 1\;cm 10mm=1cm |
dd | didot point | 1157    d d = 1238    p t 1157\;dd = 1238\;pt 1157dd=1238pt |
cc | cicero | 1    c c = 12    d d 1\;cc = 12\;dd 1cc=12dd |
sp | scaled point | 65536    s p = 1    p t 65536\;sp = 1\;pt 65536sp=1pt |
效果 | 命令 | 效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|---|---|
∀ \forall ∀ | \forall |
∁ \complement ∁ | \complement |
∴ \therefore ∴ | \therefore |
∅ \emptyset ∅ | \emptyset |
∃ \exists ∃ | \exists |
⊂ \subset ⊂ | \subset |
∵ \because ∵ | \because |
∅ \empty ∅ | \empty |
∃ \exist ∃ | \exist |
⊃ \supset ⊃ | \supset |
↦ \mapsto ↦ | \mapsto |
∅ \varnothing ∅ | \varnothing |
∄ \nexists ∄ | \nexists |
∣ \mid ∣ | \mid |
→ \to → | \to |
   ⟹    \implies ⟹ | \implies |
∈ \in ∈ | \in |
∧ \land ∧ | \land |
← \gets ← | \gets |
   ⟸    \impliedby ⟸ | \impliedby |
∈ \isin ∈ | \isin |
∨ \lor ∨ | \lor |
↔ \leftrightarrow ↔ | \leftrightarrow |
   ⟺    \iff ⟺ | \iff |
∉ \notin ∈/ | \notin |
∋ \ni ∋ | \ni |
∌ \notni ̸∋ | \notni |
¬ \neg ¬ | \neg 或\lnot |
效果 | 命令 | 效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|---|---|
∑ \sum ∑ | \sum |
∏ \prod ∏ | \prod |
⨂ \bigotimes ⨂ | \bigotimes |
⋁ \bigvee ⋁ | \bigvee |
∫ \int ∫ | \int |
∐ \coprod ∐ | \coprod |
⨁ \bigoplus ⨁ | \bigoplus |
⋀ \bigwedge ⋀ | \bigwedge |
∬ \iint ∬ | \iint |
∫ \intop ∫ | \intop |
⨀ \bigodot ⨀ | \bigodot |
⋂ \bigcap ⋂ | \bigcap |
∭ \iiint ∭ | \iiint |
∫ \smallint ∫ | \smallint |
⨄ \biguplus ⨄ | \biguplus |
⋃ \bigcup ⋃ | \bigcup |
∮ \oint ∮ | \oint |
∯ \oiint ∬ | \oiint |
∰ \oiiint ∭ | \oiiint |
⨆ \bigsqcup ⨆ | \bigsqcup |
效果 | 命令 | 效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|---|---|
+ + + | + |
⋅ \cdot ⋅ | \cdot |
⋗ \gtrdot ⋗ | \gtrdot |
x ( m o d a ) x \pmod a x(moda) | \bigvee |
− - − | - |
⋅ \cdotp ⋅ | \cdotp |
⊺ \intercal ⊺ | \intercal |
x ( a ) x \pod a x(a) | x \pod a |
/ / / | / |
⋅ \centerdot ⋅ | \centerdot |
∧ \land ∧ | \land |
⊳ \rhd ⊳ | \rhd |
∗ * ∗ | * |
∘ \circ ∘ | \circ |
⋋ \leftthreetimes ⋋ | \leftthreetimes |
⋌ \rightthreetimes ⋌ | \rightthreetimes |
⨿ \amalg ⨿ | \amalg |
⊛ \circledast ⊛ | \circledast |
. \ldotp . | \ldotp |
⋊ \rtimes ⋊ | \rtimes |
& \And & | \And |
⊚ \circledcirc ⊚ | \circledcirc |
∨ \lor ∨ | \lor |
∖ \setminus ∖ | \setminus |
∗ \ast ∗ | \ast |
⊝ \circleddash ⊝ | \circleddash |
⋖ \lessdot ⋖ | \lessdot |
∖ \smallsetminus ∖ | \smallsetminus |
⊼ \barwedge ⊼ | \barwedge |
⋓ \Cup ⋓ | \Cup |
⊲ \lhd ⊲ | \lhd |
⊓ \sqcap ⊓ | \sqcap |
◯ \bigcirc ◯ | \bigcirc |
∪ \cup ∪ | \cup |
⋉ \ltimes ⋉ | \ltimes |
⊔ \sqcup ⊔ | \sqcup |
  m o d   \bmod mod | \bmod |
⋎ \curlyvee ⋎ | \curlyvee |
x m o d    a x\mod a xmoda | x\mod a |
× \times × | \times |
⊡ \boxdot ⊡ | \boxdot |
⋏ \curlywedge ⋏ | \curlywedge |
∓ \mp ∓ | \mp |
⊴ \unlhd ⊴ | \unlhd |
⊟ \boxminus ⊟ | \boxminus |
÷ \div ÷ | \div |
⊙ \odot ⊙ | \odot |
⊵ \unrhd ⊵ | \unrhd |
⊠ \boxtimes ⊠ | \boxtimes |
∔ \dotplus ∔ | \dotplus |
⊕ \oplus ⊕ | \oplus |
∨ \vee ∨ | \vee |
∙ \bullet ∙ | \bullet |
⩞ \doublebarwedge ⩞ | \doublebarwedge |
⊗ \otimes ⊗ | \otimes |
⊻ \veebar ⊻ | \veebar |
⋒ \Cap ⋒ | \Cap |
⋒ \doublecap ⋒ | \doublecap |
⊘ \oslash ⊘ | \oslash |
∧ \wedge ∧ | \wedge |
∩ \cap ∩ | \cap |
⋓ \doublecup ⋓ | \doublecup |
± \pm ± | \pm 或plusmn |
≀ \wr ≀ | \wr |
效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|
a b \frac{a}{b} ba | \frac{a}{b} |
a b \tfrac{a}{b} ba | \tfrac{a}{b} |
( a a + 1 ] \genfrac ( ] {2pt}{1}a{a+1} (a+1a] | \genfrac ( ] {2pt}{1}a{a+1} |
a b {a \over b} ba | {a \over b} |
a b \dfrac{a}{b} ba | \dfrac{a}{b} |
a b + 1 {a \above{2pt} b+1} b+1a | {a \above{2pt} b+1} |
a / b a/b a/b | a/b |
a 1 + 1 b \cfrac{a}{1 + \cfrac{1}{b}} 1+b1a | \cfrac{a}{1 + \cfrac{1}{b}} |
||
( n k ) \binom{n}{k} (kn) | \binom{n}{k} |
( n k ) \dbinom{n}{k} (kn) | \dbinom{n}{k} |
\{ n k \} {n\brace k} {kn} | {n\brace k} |
( n k ) {n \choose k} (kn) | {n \choose k} |
( n k ) \tbinom{n}{k} (kn) | \tbinom{n}{k} |
[ n k ] {n\brack k} [kn] | {n\brack k} |
效果 | 命令 | 效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|---|---|
arcsin \arcsin arcsin | \arcsin |
cotg \cotg cotg | \cotg |
ln \ln ln | \ln |
det \det det | \det |
arccos \arccos arccos | \arccos |
coth \coth coth | \coth |
log \log log | \log |
gcd \gcd gcd | \gcd |
arctan \arctan arctan | \arctan |
csc \csc csc | \csc |
sec \sec sec | \sec |
inf \inf inf | \inf |
arctg \arctg arctg | \arctg |
cth \cth cth | \cth |
sinh \sinh sinh | \sinh |
lim inf \liminf liminf | \liminf |
arg \arg arg | \arg |
deg \deg deg | \deg |
sh \sh sh | \sh |
lim sup \limsup limsup | \limsup |
ch \ch ch | \ch |
dim \dim dim | \dim |
tan \tan tan | \tan |
max \max max | \max |
cos \cos cos | \cos |
exp \exp exp | \exp |
tanh \tanh tanh | \tanh |
min \min min | \min |
cosec \cosec cosec | \cosec |
hom \hom hom | \hom |
tg \tg tg | \tg |
Pr \Pr Pr | \Pr |
cosh \cosh cosh | \cosh |
ker \ker ker | \ker |
th \th th | \th |
sup \sup sup | \sup |
cot \cot cot | \cot |
lg \lg lg | \lg |
f \operatorname{f} f | \operatorname{f} |
arg min \arg\min argmin | \arg\min |
arg min \arg\min argmin | \arg\min |
此表右列的函数可以采用
\limits
。
根号:
\sqrt{x},\sqrt[3]{x}
x \sqrt{x} x, x 3 \sqrt[3]{x} 3x
效果 | 命令 | 效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|---|---|
= = = | = |
≖ \eqcirc ≖ | \eqcirc |
⋚ \lesseqgtr ⋚ | \lesseqgtr |
⊐ \sqsupset ⊐ | \sqsupset |
< < < | < |
− : \eqcolon −: | \eqcolon |
⪋ \lesseqqgtr ⪋ | \lesseqqgtr |
⊒ \sqsupseteq ⊒ | \sqsupseteq |
> > > | > |
− : : \Eqcolon −:: | \Eqcolon |
≶ \lessgtr ≶ | \lessgtr |
⋐ \Subset ⋐ | \Subset |
: : : | : |
= : \eqqcolon =: | \eqqcolon |
≲ \lesssim ≲ | \lesssim |
⊂ \subset ⊂ | \subset 或\sub |
≈ \approx ≈ | \approx |
= : : \Eqqcolon =:: | \Eqqcolon |
≪ \ll ≪ | \ll |
⊆ \subseteq ⊆ | \subseteq 或\sube |
≊ \approxeq ≊ | \approxeq |
≂ \eqsim ≂ | \eqsim |
⋘ \lll ⋘ | \lll |
⫅ \subseteqq ⫅ | \subseteqq |
≍ \asymp ≍ | \asymp |
⪖ \eqslantgtr ⪖ | \eqslantgtr |
⋘ \llless ⋘ | \llless |
≻ \succ ≻ | \succ |
∍ \backepsilon ∍ | \backepsilon |
⪕ \eqslantless ⪕ | \eqslantless |
< \lt < | \lt |
⪸ \succapprox ⪸ | \succapprox |
∽ \backsim ∽ | \backsim |
≡ \equiv ≡ | \equiv |
∣ \mid ∣ | \mid |
≽ \succcurlyeq ≽ | \succcurlyeq |
⋍ \backsimeq ⋍ | \backsimeq |
≒ \fallingdotseq ≒ | \fallingdotseq |
⊨ \models ⊨ | \models |
⪰ \succeq ⪰ | \succeq |
≬ \between ≬ | \between |
⌢ \frown ⌢ | \frown |
⊸ \multimap ⊸ | \multimap |
≿ \succsim ≿ | \succsim |
⋈ \bowtie ⋈ | \bowtie |
≥ \ge ≥ | \ge |
∋ \owns ∋ | \owns |
⋑ \Supset ⋑ | \Supset |
≏ \bumpeq ≏ | \bumpeq |
≥ \geq ≥ | \geq |
∥ \parallel ∥ | \parallel |
⊃ \supset ⊃ | \supset |
≎ \Bumpeq ≎ | \Bumpeq |
≧ \geqq ≧ | \geqq |
⊥ \perp ⊥ | \perp |
⊇ \supseteq ⊇ | \supseteq 或\supe |
≗ \circeq ≗ | \circeq |
⩾ \geqslant ⩾ | \geqslant |
⋔ \pitchfork ⋔ | \pitchfork |
⫆ \supseteqq ⫆ | \supseteqq |
: ≈ \colonapprox :≈ | \colonapprox |
≫ \gg ≫ | \gg |
≺ \prec ≺ | \prec |
≈ \thickapprox ≈ | \thickapprox |
: : ≈ \Colonapprox ::≈ | \Colonapprox |
⋙ \ggg ⋙ | \ggg |
⪷ \precapprox ⪷ | \precapprox |
∼ \thicksim ∼ | \thicksim |
: − \coloneq :− | \coloneq |
⋙ \gggtr ⋙ | \gggtr |
≼ \preccurlyeq ≼ | \preccurlyeq |
⊴ \trianglelefteq ⊴ | \trianglelefteq |
: : − \Coloneq ::− | \Coloneq |
> \gt > | \gt |
⪯ \preceq ⪯ | \preceq |
≜ \triangleq ≜ | \triangleq |
: = \coloneqq := | \coloneqq |
⪆ \gtrapprox ⪆ | \gtrapprox |
≾ \precsim ≾ | \precsim |
⊵ \trianglerighteq ⊵ | \trianglerighteq |
: : = \Coloneqq ::= | \Coloneqq |
⋛ \gtreqless ⋛ | \gtreqless |
∝ \propto ∝ | \propto |
∝ \varpropto ∝ | \varpropto |
: ∼ \colonsim :∼ | \colonsim |
⪌ \gtreqqless ⪌ | \gtreqqless |
≓ \risingdotseq ≓ | \risingdotseq |
△ \vartriangle △ | \vartriangle |
: : ∼ \Colonsim ::∼ | \Colonsim |
≷ \gtrless ≷ | \gtrless |
∣ \shortmid ∣ | \shortmid |
⊲ \vartriangleleft ⊲ | \vartriangleleft |
≅ \cong ≅ | \cong |
≳ \gtrsim ≳ | \gtrsim |
∥ \shortparallel ∥ | \shortparallel |
⊳ \vartriangleright ⊳ | \vartriangleright |
⋞ \curlyeqprec ⋞ | \curlyeqprec |
∈ \in ∈ | \in 或\isin |
∼ \sim ∼ | \sim |
: \vcentcolon : | \vcentcolon |
⋟ \curlyeqsucc ⋟ | \curlyeqsucc |
⋈ \Join ⋈ | \Join |
≃ \simeq ≃ | \simeq |
⊢ \vdash ⊢ | \vdash |
⊣ \dashv ⊣ | \dashv |
≤ \le ≤ | \le |
⌢ \smallfrown ⌢ | \smallfrown |
⊨ \vDash ⊨ | \vDash |
: : \dblcolon :: | \dblcolon |
≤ \leq ≤ | \leq |
⌣ \smallsmile ⌣ | \smallsmile |
⊩ \Vdash ⊩ | \Vdash |
≐ \doteq ≐ | \doteq |
≦ \leqq ≦ | \leqq |
⌣ \smile ⌣ | \smile |
⊪ \Vvdash ⊪ | \Vvdash |
≑ \Doteq ≑ | \Doteq |
⩽ \leqslant ⩽ | \leqslant |
⊏ \sqsubset ⊏ | \sqsubset |
⊑ \sqsubseteq ⊑ | \sqsubseteq |
≑ \doteqdot ≑ | \doteqdot |
⪅ \lessapprox ⪅ | \lessapprox |
效果 | 命令 | 效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|---|---|
⪊ \gnapprox ⪊ | gnapprox |
\ngeqslant | \ngeqslant |
⊈ \nsubseteq ⊈ | \nsubseteq |
⪵ \precneqq ⪵ | \precneqq |
⪈ \gneq ⪈ | \gneq |
≯ \ngtr ≯ | \ngtr |
\nsubseteqq | \nsubseteqq |
⋨ \precnsim ⋨ | \precnsim |
≩ \gneqq ≩ | \gneqq |
≰ \nleq ≰ | \nleq |
⊁ \nsucc ⊁ | \nsucc |
⊊ \subsetneq ⊊ | \subsetneq |
⋧ \gnsim ⋧ | \gnsim |
\nleqq | \nleqq |
⋡ \nsucceq ⋡ | \nsucceq |
⫋ \subsetneqq ⫋ | \subsetneqq |
\gvertneqq | \gvertneqq |
\nleqslant | \nleqslant |
⊉ \nsupseteq ⊉ | \nsupseteq |
⪺ \succnapprox ⪺ | \succnapprox |
⪉ \lnapprox ⪉ | \lnapprox |
≮ \nless ≮ | \nless |
\nsupseteqq | \nsupseteqq |
⪶ \succneqq ⪶ | \succneqq |
⪇ \lneq ⪇ | \lneq |
∤ \nmid ∤ | \nmid |
⋪ \ntriangleleft ⋪ | \ntriangleleft |
⋩ \succnsim ⋩ | \succnsim |
≨ \lneqq ≨ | \lneqq |
∉ \notin ∈/ | \notin |
⋬ \ntrianglelefteq ⋬ | \ntrianglelefteq |
⊋ \supsetneq ⊋ | \supsetneq |
⋦ \lnsim ⋦ | \lnsim |
∌ \notni ̸∋ | \notni |
⋫ \ntriangleright ⋫ | \ntriangleright |
⫌ \supsetneqq ⫌ | \supsetneqq |
\lvertneqq | \lvertneqq |
∦ \nparallel ∦ | \nparallel |
⋭ \ntrianglerighteq ⋭ | \ntrianglerighteq |
\varsubsetneq | \varsubsetneq |
≆ \ncong ≆ | \ncong |
⊀ \nprec ⊀ | \nprec |
⊬ \nvdash ⊬ | \nvdash |
\varsubsetneqq | \varsubsetneqq |
≠ \ne ̸= | \ne |
⋠ \npreceq ⋠ | \npreceq |
⊭ \nvDash ⊭ | \nvDash |
\varsupsetneq | \varsupsetneq |
≠ \neq ̸= | \neq |
\nshortmid | \nshortmid |
⊯ \nVDash ⊯ | \nVDash |
\varsupsetneqq | \varsupsetneqq |
≱ \ngeq ≱ | \ngeq |
\nshortparallel | \nshortparallel |
⊮ \nVdash ⊮ | \nVdash |
⪹ \precnapprox ⪹ | \precnapprox |
\ngeqq | \ngeqq |
≁ \nsim ≁ | \nsim |
效果 | 命令 | 效果 | 命令 | 效果 | 命令 |
---|---|---|---|---|---|
↺ \circlearrowleft ↺ | \circlearrowleft |
↼ \leftharpoonup ↼ | \leftharpoonup |
⇒ \rArr ⇒ | \rArr |
↻ \circlearrowright ↻ | \circlearrowright |
⇇ \leftleftarrows ⇇ | \leftleftarrows |
→ \rarr → | \rarr |
↶ \curvearrowleft ↶ | \curvearrowleft |
↔ \leftrightarrow ↔ | \leftrightarrow |
↾ \restriction ↾ | \restriction |
↷ \curvearrowright ↷ | \curvearrowright |
⇔ \Leftrightarrow ⇔ | \Leftrightarrow |
→ \rightarrow → | \rightarrow |
⇓ \Darr ⇓ | \Darr |
⇆ \leftrightarrows ⇆ | \leftrightarrows |
⇒ \Rightarrow ⇒ | \Rightarrow |
⇓ \dArr ⇓ | \dArr |
⇋ \leftrightharpoons ⇋ | \leftrightharpoons |
↣ \rightarrowtail ↣ | \rightarrowtail |
↓ \darr ↓ | \darr |
↭ \leftrightsquigarrow ↭ | \leftrightsquigarrow |
⇁ \rightharpoondown ⇁ | \rightharpoondown |
⇠ \dashleftarrow ⇠ | \dashleftarrow |
⇚ \Lleftarrow ⇚ | \Lleftarrow |
⇀ \rightharpoonup ⇀ | \rightharpoonup |
⇢ \dashrightarrow ⇢ | \dashrightarrow |
⟵ \longleftarrow ⟵ | \longleftarrow |
⇄ \rightleftarrows ⇄ | \rightleftarrows |
↓ \downarrow ↓ | \downarrow |
⟸ \Longleftarrow ⟸ | \Longleftarrow |
⇌ \rightleftharpoons ⇌ | \rightleftharpoons |
⇓ \Downarrow ⇓ | \Downarrow |
⟷ \longleftrightarrow ⟷ | \longleftrightarrow |
⇉ \rightrightarrows ⇉ | \rightrightarrows |
⇊ \downdownarrows ⇊ | \downdownarrows |
⟺ \Longleftrightarrow ⟺ | \Longleftrightarrow |
⇝ \rightsquigarrow ⇝ | \rightsquigarrow |
⇃ \downharpoonleft ⇃ | downharpoonleft |
⟼ \longmapsto ⟼ | \longmapsto |
⇛ \Rrightarrow ⇛ | \Rrightarrow |
⇂ \downharpoonright ⇂ | downharpoonright |
⟶ \longrightarrow ⟶ | \longrightarrow |
↱ \Rsh ↱ | \Rsh |
← \gets ← | gets |
⟹ \Longrightarrow ⟹ | \Longrightarrow |
↘ \searrow ↘ | \searrow |
⇔ \Harr ⇔ | Harr |
↫ \looparrowleft ↫ | \looparrowleft |
↙ \swarrow ↙ | \swarrow |
⇔ \hArr ⇔ | hArr |
↬ \looparrowright ↬ | \looparrowright |
→ \to → | \to |
↔ \harr ↔ | harr |
⇔ \Lrarr ⇔ | \Lrarr |
↞ \twoheadleftarrow ↞ | \twoheadleftarrow |
↩ \hookleftarrow ↩ | hookleftarrow |
⇔ \lrArr ⇔ | \lrArr |
↠ \twoheadrightarrow ↠ | \twoheadrightarrow |
↪ \hookrightarrow ↪ | hookrightarrow |
↔ \lrarr ↔ | \lrarr |
⇑ \Uarr ⇑ | \Uarr |
   ⟺    \iff ⟺ | iff |
↰ \Lsh ↰ | \Lsh |
⇑ \uArr ⇑ | \uArr |
   ⟸    \impliedby ⟸ | impliedby |
↦ \mapsto ↦ | \mapsto |
↑ \uarr ↑ | \uarr |
   ⟹    \implies ⟹ | implies |
↗ \nearrow ↗ | \nearrow |
↑ \uparrow ↑ | \uparrow |
⇐ \Larr ⇐ | Larr |
↚ \nleftarrow ↚ | \nleftarrow |
⇑ \Uparrow ⇑ | \Uparrow |
← \larr ← | larr |
↮ \nleftrightarrow ↮ | \nleftrightarrow |
⇕ \Updownarrow ⇕ | \Updownarrow |
⇝ \leadsto ⇝ | leadsto |
⇎ \nLeftrightarrow ⇎ | \nLeftrightarrow |
↿ \upharpoonleft ↿ | \upharpoonleft |
← \leftarrow ← | leftarrow |
↛ \nrightarrow ↛ | \nrightarrow |
↾ \upharpoonright ↾ | \upharpoonright |
⇐ \Leftarrow ⇐ | Leftarrow |
⇏ \nRightarrow ⇏ | \nRightarrow |
⇈ \upuparrows ⇈ | \upuparrows |
↢ \leftarrowtail ↢ | leftarrowtail |
↖ \nwarrow ↖ | \nwarrow |
⇒ \Rarr ⇒ | \Rarr |
↽ \leftharpoondown ↽ | leftharpoondown |
效果 | 命令 | 效果 | 命令 |
---|---|---|---|
← a b c \xleftarrow{abc} abc | \xleftarrow{abc} |
→ u n d e r o v e r \xrightarrow[under]{over} overunder | \xrightarrow[under]{over} |
⇐ a b c \xLeftarrow{abc} abc | \xLeftarrow{abc} |
⇒ a b c \xRightarrow{abc} abc | \xRightarrow{abc} |
↔ a b c \xleftrightarrow{abc} abc | \xleftrightarrow{abc} |
⇔ a b c \xLeftrightarrow{abc} abc | \xLeftrightarrow{abc} |
↩ a b c \xhookleftarrow{abc} abc | \xhookleftarrow{abc} |
↪ a b c \xhookrightarrow{abc} abc | \xhookrightarrow{abc} |
↞ a b c \xtwoheadleftarrow{abc} abc | \xtwoheadleftarrow{abc} |
↠ a b c \xtwoheadrightarrow{abc} abc | \xtwoheadrightarrow{abc} |
↼ a b c \xleftharpoonup{abc} abc | \xleftharpoonup{abc} |
⇀ a b c \xrightharpoonup{abc} abc | \xrightharpoonup{abc} |
↽ a b c \xleftharpoondown{abc} abc | \xleftharpoondown{abc} |
⇁ a b c \xrightharpoondown{abc} abc | \xrightharpoondown{abc} |
⇋ a b c \xleftrightharpoons{abc} abc | \xleftrightharpoons{abc} |
⇌ a b c \xrightleftharpoons{abc} abc | \xrightleftharpoons{abc} |
⇄ a b c \xtofrom{abc} abc | \xtofrom{abc} |
↦ a b c \xmapsto{abc} abc | \xmapsto{abc} |
= a b c \xlongequal{abc} abc | \xlongequal{abc} |
所有扩展箭头都可以类似于\xrightarrow[under]{over}
的形式。例如 ← u n d e r a b c \xleftarrow[under]{abc} abcunder,\xleftarrow[under]{abc}
\arg\min\limits_{\theta} \ \ \| \mathrm{J} (\theta)\|
\mathop{\arg\min}\limits_{\theta} \ \ \| \mathrm{J} (\theta)\|
arg min θ ∥ J ( θ ) ∥ \arg\min\limits_{\theta} \ \ \| \mathrm{J} (\theta)\| argθmin ∥J(θ)∥
arg min θ ∥ J ( θ ) ∥ \mathop{\arg\min}\limits_{\theta} \ \ \| \mathrm{J} (\theta)\| θargmin ∥J(θ)∥
可以看出
\mathop
排列了 θ \theta θ在 arg min {\arg\min} argmin下的显示位置。
无论是\mathbin
,\mathclose
,\mathinner
,\mathop
,\mathopen
,\mathord
,\mathpunct
, \mathrel
,大多数都是调整公式操作数间的间距。
下面给出部分示例,另外有会说明一些部分区别。
展示命令 | 不用效果 | 命令 | 使用效果 | 命令 |
---|---|---|---|---|
mathbin |
a ! b a!b a!b | a!b |
a ! b a\mathbin{!}b a!b | a\mathbin{!}b |
mathclose |
a + ( b > + c a + (b\gt + c a+(b>+c | a + (b\gt + c |
a + ( b > + c a + (b\mathclose\gt + c a+(b>+c | a + (b\mathclose\gt + c |
mathinner |
a b inside c d ab\text{inside}cd abinsidecd | ab\text{inside}cd |
a b inside c d ab\mathinner{\text{inside}}cd abinsidecd | ab\mathinner{\text{inside}}cd |
mathop |
⋆ a b \star_a^b ⋆ab | \star_a^b |
⋆ a b \mathop{\star}_a^b ⋆ab | \mathop{\star}_a^b |
mathopen |
a + < b ) + c a + \lt b) + c a+<b)+c | a + \lt b) + c |
a + < b ) + c a + \mathopen\lt b) + c a+<b)+c | a + \mathopen\lt b) + c |
mathord |
1 , 234 , 567 1{,}234{,}567 1,234,567 | 1{,}234{,}567 |
1 , 234 , 567 1\mathord{,}234{,}567 1,234,567 | 1\mathord{,}234{,}567 |
mathpunct |
A − B A{-}B A−B | A{-}B |
A − B A\mathpunct{-}B A−B | A\mathpunct{-}B |
mathrel |
a # b a{\#} b a#b | a{\#} b |
a # b a \mathrel{\#} b a#b | a \mathrel{\#} b |
在支持latex运行下面代码,可以看见微小的区别,为了方便,本文在该代码下方,写简化的结果,间隔计算是由latex计算。
\documentclass{article}
\begin{document}
\begin{tabular}{clc}
\multicolumn{3}{c}{Relations} \\[5pt]
\LaTeX & Typeset & width \\ \hline
\verb|$x=x$| & $x=x$ & \setbox0=\hbox{$x=x$} \the\wd0 \\
\verb|$x\mathbin{=}x$| & $x\mathbin{=}x$ & \setbox0=\hbox{$x\mathbin{=}x$} \the\wd0 \\
\verb|$x\mathrel{=}x$| & $x\mathrel{=}x$ & \setbox0=\hbox{$x\mathrel{=}x$} \the\wd0 \\[10pt]
\multicolumn{3}{c}{Binary operators} \\[5pt]
\LaTeX & Typeset & width \\ \hline
\verb|$x+x$| & $x+x$ & \setbox0=\hbox{$x+x$} \the\wd0 \\
\verb|$x\mathbin{+}x$| & $x\mathbin{+}x$ & \setbox0=\hbox{$x\mathbin{+}x$} \the\wd0 \\
\verb|$x\mathrel{+}x$| & $x\mathrel{+}x$ & \setbox0=\hbox{$x\mathrel{+}x$} \the\wd0
\end{tabular}
\end{document}
针对关系运算符。
代码 | 效果 | 宽度 |
---|---|---|
x=x |
x = x x=x x=x | 24.76376pt |
x\mathbin{=}x |
x = x x\mathbin{=}x x=x | 23.65268pt |
x\mathrel{=}x |
x = x x\mathrel{=}x x=x | 24.76376pt |
针对二元运算符。
代码 | 效果 | 宽度 |
---|---|---|
x+x |
x + x x+x x+x | 23.65268pt |
x\mathbin{+}x |
x + x x\mathbin{+}x x+x | 23.65268pt |
x\mathrel{+}x |
x + x x\mathrel{+}x x+x | 24.76376pt |
\mathbin
修改某些东西周围的间距,使其符合二元运算符的间距。\mathrel
修改间距以表示二元关系。每个数学字符被指定一个识别码数字, 在0 和4095 之间,它等于256 乘以族数再加上位置数。这很容易用十六进制表示, 一位十六进制数为族数, 两位为字符位置; 例如, “24A” 表示第2 族的“4A”字符。每个字符还可以指定到8 类中的一类, 编号从0 到7, 如下表所示。
类 | 意思 | 例子 | 类 | 意思 | 例子 |
---|---|---|---|---|---|
0 | Ordinary(普通符号) | / |
4 | Opening(开符号) | ( |
1 | Large operator(巨符号) | \sum |
5 | Closing(闭符号) | ) |
2 | Binary operation(二元运算) | + |
6 | Punctuation(标点) | , |
3 | Relation(关系符号) | = |
7 | Variable family(变量族) | x |
前7类比较容易熟悉,而第7类比较少用,它允许数学符号改变族数,至少目前非一般专业人士,不太用这个(强迫症患者特别喜欢用这些命令进行间距控制)。其实经过对比,很容易发现,本小节涉及的几个命令,例如mathrel
中的rel是Relation(关系符号)的缩写。
如果需要的话, 可以把一个复杂的式子看作二元运算或关系符号等等。为此这几个命令才起作用。例如 G : H G\mathbin:H G:H中,显示代码是G\mathbin:H
,冒号被看作二元运算。值得注意的是,\mathinner
, 一般不用在单个符号上。
个人觉得这部分的命令,最重要的大概是
\mathop
,其他的有需再用,对于一般博客的排版来说,并非需要如此精致。
现存支持颜色可以通过定义rgb值来自定义自己的颜色,部分可以用相应英文给替代。
英文 | RGB值 | 颜色效果 | 示例源码 | 是否支持英文缩写 |
---|---|---|---|---|
Apricot | fbceb1 |
M a \textcolor{#fbceb1}{Ma} Ma | \textcolor{#fbceb1}{Ma} |
否 |
Aquamarine | #7FFFD4 |
M a \textcolor{Aquamarine}{Ma} Ma | \textcolor{Aquamarine}{ma} |
是 |
Bittersweet | #FE6F5E |
M a \textcolor{#FE6F5E}{Ma} Ma | \textcolor{#FE6F5E}{ma} |
否 |
Black | #000000 |
M a \textcolor{Black}{Ma} Ma | \textcolor{Black}{Ma} |
是 |
Blue | #0000FF |
M a \textcolor{Blue}{Ma} Ma | \textcolor{Blue}{Ma} |
是 |
BlueGreen | #0d98ba |
M a \textcolor{#0d98ba}{Ma} Ma | \textcolor{#0d98ba}{Ma} |
否 |
BlueViolet | #8a2be2 |
M a \textcolor{BlueViolet}{Ma} Ma | \textcolor{BlueViolet}{Ma} |
是 |
BrickRed | #CB4154 |
M a \textcolor{#CB4154}{Ma} Ma | \textcolor{#CB4154}{Ma} |
否 |
Brown | #964B00 |
M a \textcolor{Brown}{Ma} Ma | \textcolor{Brown}{Ma} |
是 |
BurntOrange | #CC5500 |
M a \textcolor{#CC5500}{Ma} Ma | \textcolor{#CC5500}{Ma} |
否 |
CadetBlue | #5F9EA0 |
M a \textcolor{CadetBlue}{Ma} Ma | \textcolor{CadetBlue}{Ma} |
是 |
CarnationPink | #FFA6C9 |
M a \textcolor{#FFA6C9}{Ma} Ma | \textcolor{#FFA6C9}{Ma} |
否 |
Cerulean | #1DACD6 |
M a \textcolor{#1DACD6}{Ma} Ma | \textcolor{#1DACD6}{Ma} |
否 |
CornflowerBlue | #6495ED |
M a \textcolor{CornflowerBlue}{Ma} Ma | \textcolor{CornflowerBlue}{Ma} |
是 |
Cyan | #00FFFF |
M a \textcolor{Cyan}{Ma} Ma | \textcolor{Cyan}{Ma} |
是 |
Dandelion | #F0E130 |
M a \textcolor{#F0E130}{Ma} Ma | \textcolor{#F0E130}{Ma} |
否 |
DarkOrchid | #9932CC |
M a \textcolor{DarkOrchid}{Ma} Ma | \textcolor{DarkOrchid}{Ma} |
是 |
Emerald | #50C878 |
M a \textcolor{#50C878}{Ma} Ma | \textcolor{#50C878}{Ma} |
否 |
ForestGreen | #228B22 |
M a \textcolor{ForestGreen}{Ma} Ma | \textcolor{ForestGreen}{Ma} |
是 |
Fuchsia | #FF00FF |
M a \textcolor{Fuchsia}{Ma} Ma | \textcolor{Fuchsia}{Ma} |
是 |
Goldenrod | #DAA520 |
M a \textcolor{Goldenrod}{Ma} Ma | \textcolor{Goldenrod}{Ma} |
是 |
Gray | #808080 |
M a \textcolor{Gray}{Ma} Ma | \textcolor{Gray}{Ma} |
是 |
Green | #008000 |
M a \textcolor{Green}{Ma} Ma | \textcolor{Green}{Ma} |
是 |
GreenYellow | #adff2f |
M a \textcolor{GreenYellow}{Ma} Ma | \textcolor{GreenYellow}{Ma} |
是 |
JungleGreen | #29AB87 |
M a \textcolor{#29AB87}{Ma} Ma | \textcolor{#29AB87}{Ma} |
否 |
Lavender | #E6E6FA |
M a \textcolor{Lavender}{Ma} Ma | \textcolor{Lavender}{Ma} |
是 |
LimeGreen | #32CD32 |
M a \textcolor{LimeGreen}{Ma} Ma | \textcolor{LimeGreen}{Ma} |
是 |
Magenta | #FF00FF |
M a \textcolor{Magenta}{Ma} Ma | \textcolor{Magenta}{Ma} |
是 |
Mahogany | #C04000 |
M a \textcolor{#C04000}{Ma} Ma | \textcolor{#C04000}{Ma} |
否 |
Maroon | #800000 |
M a \textcolor{#800000}{Ma} Ma | \textcolor{#800000}{Ma} |
否 |
Melon | #FDBCB4 |
M a \textcolor{#FDBCB4}{Ma} Ma | \textcolor{#FDBCB4}{Ma} |
否 |
MidnightBlue | #191970 |
M a \textcolor{#191970}{Ma} Ma | \textcolor{#191970}{Ma} |
否 |
Mulberry | #C54B8C |
M a \textcolor{#C54B8C}{Ma} Ma | \textcolor{#C54B8C}{Ma} |
否 |
NavyBlue | #000080 |
M a \textcolor{#000080}{Ma} Ma | \textcolor{#000080}{Ma} |
否 |
OliveGreen | #bab86c |
M a \textcolor{#bab86c}{Ma} Ma | \textcolor{#bab86c}{Ma} |
否 |
Orange | #FFA500 |
M a \textcolor{Orange}{Ma} Ma | \textcolor{Orange}{Ma} |
是 |
OrangeRed | #FF4500 |
M a \textcolor{OrangeRed}{Ma} Ma | \textcolor{OrangeRed}{Ma} |
是 |
Orchid | #DA70D6 |
M a \textcolor{Orchid}{Ma} Ma | \textcolor{Orchid}{Ma} |
是 |
Peach | #FFE5B4 |
M a \textcolor{#FFE5B4}{Ma} Ma | \textcolor{#FFE5B4}{Ma} |
否 |
Periwinkle | #CCCCFF |
M a \textcolor{#CCCCFF}{Ma} Ma | \textcolor{#CCCCFF}{Ma} |
否 |
PineGreen | #01796F |
M a \textcolor{#01796F}{Ma} Ma | \textcolor{#01796F}{Ma} |
否 |
Plum | #DDA0DD |
M a \textcolor{Plum}{Ma} Ma | \textcolor{Plum}{Ma} |
是 |
ProcessBlue | #0085CA |
M a \textcolor{#0085CA}{Ma} Ma | \textcolor{#0085CA}{Ma} |
否 |
Purple | #800080 |
M a \textcolor{Purple}{Ma} Ma | \textcolor{Purple}{Ma} |
是 |
RawSienna | #d68a59 |
M a \textcolor{#d68a59}{Ma} Ma | \textcolor{#d68a59}{Ma} |
否 |
Red | #FF0000 |
M a \textcolor{Red}{Ma} Ma | \textcolor{Red}{Ma} |
是 |
RedOrange | #ff5349 |
M a \textcolor{#ff5349}{Ma} Ma | \textcolor{#ff5349}{Ma} |
否 |
RedViolet | #c71585 |
M a \textcolor{#c71585}{Ma} Ma | \textcolor{#c71585}{Ma} |
否 |
Rhodamine | #e60094 |
M a \textcolor{#e60094}{Ma} Ma | \textcolor{#e60094}{Ma} |
否 |
RoyalBlue | #002366 |
M a \textcolor{RoyalBlue}{Ma} Ma | \textcolor{RoyalBlue}{Ma} |
是 |
RoyalPurple | #7851A9 |
M a \textcolor{#7851A9}{Ma} Ma | \textcolor{#7851A9}{Ma} |
否 |
RubineRed | #d10056 |
M a \textcolor{#d10056}{Ma} Ma | \textcolor{#d10056}{Ma} |
否 |
Salmon | #FF8C69 |
M a \textcolor{Salmon}{Ma} Ma | \textcolor{Salmon}{Ma} |
是 |
SeaGreen | #2E8B57 |
M a \textcolor{SeaGreen}{Ma} Ma | \textcolor{SeaGreen}{Ma} |
是 |
Sepia | #704214 |
M a \textcolor{#704214}{Ma} Ma | \textcolor{#704214}{Ma} |
否 |
SkyBlue | #87CEEB |
M a \textcolor{SkyBlue}{Ma} Ma | \textcolor{SkyBlue}{Ma} |
是 |
SpringGreen | #00FF7F |
M a \textcolor{SpringGreen}{Ma} Ma | \textcolor{SpringGreen}{Ma} |
是 |
Tan | #D2B48C |
M a \textcolor{Tan}{Ma} Ma | \textcolor{Tan}{Ma} |
是 |
TealBlue | #367588 |
M a \textcolor{#367588}{Ma} Ma | \textcolor{#367588}{Ma} |
否 |
Thistle | #D8BFD8 |
M a \textcolor{Thistle}{Ma} Ma | \textcolor{Thistle}{Ma} |
是 |
Turquoise | #30D5C8 |
M a \textcolor{Turquoise}{Ma} Ma | \textcolor{Turquoise}{Ma} |
是 |
Violet | #EE82EE |
M a \textcolor{Violet}{Ma} Ma | \textcolor{Violet}{Ma} |
是 |
VioletRed | #c71585 |
M a \textcolor{#c71585}{Ma} Ma | \textcolor{#c71585}{Ma} |
否 |
White | #c71585 |
Ma \colorbox{Black}{\textcolor{White}{Ma}} Ma | \colorbox{Black}{\textcolor{White}{Ma}} |
是 |
WildStrawberry | #FF43A4 |
M a \textcolor{#FF43A4}{Ma} Ma | \textcolor{#FF43A4}{Ma} |
否 |
Yellow | #FFFF00 |
Ma \colorbox{Blue}{\textcolor{Yellow}{Ma}} Ma | \colorbox{Blue}{\textcolor{Yellow}{Ma}} |
是 |
YellowGreen | #9ACD32 |
M a \textcolor{YellowGreen}{Ma} Ma | \textcolor{YellowGreen}{Ma} |
是 |
YellowOrange | #ffae42 |
M a \textcolor{#ffae42}{Ma} Ma | \textcolor{#ffae42}{Ma} |
否 |
更多颜色,可以观察此处。
源码:\colorbox{aqua}{A}
效果:
A \colorbox{aqua}{A} A
源码:\fcolorbox{red}{aqua}{A}
效果:
A \fcolorbox{red}{aqua}{A} A
fcolorbox
的第一个括号是边框的颜色,第二个括号填的是边框内的背景色,第三个括号是边框内的文字,颜色均支持rgb值。
源码:\boxed{Hi !}
效果:
H i ! \boxed{Hi !} Hi!
源码:\fbox{Hi !}
效果:
Hi ! \fbox{Hi !} Hi !
效果 | 源码 | 类型 |
---|---|---|
A B \Huge AB AB | \Huge AB |
Huge |
A B \huge AB AB | \huge AB |
huge |
A B \LARGE AB AB | \LARGE AB |
LARGE |
A B \Large AB AB | \Large AB |
Large |
A B \large AB AB | \large AB |
large |
A B \normalsize AB AB | \normalsize AB |
normalsize |
A B \small AB AB | \small AB |
small |
A B \footnotesize AB AB | \footnotesize AB |
footnotesize |
A B \scriptsize AB AB | \scriptsize AB |
scriptsize |
A B \tiny AB AB | \tiny AB |
tiny |
处理公式时,有八种不同的字体。
以及四种其它的“近似”字体, 它们与上面四种几乎一样, 只是指数升高得不那么多。
将八种字体风格分别命名为 D , D ′ , T , T ′ , S , S ′ , S S , S S ′ D,D^\prime,T,T^\prime,S,S^\prime,SS,SS^\prime D,D′,T,T′,S,S′,SS,SS′。
数学字体的三种不同大小, 分别叫做文本尺寸, 标号尺寸, 小标号尺寸。
封装在符号$ ⋯ \cdots ⋯$ 中,是文本字体(T)。封装在符号$$ ⋯ \cdots ⋯$$ 中,是列表字体(D)。
公式的子公式使用的可能是不同的字体
公式字体 | 上标字体 | 下标字体 |
---|---|---|
D , T D,T D,T | S S S | S ′ S^\prime S′ |
D ′ , T ′ D^\prime,T^\prime D′,T′ | S ′ S^\prime S′ | S ′ S^\prime S′ |
S , S S S,SS S,SS | S S SS SS | S S ′ SS^\prime SS′ |
S ′ , S S ′ S^\prime,SS^\prime S′,SS′ | S S ′ SS^\prime SS′ | S S ′ SS^\prime SS′ |
如果 x a b x^{a_b} xab,使用的字体 D D D排版,那么 a b a_b ab用字体 S S S排版,下标 b b b用 S S SS SS排版。
输入\displaystyle
, \textstyle
,\scriptstyle
或者\scriptscriptstyle
来规定规定所要字体,所选定的字体将应用到公式或子公式结束, 或者直到给出另外一种字体。
例如, n + n + n . n+\scriptstyle n+\scriptscriptstyle n. n+n+n.
得到的所有列表公式,随着字体的改变, 加号也变得更小了。
效果 | 源码 | 备注 |
---|---|---|
∑ i = 1 n \displaystyle\sum_{i=1}^n i=1∑n | \displaystyle\sum_{i=1}^n |
|
∑ i = 1 n \textstyle\sum_{i=1}^n ∑i=1n | \textstyle\sum_{i=1}^n |
|
x \scriptstyle x x | \scriptstyle x |
第一个子/上标的大小 |
x \scriptscriptstyle x x | \scriptscriptstyle x |
后续子/上标的大小 |
lim x \lim\limits_x xlim | \lim\limits_x |
|
lim x \lim\nolimits_x limx | \lim\nolimits_x |
|
x^2 \verb!x^2! x^2 | \verb!x^2! |
效果 | 源码 | 效果 | 源码 | 效果 | 源码 |
---|---|---|---|---|---|
% comment | % comment |
… \dots … | \dots |
KaTeX \KaTeX KATEX | \KaTeX |
% \% % | \% |
⋯ \cdots ⋯ | \cdots |
LaTeX \LaTeX LATEX | \LaTeX |
# \# # | \# |
⋱ \ddots ⋱ | \ddots |
TeX \TeX TEX | \TeX |
& \& & | \& |
… \ldots … | \ldots |
∇ \nabla ∇ | \nabla |
_ \_ _ | \_ |
⋮ \vdots ⋮ | \vdots |
∞ \infty ∞ | \infty |
_ \text{\textunderscore} _ | \text{\textunderscore} |
⋯ \dotsb ⋯ | \dotsb |
∞ \infin ∞ | \infin |
– \text{--} – | \text{--} |
… \dotsc … | \dotsc |
✓ \checkmark ✓ | \checkmark |
– \text{\textendash} – | \text{\textendash} |
​ ⋯ \dotsi ⋯ | \dotsi |
† \dag † | \dag |
— \text{---} — | \text{---} |
⋯ \dotsm ⋯ | \dotsm |
† \dagger † | \dagger |
— \text{\textemdash} — | \text{\textemdash} |
… \dotso … | \dotso |
† \text{\textdagger} † | \text{\textdagger} |
~ \text{\textasciitilde} ~ | \text{\textasciitilde} |
⋅ \sdot ⋅ | \sdot |
‡ \ddag ‡ | \ddag |
… \mathellipsis … | \mathellipsis |
‡ \ddagger ‡ | \ddagger |
||
… \text{\textellipsis} … | \text{\textellipsis} |
‡ \text{\textdaggerdbl} ‡ | \text{\textdaggerdbl} |
||
□ \Box □ | \Box |
‡ \text{\textdaggerdbl} ‡ | \Dagger |
||
‘ \lq ‘ | \lq |
□ \square □ | \square |
∠ \angle ∠ | \angle |
’ \text{\textquoteright} ’ | \text{\textquoteright} |
■ \blacksquare ■ | \blacksquare |
∡ \measuredangle ∡ | \measuredangle |
′ \rq ′ | \rq |
△ \triangle △ | \triangle |
∢ \sphericalangle ∢ | \sphericalangle |
“ \text{\textquotedblleft} “ | \text{\textquotedblleft} |
▽ \triangledown ▽ | \triangledown |
⊤ \top ⊤ | \top |
" " " | " |
◃ \triangleleft ◃ | \triangleleft |
⊥ \bot ⊥ | \bot |
” \text{\textquotedblright} ” | \text{\textquotedblright} |
▹ \triangleright ▹ | \triangleright |
$$$ | \$ |
​ : \colon : | \colon |
▽ \bigtriangledown ▽ | \bigtriangledown |
$ \text{\textdollar} $ | \text{\textdollar} |
‵ \backprime ‵ | \backprime |
△ \bigtriangleup △ | \bigtriangleup |
£ \pounds £ | \pounds |
′ \prime ′ | \prime |
▲ \blacktriangle ▲ | \blacktriangle |
£ \mathsterling £ | \mathsterling |
< \text{\textless} < | \prime |
▼ |