Typesetting with . This is a list of functions supported by Blot. It is sorted into logical groups.
Blot can typeset $$\TeX$$. Use two dollar signs ($) to delimit the $$\TeX$$. You can use $$\TeX$$ in the middle of a sentence, or on its own line: $$ f(x) = 2x^2 + 2/3 $$
a’ | \overrightarrow{AB} | ||
\ddot{a} | \overleftarrow{AB} | ||
a’′ | \underrightarrow{AB} | ||
\grave{a} | \underleftarrow{AB} | ||
a^{\prime} | \overbrace{AB} | ||
\hat{\theta} | \overleftrightarrow{AB} | ||
\acute{a} | \underbrace{AB} | ||
\widehat{ac} | \underleftrightarrow{AB} | ||
\bar{y} | \overlinesegment{AB} | ||
\tilde{a} | \overgroup{AB} | ||
\breve{a} | \underlinesegment{AB} | ||
\widetilde{ac} | \undergroup{AB} | ||
\check{a} | \overrightharpoon{ac} | ||
\vec{F} | \overleftharpoon{ac} | ||
\dot{a} | \utilde{AB} | ||
\overline{AB} | \Overrightarrow{AB} | ||
\underline{AB} |
See also letters.
\text{…}
'{a} | \~{a} | \.{a} | |||
\`{a} | \={a} | "{a} | |||
\^{a} | \u{a} | \r{a} | |||
\H{a} | \v{a} |
( ) | \lgroup \rgroup |
\lceil \rceil |
\uparrow | ||||
[ ] | \lbrack \rbrack |
⌊⌋ | \lfloor \rfloor |
\downarrow | |||
\{ \} | \lbrace \rbrace |
\ulcorner \urcorner |
\updownarrow | ||||
\langle \rangle |
\lt \gt |
\llcorner \lrcorner |
\Uparrow | ||||
| | \vert | \backslash | \Downarrow | ||||
\| | \Vert | \lmoustache \rmoustache |
\Updownarrow | ||||
\lvert \rvert |
\lVert \rVert |
\left. | \right. |
\left( \LARGE{AB} \right) | \left | \big | \bigl | \bigr | |
\middle | \Big | \Bigl | \Bigr | ||
( \big( \Big( \bigg( \Bigg( | \right | \bigg | \biggl | \biggr | |
\Bigg | \Biggl | \Biggr |
\begin{matrix} a & b \\ c & d \end{matrix}
|
\begin{array}{c|c} a & b \\ c & d \end{array}
|
||
\begin{pmatrix} a & b \\ c & d \end{pmatrix}
|
\begin{bmatrix} a & b \\ c & d \end{bmatrix}
|
||
\begin{vmatrix} a & b \\ c & d \end{vmatrix}
|
\begin{Vmatrix} a & b \\ c & d \end{Vmatrix}
|
||
\begin{Bmatrix} a & b \\ c & d \end{Bmatrix}
|
\def\arraystretch{1.5} \begin{array}{c:c:c} a & b & c \\
\hline d & e & f \\ \hdashline g & h & i
\end{array}
|
||
\begin{aligned} a&=b+c \\ d+e&=f \end{aligned}
|
\begin{alignedat}{2} 10&x+ &3&y = 2 \\ 3&x+&13&y = 4
\end{alignedat}
|
||
\begin{gathered} a=b \\ e=b+c \end{gathered}
|
x = \begin{cases} a &\text{if } b \\ c &\text{if } d
\end{cases}
|
There is also support for {darray}
and {dcases}
.
Acceptable line separators include: \\
, \cr
, and
\\[distance]
. Distance can be written with
any of the units. The {array}
environment
does not yet support \hline
.
Γ | \Gamma | Δ | \Delta | Θ | \Theta | Λ | \Lambda |
Ξ | \Xi | Π | \Pi | Σ | \Sigma | Υ | \Upsilon |
Φ | \Phi | Ψ | \Psi | Ω | \Omega | ||
α | \alpha | β | \beta | γ | \gamma | δ | \delta |
ϵ | \epsilon | ζ | \zeta | η | \eta | θ | \theta |
ι | \iota | κ | \kappa | λ | \lambda | μ | \mu |
ν | \nu | ξ | \xi | o | \omicron | π | \pi |
ρ | \rho | σ | \sigma | τ | \tau | υ | \upsilon |
ϕ | \phi | χ | \chi | ψ | \psi | ω | \omega |
ε | \varepsilon | ϰ | \varkappa | ϑ | \vartheta | ϖ | \varpi |
ϱ | \varrho | ς | \varsigma | φ | \varphi | ϝ | \digamma |
Direct Input: |
Γ Δ Θ Λ Ξ Π Σ Υ Φ Ψ Ω α β γ δ ϵ ζ η θ ι κ λ μ ν ξ o π ρ σ τ υ ϕ χ ψ ω ε ϑ ϖ ϱ ς φ |
\imath | \jmath | ℵ | \aleph | ℶ | \beth | ℷ | \gimel | ||
ℸ | \daleth | ð | \eth | Ⅎ | \Finv | ⅁ | \Game | ℓ | \ell |
ℏ | \hbar | ℏ | \hslash | ℑ | \Im | ℜ | \Re | ℘ | \wp |
∂ | \partial | ∇ | \nabla | \Bbbk | |||||
Direct Input: |
ℂ ℍ ℕ ℙ ℚ ℝ ℤ ∂ ð ∇ ℑ ℓ ℘ ℜ Ⅎ ℵ ℶ ℷ ℸ ⅁ ÀÁÂÃÄÅÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖÙÚÛÜÝÞ àáâãäåçèéêëìíîïðñòóôöùúûüýþÿ |
\text{}
\text{…}
will accept the functions: \ae
,
\AE
, \oe
, \OE
, \o
,
\O
, \ss
, \i
, \j
.
\text{…}
also accepts Unicode characters from:
Script | Unicode Range | Script | Unicode Range |
---|---|---|---|
Latin-1 | 0080 — 00FF | Sinhala | 0D80 — 0DFF |
Cyrillic | 0400 — 04FF | Thai | 0E00 — 0E7F |
Devanagari | 0900 — 097F | Lao | 0E80 — 0EFF |
Bengali | 0980 — 09FF | Tibetan | 0F00 — 0FFF |
Gurmukhi | 0A00 — 0A7F | CJK symbols and punctuation | 3000 — 303F |
Gujarati | 0A80 — 0AFF | Hiragana | 3040 — 309F |
Oriya | 0B00 — 0B7F | Katakana | 30A0 — 30FF |
Tamil | 0B80 — 0BFF | CJK ideograms | 4E00 — 9FAF |
Telugu | 0C00 — 0C7F | Hangul | AC00 — D7AF |
Kannada | 0C80 — 0CFF | Full width punctuation | FF00 — FF60 |
Malayalam | 0D00 — 0D7F |
\cancel{5} | \overbrace{a+b+c}^{\text{note}} | ||
\bcancel{5} | \underbrace{a+b+c}_{\text{note}} | ||
\xcancel{ABC} | \boxed{\pi=\frac c d} | ||
\sout{abc} | |||
\not = |
{=}\mathllap{/\,} | \left(x^{\smash{2}}\right) | ||
\mathrlap{\,/}{=} | \sqrt{\smash[b]{y}} | ||
\sum_{\mathclap{1\le i\le j\le n}} x_{ij} |
There is also support for \llap
, \rlap
, and
\clap
, but they will take only text, not math, as arguments.
Function | Produces | Function | Produces |
---|---|---|---|
\! | – ³∕₁₈ em space | \kern{distance} | space, width = distance |
\, | ³∕₁₈ em space | \mkern{distance} | space, width = distance |
\thinspace | ³∕₁₈ em space | \skip{distance} | space, width = distance |
\: | ⁴∕₁₈ em space | \mskip{distance} | space, width = distance |
\medspace | ⁴∕₁₈ em space | \hspace{distance} | space, width = distance |
\; | ⁵∕₁₈ em space | \hspace*{distance} | space, width = distance |
\thickspace | ⁵∕₁₈ em space | \phantom{content} | space the width and height of content |
\enspace | ½ em space | \hphantom{content} | space the width of content |
\quad | 1 em space | \vphantom{content} | a strut the height of content |
\qquad | 2 em space | ||
~ | non-breaking space | ||
\space | non-breaking space | ||
\space | non-breaking space |
{distance} will accept any of the units.
\mkern
and \mskip
will not work in text mode and
both will write a console warning for any unit except mu.
See also environments
x_n | \stackrel{!}{=} | a \atop b | |||
e^x | \overset{!}{=} | a\raisebox{0.25em}{b}c | |||
_u^o | \underset{!}{=} |
See also relations and binary operators
∀ | \forall | ∁ | \complement | ∴ | \therefore | ¬ | \neg or \lnot |
∃ | \exists | ⊂ | \subset | ∵ | \because | ∅ | \emptyset or \varnothing |
∄ | \nexists | ⊃ | \supset | ↦ | \mapsto | ||
∈ | \in | ∣ | \mid | → | \to | ⟹ | \implies |
∉ | \notin | ∧ | \land | ← | \gets | ⟸ | \impliedby |
∋ | \ni | ∨ | \lor | ↔ | \leftrightarrow | ⟺ | \iff |
\notni | |||||||
Direct Input: | ∀ ∴ ∁ ∵ ∃ ∣ ∈ ∉ ∋ ⊂ ⊃ ∧ ∨ ↦ → ← ↔ ℂ ℍ ℕ ℙ ℚ ℝ ℤ |
∑ | \sum | ∏ | \prod | ⋁ | \bigvee | ⨂ | \bigotimes |
∫ | \int | ∐ | \coprod | ⋀ | \bigwedge | ⨁ | \bigoplus |
∬ | \iint | ∫ | \intop | ⋂ | \bigcap | ⨀ | \bigodot |
∭ | \iiint | ∫ | \smallint | ⋃ | \bigcup | ⨄ | \biguplus |
∮ | \oint | ⨆ | \bigsqcup | ||||
Direct Input: | ∫ ∬ ∭ ∮ ∏ ∐ ∑ ⋀ ⋁ ⋂ ⋃ ⨀ ⨁ ⨂ ⨄ ⨆ |
+ | + | ⋅ | \cdot | ⋗ | \gtrdot | ||
− | - | ⋅ | \cdotp | ⊺ | \intercal | ||
/ | / | \centerdot | ∧ | \land | |||
∗ | * | ∘ | \circ | ⋋ | \leftthreetimes | ||
⨿ | \amalg | ⊛ | \circledast | . | \ldotp | ||
& | \And | ⊚ | \circledcirc | ∨ | \lor | ||
∗ | \ast | ⊝ | \circleddash | ⋖ | \lessdot | ||
⊼ | \barwedge | ⋓ | \Cup | ⊲ | \lhd | ||
◯ | \bigcirc | ∪ | \cup | ⋉ | \ltimes | ||
⊡ | \boxdot | ⋎ | \curlyvee | ⊳ | \rhd | ||
⋏ | \curlywedge | ∓ | \mp | ⊟ | \boxminus | ||
÷ | \div | ⊙ | \odot | ⊞ | \boxplus | ||
⋇ | \divideontimes | ⊖ | \ominus | ⊠ | \boxtimes | ||
∔ | \dotplus | ⊕ | \oplus | ∙ | \bullet | ||
⩞ | \doublebarwedge | ⊗ | \otimes | ⋒ | \Cap | ||
⋒ | \doublecap | ⊘ | \oslash | ∩ | \cap | ||
⋓ | \doublecup | ± | \pm | ⋌ | \rightthreetimes | ||
⋊ | \rtimes | ∖ | \setminus | \smallsetminus | |||
⊓ | \sqcap | ⊔ | \sqcup | × | \times | ||
⊴ | \unlhd | ⊵ | \unrhd | ⊎ | \uplus | ||
∨ | \vee | ⊻ | \veebar | ∧ | \wedge | ||
≀ | \wr | ||||||
x \pmod a | x \pod a | ||||||
x\mod a | \bmod | ||||||
Direct Input: | + - / * ⋅ ± × ÷ ∓ ∔ ∧ ∨ ∩ ∪ ≀ ⊎ ⊓ ⊔ ⊕ ⊖ ⊗ ⊘ ⊙ ⊚ ⊛ ⊝ ⊞ ⊟ ⊠ ⊡ ⊺ ⊻ ⊼ ⋇ ⋉ ⋊ ⋋ ⋌ ⋎ ⋏ ⋒ ⋓ ⩞ |
\binom{n}{k} | \dbinom{n}{k} | \left\langle n \atop k \right\rangle |
|||
{n}\choose{k} | \tbinom{n}{k} |
\frac{a}{b} | \dfrac{a}{b} | {a}/{b} | |||
{a}\over{b} | \tfrac{a}{b} |
arcsin | \arcsin | cotg | \cotg | ln | \ln | det | \det |
arccos | \arccos | coth | \coth | log | \log | gcd | \gcd |
arctan | \arctan | csc | \csc | sec | \sec | inf | \inf |
arctg | \arctg | ctg | \ctg | sin | \sin | lim | \lim |
arcctg | \arcctg | cth | \cth | sinh | \sinh | lim inf | \liminf |
arg | \arg | deg | \deg | sh | \sh | lim sup | \limsup |
ch | \ch | dim | \dim | tan | \tan | max | \max |
cos | \cos | exp | \exp | tanh | \tanh | min | \min |
cosec | \cosec | hom | \hom | tg | \tg | Pr | \Pr |
cosh | \cosh | ker | \ker | th | \th | sup | \sup |
cot | \cot | lg | \lg | ||||
asin x | \operatorname{asin} x |
Functions on the right side of this table can take
\limits
.
\sqrt{x} | |
\sqrt[3]{x} |
\stackrel{!}{=} | |||||
= | = | ⋟ | \curlyeqsucc | ⪆ | \gtrapprox |
< | < | ⊣ | \dashv | ⋛ | \gtreqless |
> | > | \dblcolon | ⪌ | \gtreqqless | |
: | : | ≐ | \doteq | ≷ | \gtrless |
≈ | \approx | ≑ | \Doteq | ≳ | \gtrsim |
≊ | \approxeq | ≑ | \doteqdot | ∈ | \in |
≍ | \asymp | ≖ | \eqcirc | ⋈ | \Join |
∍ | \backepsilon | \eqcolon | ≤ | \le | |
∽ | \backsim | \Eqcolon | ≤ | \leq | |
⋍ | \backsimeq | \eqqcolon | ≦ | \leqq | |
≬ | \between | \Eqqcolon | ⩽ | \leqslant | |
⋈ | \bowtie | ≂ | \eqsim | ⪅ | \lessapprox |
≏ | \bumpeq | ⪖ | \eqslantgtr | ⋚ | \lesseqgtr |
≎ | \Bumpeq | ⪕ | \eqslantless | ⪋ | \lesseqqgtr |
≗ | \circeq | ≡ | \equiv | ≶ | \lessgtr |
\colonapprox | ≒ | \fallingdotseq | ≲ | \lesssim | |
\Colonapprox | ⌢ | \frown | ≪ | \ll | |
\coloneq | ≥ | \ge | ⋘ | \lll | |
\Coloneq | ≥ | \geq | ⋘ | \llless | |
\coloneqq | ≧ | \geqq | < | \lt | |
\Coloneqq | ⩾ | \geqslant | ∣ | \mid | |
\colonsim | ≫ | \gg | ⊨ | \models | |
\Colonsim | ⋙ | \ggg | ⊸ | \multimap | |
≅ | \cong | ⋙ | \gggtr | ∋ | \owns |
⋞ | \curlyeqprec | > | \gt | ∥ | \parallel |
⊥ | \perp | ⪸ | \succapprox | ⋔ | \pitchfork |
≽ | \succcurlyeq | ≺ | \prec | ⪰ | \succeq |
⪷ | \precapprox | ≿ | \succsim | ≼ | \preccurlyeq |
⋑ | \Supset | ⪯ | \preceq | ⊃ | \supset |
≾ | \precsim | ⊇ | \supseteq | ∝ | \propto |
⫆ | \supseteqq | ≓ | \risingdotseq | ≈ | \thickapprox |
∣ | \shortmid | ∼ | \thicksim | ∥ | \shortparallel |
⊴ | \trianglelefteq | ∼ | \sim | ≜ | \triangleq |
≃ | \simeq | ⊵ | \trianglerighteq | \smallfrown | |
∝ | \varpropto | \smallsmile | △ | \vartriangle | |
⌣ | \smile | ⊲ | \vartriangleleft | ⊏ | \sqsubset |
⊳ | \vartriangleright | ⊑ | \sqsubseteq | \vcentcolon | |
⊐ | \sqsupset | ⊢ | \vdash | ⊒ | \sqsupseteq |
⊨ | \vDash | ⋐ | \Subset | ⊩ | \Vdash |
⊂ | \subset | ⊪ | \Vvdash | ⊆ | \subseteq |
⫅ | \subseteqq | ≻ | \succ | ||
Direct Input: | = < > : ∈ ∋ ∝ ∼ ∽ ≂ ≃ ≅ ≈ ≊ ≍ ≎ ≏ ≐ ≑ ≒ ≓ ≖ ≗ ≜ ≡ ≤ ≥ ≦ ≧ ≫ ≬ ≳ ≷ ≺ ≻ ≼ ≽ ≾ ≿ ⊂ ⊃ ⊆ ⊇ ⊏ ⊐ ⊑ ⊒ ⊢ ⊣ ⊩ ⊪ ⊸ ⋈ ⋍ ⋐ ⋑ ⋔ ⋙ ⋛ ⋞ ⋟ ⌢ ⌣ ⩾ ⪆ ⪌ ⪕ ⪖ ⪯ ⪰ ⪷ ⪸ ⫅ ⫆ |
⪊ | \gnapprox | | \ngeqslant | ⊈ | \nsubseteq |
⪈ | \gneq | ≯ | \ngtr | | \nsubseteqq |
≩ | \gneqq | ≰ | \nleq | ⊁ | \nsucc |
⋧ | \gnsim | | \nleqq | ⋡ | \nsucceq |
| \gvertneqq | | \nleqslant | ⊉ | \nsupseteq |
⪉ | \lnapprox | ≮ | \nless | | \nsupseteqq |
⪇ | \lneq | ∤ | \nmid | ⋪ | \ntriangleleft |
≨ | \lneqq | ∉ | \notin | ⋬ | \ntrianglelefteq |
⋦ | \lnsim | \notni | ⋫ | \ntriangleright | |
| \lvertneqq | ∦ | \nparallel | ⋭ | \ntrianglerighteq |
≆ | \ncong | ⊀ | \nprec | ⊬ | \nvdash |
≠ | \ne | ⋠ | \npreceq | ⊭ | \nvDash |
≠ | \neq | | \nshortmid | ⊯ | \nVDash |
≱ | \ngeq | | \nshortparallel | ⊮ | \nVdash |
| \ngeqq | ≁ | \nsim | ⪹ | \precnapprox |
⪵ | \precneqq | ⋨ | \precnsim | ⊊ | \subsetneq |
⫋ | \subsetneqq | ⪺ | \succnapprox | ⪶ | \succneqq |
⋩ | \succnsim | ⊋ | \supsetneq | ⫌ | \supsetneqq |
| \varsubsetneq | | \varsubsetneqq | | \varsupsetneq |
| \varsupsetneqq | \not = | |||
Direct Input: | ∉ ∤ ∦ ≁ ≆ ≠ ≨ ≩ ≮ ≯ ≰ ≱ ⊀ ⊁ ⊈ ⊉ ⊊ ⊋ ⊬ ⊭ ⊮ ⊯ ⋠ ⋡ ⋦ ⋧ ⋨ ⋩ ⋬ ⋭ ⪇ ⪈ ⪉ ⪊ ⪵ ⪶ ⪹ ⪺ ⫋ ⫌ |
↺ | \circlearrowleft | ⇐ | \Leftarrow |
↻ | \circlearrowright | ↢ | \leftarrowtail |
↶ | \curvearrowleft | ↽ | \leftharpoondown |
↷ | \curvearrowright | ↼ | \leftharpoonup |
⇠ | \dashleftarrow | ⇇ | \leftleftarrows |
⇢ | \dashrightarrow | ↔ | \leftrightarrow |
↓ | \downarrow | ⇔ | \Leftrightarrow |
⇓ | \Downarrow | ⇆ | \leftrightarrows |
⇊ | \downdownarrows | ⇋ | \leftrightharpoons |
⇃ | \downharpoonleft | ↭ | \leftrightsquigarrow |
⇂ | \downharpoonright | ⇚ | \Lleftarrow |
← | \gets | ⟵ | \longleftarrow |
↩ | \hookleftarrow | ⟸ | \Longleftarrow |
↪ | \hookrightarrow | ⟷ | \longleftrightarrow |
⟺ | \iff | ⟺ | \Longleftrightarrow |
⟸ | \impliedby | ⟼ | \longmapsto |
⟹ | \implies | ⟶ | \longrightarrow |
⇝ | \leadsto | ⟹ | \Longrightarrow |
← | \leftarrow | ↫ | \looparrowleft |
↬ | \looparrowright | ⇉ | \rightrightarrows |
↰ | \Lsh | ⇝ | \rightsquigarrow |
↦ | \mapsto | ⇛ | \Rrightarrow |
↗ | \nearrow | ↱ | \Rsh |
↚ | \nleftarrow | ↘ | \searrow |
⇍ | \nLeftarrow | ↙ | \swarrow |
↮ | \nleftrightarrow | → | \to |
⇎ | \nLeftrightarrow | ↞ | \twoheadleftarrow |
↛ | \nrightarrow | ↠ | \twoheadrightarrow |
⇏ | \nRightarrow | ↑ | \uparrow |
↖ | \nwarrow | ⇑ | \Uparrow |
↾ | \restriction | ↕ | \updownarrow |
→ | \rightarrow | ⇕ | \Updownarrow |
⇒ | \Rightarrow | ↿ | \upharpoonleft |
↣ | \rightarrowtail | ↾ | \upharpoonright |
⇁ | \rightharpoondown | ⇈ | \upuparrows |
⇀ | \rightharpoonup | ⇄ | \rightleftarrows |
⇌ | \rightleftharpoons | ||
Direct Input: | = < > : ∈ ∋ ∝ ∼ ∽ ≂ ≃ ≅ ≈ ≊ ≍ ≎ ≏ ≐ ≑ ≒ ≓ ≖ ≗ ≜ ≡ ≤ ≥ ≦ ≧ ≫ ≬ ≳ ≷ ≺ ≻ ≼ ≽ ≾ ≿ ⊂ ⊃ ⊆ ⊇ ⊏ ⊐ ⊑ ⊒ ⊢ ⊣ ⊩ ⊪ ⊸ ⋈ ⋍ ⋐ ⋑ ⋔ ⋙ ⋛ ⋞ ⋟ ⌢ ⌣ ⩾ ⪆ ⪌ ⪕ ⪖ ⪯ ⪰ ⪷ ⪸ ⫅ ⫆ |
\xrightarrow{over} | \xRightarrow{abc} | ||
\xrightarrow[under]{over} | \xmapsto{abc} | ||
\xleftarrow{abc} | \xLeftarrow{abc} | ||
\xleftrightarrow{abc} | \xLeftrightarrow{abc} | ||
\xhookleftarrow{abc} | \xhookrightarrow{abc} | ||
\xtwoheadrightarrow{abc} | \xlongequal{abc} | ||
\xtwoheadleftarrow{abc} | \xtofrom{abc} | ||
\xrightharpoonup{abc} | \xrightharpoondown{abc} | ||
\xleftharpoonup{abc} | \xleftharpoondown{abc} | ||
\xrightleftharpoons{abc} | \xleftrightharpoons{abc} |
Extensible arrows all can take an optional argument in the same manner as
\xrightarrow[under]{over}
.
\mathbin | \mathclose | \mathinner | \mathop |
\mathopen | \mathord | \mathpunct | \mathrel |
The color function behaves like a switch.
\color{blue} F=ma | |
\color{#fc625d} F=ma |
Other color functions always expect the content to be a function argument.
\textcolor{forestgreen}{F=ma} | |
\textcolor{#fc625d}{F=ma} | |
\colorbox{gold}{A} | |
\fcolorbox{black}{gold}{A} |
For color definition, color functions will accept the standard HTML predefined color names. They will also accept an RGB argument in CSS hexadecimal style.
AB | \mathrm{AB} | AB | \mathit{AB} | AB | \frak{AB} |
AB | \textrm{AB} | AB | \textit{AB} | AB | \mathfrak{AB} |
AB | \rm{AB} | AB | \it{AB} | AB | \mathscr{AB} |
AB | \textnormal{AB} | AB | \Bbb{AB} | AB | \mathcal{AB} |
AB | \text{AB} | AB | \mathbb{AB} | ||
AB | \mathbf{AB} | AB | \mathtt{AB} | ||
AB | \textbf{AB} | AB | \texttt{AB} | ||
AB | \bf{AB} | AB | \tt{AB} | ||
AB | \bold{AB} | AB | \textsf{AB} | ||
AB | \boldsymbol{AB} | AB | \sf{AB} | ||
AB | \bm{AB} | AB | \mathsf{AB} |
One can stack font family, font weight, and font shape by using the
\textXX
versions of the font functions. So
\textsf{\textbf{H}}
will produce . The
other versions so not stack, e.g., \mathsf{\mathbf{H}}
will
produce .
\Huge{AB} | \normalsize{AB} | ||
\huge{AB} | \small{AB} | ||
\LARGE{AB} | \footnotesize{AB} | ||
\Large{AB} | \scriptsize{AB} | ||
\large{AB} | \tiny{AB} |
\displaystyle\sum_{i=1}^n | ||
\textstyle\sum_{i=1}^n | ||
\scriptstyle x | The size of a first sub/superscript | |
\scriptscriptstyle x | The size of subsequent sub/superscripts | |
\lim\limits_x | ||
\lim\nolimits_x | ||
\verb!x^2! | ||
\text{x} |
\text{…}
will accept nested $…$
fragments and
render them in math mode.
\text{…}
will render an extended range of characters. See
Letters inside \text.
% comment | □ | \Box | … | \dots | |
% | \% | □ | \square | ⋯ | \cdots |
# | \# | ■ | \blacksquare | ⋱ | \ddots |
& | \& | \triangle | … | \ldots | |
_ | \_ | \triangledown | ⋮ | \vdots | |
_ | \textunderscore | \triangleleft | … | \mathellipsis | |
– | – | \triangleright | … | \textellipsis | |
– | \textendash | \bigtriangledown | ♭ | \flat | |
— | –- | \bigtriangleup | ♮ | \natural | |
— | \textemdash | ▲ | \blacktriangle | ♯ | \sharp |
’ | ` | ▼ | \blacktriangledown | ® | \circledR |
’ | \textquoteleft | ◀ | \blacktriangleleft | Ⓢ | \circledS |
’ | \textquoteright | ▶ | \blacktriangleright | ♣ | \clubsuit |
“ | \textquotedblleft | ⋄ | \diamond | ♢ | \diamondsuit |
″ | ″ | ◊ | \Diamond | ♡ | \heartsuit |
” | \textquotedblright | ◊ | \lozenge | ♠ | \spadesuit |
: | \colon | ⧫ | \blacklozenge | ∠ | \angle |
‵ | \backprime | ⋆ | \star | ∡ | \measuredangle |
′ | \prime | ★ | \bigstar | ∢ | \sphericalangle |
< | \textless | | | \textbar | ⊤ | \top |
> | \textgreater | ∥ | \textbardbl | ⊥ | \bot |
{ | \textbraceleft | } | \textbraceright | ✓ | \checkmark |
† | \dag | † | \dagger | † | \textdagger |
‡ | \ddag | ‡ | \ddagger | ‡ | \textdaggerdbl |
$ | \$ | $ | \textdollar | £ | \pounds |
£ | \textsterling | ¥ | \yen | √ | \surd |
° | \degree | ╲ | \diagdown | ╱ | \diagup |
℧ | \mho | ✠ | \maltese | ∇ | \nabla |
∞ | \infty |
\KaTeX | \LaTeX | \TeX | |||
Direct Input: | £ ¥ ∇ ∞ · ∠ ∡ ∢ ♠ ♡ ♢ ♣ ♭ ♮ ♯ ✓ |
Units are proportioned as they are in TeX instead of CSS.
Unit | Value | Unit | Value |
---|---|---|---|
em | CSS em | bp | inch × F × G |
ex | CSS ex | pc | 12 pt |
mu | CSS em | dd | pt |
pt | inch × F × G | cc | pt |
mm | 1 mm × F × G | nd | pt |
cm | 1 cm × F × G | nc | pt |
in | 1 inch × F × G | sp | pt |
where: | F = |
G = 1.21 by default, because font-size is normally 1.21 × the surrounding font size. This value can be over-ridden by the CSS of an HTML page. For example, on this page, G = 1.0. |
Unit | textstyle | scriptscript | huge |
---|---|---|---|
em or ex | |||
mu | |||
others |
See also the official documentation of KaTeX.
Blot uses KaTeX on the server side and does not require the visitor to enable JavaScript. However, it means that you cannot modify the behavior of the renderer. Blot uses the default configuration which is good in most cases. If you need to customize KaTeX or, perhaps, use MathJax or another rendering library, then first disable the server-side rendering in the settings of your site, then modify the template to add custom JavaScript. See developers section.