Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

MediaWiki TeX test: Difference between revisions

From MoodleDocs
No edit summary
m (Text replacement - "</code>" to "</syntaxhighlight>")
Line 13: Line 13:
! colspan="2" |<h3>Accents/Diacritics</h3>
! colspan="2" |<h3>Accents/Diacritics</h3>
|-
|-
|<code>\acute{a} \grave{a} \hat{a} \tilde{a} \breve{a}</code>
|<code>\acute{a} \grave{a} \hat{a} \tilde{a} \breve{a}</syntaxhighlight>
|<math>\acute{a} \grave{a} \hat{a} \tilde{a} \breve{a}\,\!</math>
|<math>\acute{a} \grave{a} \hat{a} \tilde{a} \breve{a}\,\!</math>
|-
|-
|<code>\check{a} \bar{a} \ddot{a} \dot{a}</code>
|<code>\check{a} \bar{a} \ddot{a} \dot{a}</syntaxhighlight>
|<math>\check{a} \bar{a} \ddot{a} \dot{a}\!</math>
|<math>\check{a} \bar{a} \ddot{a} \dot{a}\!</math>
|-
|-
Line 23: Line 23:
<h3>Standard functions</h3>
<h3>Standard functions</h3>
|-
|-
|<code>\sin a \cos b \tan c</code>
|<code>\sin a \cos b \tan c</syntaxhighlight>
|<math>\sin a \cos b \tan c\!</math>
|<math>\sin a \cos b \tan c\!</math>
|-
|-
|<code>\sec d \csc e \cot f</code>
|<code>\sec d \csc e \cot f</syntaxhighlight>
|<math>\sec d \csc e \cot f\,\!</math>
|<math>\sec d \csc e \cot f\,\!</math>
|-
|-
|<code>\arcsin h \arccos i \arctan j</code>
|<code>\arcsin h \arccos i \arctan j</syntaxhighlight>
|<math>\arcsin h \arccos i \arctan j\,\!</math>
|<math>\arcsin h \arccos i \arctan j\,\!</math>
|-
|-
|<code>\sinh k \cosh l \tanh m \coth n\!</code>
|<code>\sinh k \cosh l \tanh m \coth n\!</syntaxhighlight>
|<math>\sinh k \cosh l \tanh m \coth n\!</math>
|<math>\sinh k \cosh l \tanh m \coth n\!</math>
|-
|-
|<code>\operatorname{sh}\,o\,\operatorname{ch}\,p\,\operatorname{th}\,q\!</code>
|<code>\operatorname{sh}\,o\,\operatorname{ch}\,p\,\operatorname{th}\,q\!</syntaxhighlight>
|<math>\operatorname{sh}\,o\,\operatorname{ch}\,p\,\operatorname{th}\,q\!</math>
|<math>\operatorname{sh}\,o\,\operatorname{ch}\,p\,\operatorname{th}\,q\!</math>
|-
|-
|<code>\operatorname{arsinh}\,r\,\operatorname{arcosh}\,s\,\operatorname{artanh}\,t</code>
|<code>\operatorname{arsinh}\,r\,\operatorname{arcosh}\,s\,\operatorname{artanh}\,t</syntaxhighlight>
|<math>\operatorname{arsinh}\,r\,\operatorname{arcosh}\,s\,\operatorname{artanh}\,t\,\!</math>
|<math>\operatorname{arsinh}\,r\,\operatorname{arcosh}\,s\,\operatorname{artanh}\,t\,\!</math>
|-
|-
|<code>\lim u \limsup v \liminf w \min x \max y\!</code>
|<code>\lim u \limsup v \liminf w \min x \max y\!</syntaxhighlight>
|<math>\lim u \limsup v \liminf w \min x \max y\!</math>
|<math>\lim u \limsup v \liminf w \min x \max y\!</math>
|-
|-
|<code>\inf z \sup a \exp b \ln c \lg d \log e \log_{10} f \ker g\!</code>
|<code>\inf z \sup a \exp b \ln c \lg d \log e \log_{10} f \ker g\!</syntaxhighlight>
|<math>\inf z \sup a \exp b \ln c \lg d \log e \log_{10} f \ker g\!</math>
|<math>\inf z \sup a \exp b \ln c \lg d \log e \log_{10} f \ker g\!</math>
|-
|-
|<code>\deg h \gcd i \Pr j \det k \hom l \arg m \dim n</code>
|<code>\deg h \gcd i \Pr j \det k \hom l \arg m \dim n</syntaxhighlight>
|<math>\deg h \gcd i \Pr j \det k \hom l \arg m \dim n\!</math>
|<math>\deg h \gcd i \Pr j \det k \hom l \arg m \dim n\!</math>
|-
|-
Line 54: Line 54:
<h3>Modular arithmetic</h3>
<h3>Modular arithmetic</h3>
|-
|-
|<code>s_k \equiv 0 \pmod{m}</code>
|<code>s_k \equiv 0 \pmod{m}</syntaxhighlight>
|<math>s_k \equiv 0 \pmod{m}\,\!</math>
|<math>s_k \equiv 0 \pmod{m}\,\!</math>
|-
|-
|<code>a\,\bmod\,b</code>
|<code>a\,\bmod\,b</syntaxhighlight>
|<math>a\,\bmod\,b\,\!</math>
|<math>a\,\bmod\,b\,\!</math>
|-
|-
! colspan="2" | <h3>Derivatives</h3>
! colspan="2" | <h3>Derivatives</h3>
|-
|-
|<code>\nabla \, \partial x \, dx \, \dot x \, \ddot y\, dy/dx\, \frac{dy}{dx}\, \frac{\partial^2 y}{\partial x_1\,\partial x_2}</code>
|<code>\nabla \, \partial x \, dx \, \dot x \, \ddot y\, dy/dx\, \frac{dy}{dx}\, \frac{\partial^2 y}{\partial x_1\,\partial x_2}</syntaxhighlight>
|<math>\nabla \, \partial x \, dx \, \dot x \, \ddot y\, dy/dx\, \frac{dy}{dx}\, \frac{\partial^2 y}{\partial x_1\,\partial x_2}</math>
|<math>\nabla \, \partial x \, dx \, \dot x \, \ddot y\, dy/dx\, \frac{dy}{dx}\, \frac{\partial^2 y}{\partial x_1\,\partial x_2}</math>
|-
|-
Line 69: Line 69:
<h3>Sets</h3>
<h3>Sets</h3>
|-
|-
|<code>\forall \exists \empty \emptyset \varnothing</code>
|<code>\forall \exists \empty \emptyset \varnothing</syntaxhighlight>
|<math>\forall \exists \empty \emptyset \varnothing\,\!</math>
|<math>\forall \exists \empty \emptyset \varnothing\,\!</math>
|-
|-
|<code>\in \ni \not \in \notin \subset \subseteq \supset \supseteq</code>
|<code>\in \ni \not \in \notin \subset \subseteq \supset \supseteq</syntaxhighlight>
|<math>\in \ni \not \in \notin \subset \subseteq \supset \supseteq\,\!</math>
|<math>\in \ni \not \in \notin \subset \subseteq \supset \supseteq\,\!</math>
|-
|-
|<code>\cap \bigcap \cup \bigcup \biguplus \setminus \smallsetminus</code>
|<code>\cap \bigcap \cup \bigcup \biguplus \setminus \smallsetminus</syntaxhighlight>
|<math>\cap \bigcap \cup \bigcup \biguplus \setminus \smallsetminus\,\!</math>
|<math>\cap \bigcap \cup \bigcup \biguplus \setminus \smallsetminus\,\!</math>
|-
|-
|<code>\sqsubset \sqsubseteq \sqsupset \sqsupseteq \sqcap \sqcup \bigsqcup</code>
|<code>\sqsubset \sqsubseteq \sqsupset \sqsupseteq \sqcap \sqcup \bigsqcup</syntaxhighlight>
|<math>\sqsubset \sqsubseteq \sqsupset \sqsupseteq \sqcap \sqcup \bigsqcup\,\!</math>
|<math>\sqsubset \sqsubseteq \sqsupset \sqsupseteq \sqcap \sqcup \bigsqcup\,\!</math>
|-
|-
Line 85: Line 85:
<h3>Operators</h3>
<h3>Operators</h3>
|-
|-
|<code>+ \oplus \bigoplus \pm \mp - </code>
|<code>+ \oplus \bigoplus \pm \mp - </syntaxhighlight>
|<math>+ \oplus \bigoplus \pm \mp - \,\!</math>
|<math>+ \oplus \bigoplus \pm \mp - \,\!</math>
|-
|-
|<code>\times \otimes \bigotimes \cdot \circ \bullet \bigodot</code>
|<code>\times \otimes \bigotimes \cdot \circ \bullet \bigodot</syntaxhighlight>
|<math>\times \otimes \bigotimes \cdot \circ \bullet \bigodot\,\!</math>
|<math>\times \otimes \bigotimes \cdot \circ \bullet \bigodot\,\!</math>
|-
|-
|<code>\star * / \div \frac{1}{2}</code>
|<code>\star * / \div \frac{1}{2}</syntaxhighlight>
|<math>\star * / \div \frac{1}{2}\,\!</math>
|<math>\star * / \div \frac{1}{2}\,\!</math>
|-
|-
Line 98: Line 98:
<h3>Logic</h3>
<h3>Logic</h3>
|-
|-
|<code>\land (or \and) \wedge \bigwedge \bar{q} \to p</code>
|<code>\land (or \and) \wedge \bigwedge \bar{q} \to p</syntaxhighlight>
|<math>\land \wedge \bigwedge \bar{q} \to p\,\!</math>
|<math>\land \wedge \bigwedge \bar{q} \to p\,\!</math>
|-
|-
|<code>\lor \vee \bigvee \lnot \neg q \And</code>
|<code>\lor \vee \bigvee \lnot \neg q \And</syntaxhighlight>
|<math>\lor \vee \bigvee \lnot \neg q \And\,\!</math>
|<math>\lor \vee \bigvee \lnot \neg q \And\,\!</math>
|-
|-
Line 108: Line 108:
<h3>Root</h3>
<h3>Root</h3>
|-
|-
|<code>\sqrt{2} \sqrt[n]{x}</code>
|<code>\sqrt{2} \sqrt[n]{x}</syntaxhighlight>
|<math>\sqrt{2} \sqrt[n]{x}\,\!</math>
|<math>\sqrt{2} \sqrt[n]{x}\,\!</math>
|-
|-
! colspan="2" | <h3>Relations</h3>
! colspan="2" | <h3>Relations</h3>
|-
|-
|<code>\sim \approx \simeq \cong \dot=  \overset{\underset{\mathrm{def}}{}}{=}</code>
|<code>\sim \approx \simeq \cong \dot=  \overset{\underset{\mathrm{def}}{}}{=}</syntaxhighlight>
|<math>\sim \approx \simeq \cong \dot=  \overset{\underset{\mathrm{def}}{}}{=}\,\!</math>
|<math>\sim \approx \simeq \cong \dot=  \overset{\underset{\mathrm{def}}{}}{=}\,\!</math>
|-
|-
|<code>\le < \ll \gg \ge > \equiv \not\equiv \ne \mbox{or} \neq \propto</code>
|<code>\le < \ll \gg \ge > \equiv \not\equiv \ne \mbox{or} \neq \propto</syntaxhighlight>
|<math>\le < \ll \gg \ge > \equiv \not\equiv \ne \mbox{or} \neq \propto\,\!</math>
|<math>\le < \ll \gg \ge > \equiv \not\equiv \ne \mbox{or} \neq \propto\,\!</math>
|-
|-
Line 123: Line 123:
<h3>Geometric</h3>
<h3>Geometric</h3>
|-
|-
|<code><nowiki>\Diamond \Box \triangle \angle \perp \mid \nmid \| 45^\circ</nowiki></code>
|<code><nowiki>\Diamond \Box \triangle \angle \perp \mid \nmid \| 45^\circ</nowiki></syntaxhighlight>
|<math>\Diamond \, \Box \, \triangle \, \angle \perp \, \mid \; \nmid \, \| 45^\circ\,\!</math>
|<math>\Diamond \, \Box \, \triangle \, \angle \perp \, \mid \; \nmid \, \| 45^\circ\,\!</math>
|-
|-
Line 130: Line 130:
<h3>Arrows</h3>
<h3>Arrows</h3>
|-
|-
|<code>\leftarrow (or \gets) \rightarrow (or \to) \nleftarrow \nrightarrow \leftrightarrow \nleftrightarrow \longleftarrow \longrightarrow \longleftrightarrow</code>
|<code>\leftarrow (or \gets) \rightarrow (or \to) \nleftarrow \nrightarrow \leftrightarrow \nleftrightarrow \longleftarrow \longrightarrow \longleftrightarrow</syntaxhighlight>
|<math>\leftarrow \rightarrow \nleftarrow \not\to \leftrightarrow \nleftrightarrow \longleftarrow \longrightarrow \longleftrightarrow \,\!</math>
|<math>\leftarrow \rightarrow \nleftarrow \not\to \leftrightarrow \nleftrightarrow \longleftarrow \longrightarrow \longleftrightarrow \,\!</math>
|-
|-
|<code>\Leftarrow \Rightarrow \nLeftarrow \nRightarrow \Leftrightarrow \nLeftrightarrow \Longleftarrow \Longrightarrow \Longleftrightarrow (or \iff)</code>
|<code>\Leftarrow \Rightarrow \nLeftarrow \nRightarrow \Leftrightarrow \nLeftrightarrow \Longleftarrow \Longrightarrow \Longleftrightarrow (or \iff)</syntaxhighlight>
|<math>\Leftarrow \Rightarrow \nLeftarrow \nRightarrow \Leftrightarrow \nLeftrightarrow \Longleftarrow \Longrightarrow \Longleftrightarrow \!</math>
|<math>\Leftarrow \Rightarrow \nLeftarrow \nRightarrow \Leftrightarrow \nLeftrightarrow \Longleftarrow \Longrightarrow \Longleftrightarrow \!</math>
|-
|-
|<code>\uparrow \downarrow \updownarrow \Uparrow \Downarrow \Updownarrow  \nearrow \searrow \swarrow \nwarrow</code>
|<code>\uparrow \downarrow \updownarrow \Uparrow \Downarrow \Updownarrow  \nearrow \searrow \swarrow \nwarrow</syntaxhighlight>
|<math>\uparrow \downarrow \updownarrow \Uparrow \Downarrow \Updownarrow  \nearrow \searrow \swarrow \nwarrow \!</math>
|<math>\uparrow \downarrow \updownarrow \Uparrow \Downarrow \Updownarrow  \nearrow \searrow \swarrow \nwarrow \!</math>
|-
|-
|<code>\rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft \upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \leftrightharpoons</code>
|<code>\rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft \upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \leftrightharpoons</syntaxhighlight>
|<math>\rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft \upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \leftrightharpoons \,\!</math>
|<math>\rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft \upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \leftrightharpoons \,\!</math>
|-
|-
|<code>\curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright</code>
|<code>\curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright</syntaxhighlight>
|<math>\curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright \,\!</math>
|<math>\curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright \,\!</math>
|-
|-
|<code>\curvearrowright \circlearrowright \Rsh \downdownarrows \leftleftarrows \leftrightarrows \Lleftarrow \leftarrowtail \looparrowleft</code>
|<code>\curvearrowright \circlearrowright \Rsh \downdownarrows \leftleftarrows \leftrightarrows \Lleftarrow \leftarrowtail \looparrowleft</syntaxhighlight>
|<math>\curvearrowright \circlearrowright \Rsh \downdownarrows \leftleftarrows \leftrightarrows \Lleftarrow \leftarrowtail \looparrowleft \,\!</math>
|<math>\curvearrowright \circlearrowright \Rsh \downdownarrows \leftleftarrows \leftrightarrows \Lleftarrow \leftarrowtail \looparrowleft \,\!</math>
|-
|-
|<code>\mapsto \longmapsto \hookrightarrow \hookleftarrow \multimap \leftrightsquigarrow \rightsquigarrow </code>
|<code>\mapsto \longmapsto \hookrightarrow \hookleftarrow \multimap \leftrightsquigarrow \rightsquigarrow </syntaxhighlight>
|<math>\mapsto \longmapsto \hookrightarrow \hookleftarrow \multimap \leftrightsquigarrow \rightsquigarrow \,\!</math>
|<math>\mapsto \longmapsto \hookrightarrow \hookleftarrow \multimap \leftrightsquigarrow \rightsquigarrow \,\!</math>
|-
|-
Line 155: Line 155:
<h3>Special</h3>
<h3>Special</h3>
|-
|-
|<code>\And \eth \S \P \% \dagger \ddagger \ldots \cdots</code>
|<code>\And \eth \S \P \% \dagger \ddagger \ldots \cdots</syntaxhighlight>
|<math>\And \eth \S \P \% \dagger \ddagger \ldots \cdots\,\!</math>
|<math>\And \eth \S \P \% \dagger \ddagger \ldots \cdots\,\!</math>
|-
|-
|<code>\smile \frown \wr \triangleleft \triangleright \infty \bot \top</code>
|<code>\smile \frown \wr \triangleleft \triangleright \infty \bot \top</syntaxhighlight>
|<math>\smile \frown \wr \triangleleft \triangleright \infty \bot \top\,\!</math>
|<math>\smile \frown \wr \triangleleft \triangleright \infty \bot \top\,\!</math>
|-
|-
|<code>\vdash \vDash \Vdash \models \lVert \rVert \imath \hbar</code>
|<code>\vdash \vDash \Vdash \models \lVert \rVert \imath \hbar</syntaxhighlight>
|<math>\vdash \vDash \Vdash \models \lVert \rVert \imath \hbar\,\!</math>
|<math>\vdash \vDash \Vdash \models \lVert \rVert \imath \hbar\,\!</math>
|-
|-
|<code>\ell \mho \Finv \Re \Im \wp \complement</code>
|<code>\ell \mho \Finv \Re \Im \wp \complement</syntaxhighlight>
|<math>\ell \mho \Finv \Re \Im \wp \complement\,\!</math>
|<math>\ell \mho \Finv \Re \Im \wp \complement\,\!</math>
|-
|-
|<code>\diamondsuit \heartsuit \clubsuit \spadesuit \Game \flat \natural \sharp</code>
|<code>\diamondsuit \heartsuit \clubsuit \spadesuit \Game \flat \natural \sharp</syntaxhighlight>
|<math>\diamondsuit \heartsuit \clubsuit \spadesuit \Game \flat \natural \sharp\,\!</math>
|<math>\diamondsuit \heartsuit \clubsuit \spadesuit \Game \flat \natural \sharp\,\!</math>
|-
|-
Line 174: Line 174:
<h3>Unsorted (new stuff)</h3>
<h3>Unsorted (new stuff)</h3>
|-
|-
|<code> \vartriangle \triangledown \lozenge \circledS \measuredangle \nexists \Bbbk \backprime \blacktriangle \blacktriangledown</code>
|<code> \vartriangle \triangledown \lozenge \circledS \measuredangle \nexists \Bbbk \backprime \blacktriangle \blacktriangledown</syntaxhighlight>
|<math> \vartriangle \triangledown \lozenge \circledS \measuredangle \nexists \Bbbk \backprime \blacktriangle \blacktriangledown</math>
|<math> \vartriangle \triangledown \lozenge \circledS \measuredangle \nexists \Bbbk \backprime \blacktriangle \blacktriangledown</math>
|-
|-
|<code> \blacksquare \blacklozenge \bigstar \sphericalangle \diagup \diagdown \dotplus \Cap \Cup \barwedge</code>
|<code> \blacksquare \blacklozenge \bigstar \sphericalangle \diagup \diagdown \dotplus \Cap \Cup \barwedge</syntaxhighlight>
|<math> \blacksquare \blacklozenge \bigstar \sphericalangle \diagup \diagdown \dotplus \Cap \Cup \barwedge\!</math>
|<math> \blacksquare \blacklozenge \bigstar \sphericalangle \diagup \diagdown \dotplus \Cap \Cup \barwedge\!</math>
|-
|-
|<code> \veebar \doublebarwedge \boxminus \boxtimes \boxdot \boxplus \divideontimes \ltimes \rtimes \leftthreetimes</code>
|<code> \veebar \doublebarwedge \boxminus \boxtimes \boxdot \boxplus \divideontimes \ltimes \rtimes \leftthreetimes</syntaxhighlight>
|<math> \veebar \doublebarwedge \boxminus \boxtimes \boxdot \boxplus \divideontimes \ltimes \rtimes \leftthreetimes</math>
|<math> \veebar \doublebarwedge \boxminus \boxtimes \boxdot \boxplus \divideontimes \ltimes \rtimes \leftthreetimes</math>
|-
|-
|<code> \rightthreetimes \curlywedge \curlyvee \circleddash \circledast \circledcirc \centerdot \intercal \leqq \leqslant</code>
|<code> \rightthreetimes \curlywedge \curlyvee \circleddash \circledast \circledcirc \centerdot \intercal \leqq \leqslant</syntaxhighlight>
|<math> \rightthreetimes \curlywedge \curlyvee \circleddash \circledast \circledcirc \centerdot \intercal \leqq \leqslant</math>
|<math> \rightthreetimes \curlywedge \curlyvee \circleddash \circledast \circledcirc \centerdot \intercal \leqq \leqslant</math>
|-
|-
|<code> \eqslantless \lessapprox \approxeq \lessdot \lll \lessgtr \lesseqgtr \lesseqqgtr \doteqdot \risingdotseq</code>
|<code> \eqslantless \lessapprox \approxeq \lessdot \lll \lessgtr \lesseqgtr \lesseqqgtr \doteqdot \risingdotseq</syntaxhighlight>
|<math> \eqslantless \lessapprox \approxeq \lessdot \lll \lessgtr \lesseqgtr \lesseqqgtr \doteqdot \risingdotseq</math>
|<math> \eqslantless \lessapprox \approxeq \lessdot \lll \lessgtr \lesseqgtr \lesseqqgtr \doteqdot \risingdotseq</math>
|-
|-
|<code> \fallingdotseq \backsim \backsimeq \subseteqq \Subset \preccurlyeq \curlyeqprec \precsim \precapprox \vartriangleleft</code>
|<code> \fallingdotseq \backsim \backsimeq \subseteqq \Subset \preccurlyeq \curlyeqprec \precsim \precapprox \vartriangleleft</syntaxhighlight>
|<math> \fallingdotseq \backsim \backsimeq \subseteqq \Subset \preccurlyeq \curlyeqprec \precsim \precapprox \vartriangleleft</math>
|<math> \fallingdotseq \backsim \backsimeq \subseteqq \Subset \preccurlyeq \curlyeqprec \precsim \precapprox \vartriangleleft</math>
|-
|-
|<code> \Vvdash \bumpeq \Bumpeq \geqq \geqslant \eqslantgtr \gtrsim \gtrapprox \eqsim \gtrdot</code>
|<code> \Vvdash \bumpeq \Bumpeq \geqq \geqslant \eqslantgtr \gtrsim \gtrapprox \eqsim \gtrdot</syntaxhighlight>
|<math> \Vvdash \bumpeq \Bumpeq \geqq \geqslant \eqslantgtr \gtrsim \gtrapprox \eqsim \gtrdot</math>
|<math> \Vvdash \bumpeq \Bumpeq \geqq \geqslant \eqslantgtr \gtrsim \gtrapprox \eqsim \gtrdot</math>
|-
|-
|<code> \ggg \gtrless \gtreqless \gtreqqless \eqcirc \circeq \triangleq \thicksim \thickapprox \supseteqq</code>
|<code> \ggg \gtrless \gtreqless \gtreqqless \eqcirc \circeq \triangleq \thicksim \thickapprox \supseteqq</syntaxhighlight>
|<math> \ggg \gtrless \gtreqless \gtreqqless \eqcirc \circeq \triangleq \thicksim \thickapprox \supseteqq</math>
|<math> \ggg \gtrless \gtreqless \gtreqqless \eqcirc \circeq \triangleq \thicksim \thickapprox \supseteqq</math>
|-
|-
|<code> \Supset \succcurlyeq \curlyeqsucc \succsim \succapprox \vartriangleright \shortmid \shortparallel \between \pitchfork</code>
|<code> \Supset \succcurlyeq \curlyeqsucc \succsim \succapprox \vartriangleright \shortmid \shortparallel \between \pitchfork</syntaxhighlight>
|<math> \Supset \succcurlyeq \curlyeqsucc \succsim \succapprox \vartriangleright \shortmid \shortparallel \between \pitchfork</math>
|<math> \Supset \succcurlyeq \curlyeqsucc \succsim \succapprox \vartriangleright \shortmid \shortparallel \between \pitchfork</math>
|-
|-
|<code> \varpropto \blacktriangleleft \therefore \backepsilon \blacktriangleright \because \nleqslant \nleqq \lneq \lneqq</code>
|<code> \varpropto \blacktriangleleft \therefore \backepsilon \blacktriangleright \because \nleqslant \nleqq \lneq \lneqq</syntaxhighlight>
|<math> \varpropto \blacktriangleleft \therefore \backepsilon \blacktriangleright \because \nleqslant \nleqq \lneq \lneqq</math>
|<math> \varpropto \blacktriangleleft \therefore \backepsilon \blacktriangleright \because \nleqslant \nleqq \lneq \lneqq</math>
|-
|-
|<code> \lvertneqq \lnsim \lnapprox \nprec \npreceq \precneqq \precnsim \precnapprox \nsim \nshortmid</code>
|<code> \lvertneqq \lnsim \lnapprox \nprec \npreceq \precneqq \precnsim \precnapprox \nsim \nshortmid</syntaxhighlight>
|<math> \lvertneqq \lnsim \lnapprox \nprec \npreceq \precneqq \precnsim \precnapprox \nsim \nshortmid</math>
|<math> \lvertneqq \lnsim \lnapprox \nprec \npreceq \precneqq \precnsim \precnapprox \nsim \nshortmid</math>
|-
|-
|<code> \nvdash \nVdash \ntriangleleft \ntrianglelefteq \nsubseteq \nsubseteqq \varsubsetneq \subsetneqq \varsubsetneqq \ngtr</code>
|<code> \nvdash \nVdash \ntriangleleft \ntrianglelefteq \nsubseteq \nsubseteqq \varsubsetneq \subsetneqq \varsubsetneqq \ngtr</syntaxhighlight>
|<math> \nvdash \nVdash \ntriangleleft \ntrianglelefteq \nsubseteq \nsubseteqq \varsubsetneq \subsetneqq \varsubsetneqq \ngtr</math>
|<math> \nvdash \nVdash \ntriangleleft \ntrianglelefteq \nsubseteq \nsubseteqq \varsubsetneq \subsetneqq \varsubsetneqq \ngtr</math>
|-
|-
|<code>\subsetneq</code>
|<code>\subsetneq</syntaxhighlight>
|<math>\subsetneq</math>
|<math>\subsetneq</math>
|-
|-
|<code> \ngeqslant \ngeqq \gneq \gneqq \gvertneqq \gnsim \gnapprox \nsucc \nsucceq \succneqq</code>
|<code> \ngeqslant \ngeqq \gneq \gneqq \gvertneqq \gnsim \gnapprox \nsucc \nsucceq \succneqq</syntaxhighlight>
|<math> \ngeqslant \ngeqq \gneq \gneqq \gvertneqq \gnsim \gnapprox \nsucc \nsucceq \succneqq</math>
|<math> \ngeqslant \ngeqq \gneq \gneqq \gvertneqq \gnsim \gnapprox \nsucc \nsucceq \succneqq</math>
|-
|-
|<code> \succnsim \succnapprox \ncong \nshortparallel \nparallel \nvDash \nVDash \ntriangleright \ntrianglerighteq \nsupseteq</code>
|<code> \succnsim \succnapprox \ncong \nshortparallel \nparallel \nvDash \nVDash \ntriangleright \ntrianglerighteq \nsupseteq</syntaxhighlight>
|<math> \succnsim \succnapprox \ncong \nshortparallel \nparallel \nvDash \nVDash \ntriangleright \ntrianglerighteq \nsupseteq</math>
|<math> \succnsim \succnapprox \ncong \nshortparallel \nparallel \nvDash \nVDash \ntriangleright \ntrianglerighteq \nsupseteq</math>
|-
|-
|<code> \nsupseteqq \varsupsetneq \supsetneqq \varsupsetneqq</code>
|<code> \nsupseteqq \varsupsetneq \supsetneqq \varsupsetneqq</syntaxhighlight>
|<math> \nsupseteqq \varsupsetneq \supsetneqq \varsupsetneqq</math>
|<math> \nsupseteqq \varsupsetneq \supsetneqq \varsupsetneqq</math>
|-
|-
|<code>\jmath \surd \ast \uplus \diamond \bigtriangleup \bigtriangledown \ominus</code>
|<code>\jmath \surd \ast \uplus \diamond \bigtriangleup \bigtriangledown \ominus</syntaxhighlight>
|<math>\jmath \surd \ast \uplus \diamond \bigtriangleup \bigtriangledown \ominus\,\!</math>
|<math>\jmath \surd \ast \uplus \diamond \bigtriangleup \bigtriangledown \ominus\,\!</math>
|-
|-
|<code>\oslash \odot \bigcirc \amalg \prec \succ \preceq \succeq</code>
|<code>\oslash \odot \bigcirc \amalg \prec \succ \preceq \succeq</syntaxhighlight>
|<math>\oslash \odot \bigcirc \amalg \prec \succ \preceq \succeq\,\!</math>
|<math>\oslash \odot \bigcirc \amalg \prec \succ \preceq \succeq\,\!</math>
|-
|-
|<code>\dashv \asymp \doteq \parallel</code>
|<code>\dashv \asymp \doteq \parallel</syntaxhighlight>
|<math>\dashv \asymp \doteq \parallel\,\!</math>
|<math>\dashv \asymp \doteq \parallel\,\!</math>
|-
|-
|<code>\ulcorner \urcorner \llcorner \lrcorner</code>
|<code>\ulcorner \urcorner \llcorner \lrcorner</syntaxhighlight>
|<math>\ulcorner \urcorner \llcorner \lrcorner</math>
|<math>\ulcorner \urcorner \llcorner \lrcorner</math>
|}
|}
Line 243: Line 243:
|-
|-
|-
|-
|Superscript||<code>a^2</code>||<math>a^2</math>||<math>a^2 \,\!</math>
|Superscript||<code>a^2</syntaxhighlight>||<math>a^2</math>||<math>a^2 \,\!</math>
|-
|-
|Subscript||<code>a_2</code>||<math>a_2</math>||<math>a_2 \,\!</math>
|Subscript||<code>a_2</syntaxhighlight>||<math>a_2</math>||<math>a_2 \,\!</math>
|-
|-
|rowspan=2|Grouping||<code>a^{2+2}</code>||<math>a^{2+2}</math>||<math>a^{2+2}\,\!</math>
|rowspan=2|Grouping||<code>a^{2+2}</syntaxhighlight>||<math>a^{2+2}</math>||<math>a^{2+2}\,\!</math>
|-
|-
|<code>a_{i,j}</code>||<math>a_{i,j}</math>||<math>a_{i,j}\,\!</math>
|<code>a_{i,j}</syntaxhighlight>||<math>a_{i,j}</math>||<math>a_{i,j}\,\!</math>
|-
|-
|rowspan=2|Combining sub & super without and with horizontal separation||<code>x_2^3</code>||<math>x_2^3</math>||<math>x_2^3 \,\!</math>
|rowspan=2|Combining sub & super without and with horizontal separation||<code>x_2^3</syntaxhighlight>||<math>x_2^3</math>||<math>x_2^3 \,\!</math>
|-
|-
|<code>{x_2}^3</code>||<math>{x_2}^3</math>||<math>{x_2}^3 \,\!</math>
|<code>{x_2}^3</syntaxhighlight>||<math>{x_2}^3</math>||<math>{x_2}^3 \,\!</math>
|-
|-
|Super super||<code>10^{10^{ \,\!{8} }</code>||colspan=2|<math>10^{10^{ \,\! 8 } }</math>
|Super super||<code>10^{10^{ \,\!{8} }</syntaxhighlight>||colspan=2|<math>10^{10^{ \,\! 8 } }</math>
|-
|-
|Super super||<code>10^{10^{ \overset{8}{} }}</code>||colspan=2|<math>10^{10^{ \overset{8}{} }}</math>
|Super super||<code>10^{10^{ \overset{8}{} }}</syntaxhighlight>||colspan=2|<math>10^{10^{ \overset{8}{} }}</math>
|-
|-
|Super super (wrong in HTML in some browsers)||<code>10^{10^8}</code> ||colspan=2|<math>10^{10^8}</math>
|Super super (wrong in HTML in some browsers)||<code>10^{10^8}</syntaxhighlight> ||colspan=2|<math>10^{10^8}</math>
|-
|-
|rowspan="2"|Preceding and/or Additional sub & super||<code>\sideset{_1^2}{_3^4}\prod_a^b</code>||colspan=2|<math>\sideset{_1^2}{_3^4}\prod_a^b</math>
|rowspan="2"|Preceding and/or Additional sub & super||<code>\sideset{_1^2}{_3^4}\prod_a^b</syntaxhighlight>||colspan=2|<math>\sideset{_1^2}{_3^4}\prod_a^b</math>
|-
|-
|<code>{}_1^2\!\Omega_3^4</code>||colspan=2|<math>{}_1^2\!\Omega_3^4</math>
|<code>{}_1^2\!\Omega_3^4</syntaxhighlight>||colspan=2|<math>{}_1^2\!\Omega_3^4</math>
|-
|-
|rowspan="4"|Stacking
|rowspan="4"|Stacking
|<code>\overset{\alpha}{\omega}</code>||colspan="2"|<math>\overset{\alpha}{\omega}</math>
|<code>\overset{\alpha}{\omega}</syntaxhighlight>||colspan="2"|<math>\overset{\alpha}{\omega}</math>
|-
|-
|<code>\underset{\alpha}{\omega}</code>||colspan="2"|<math>\underset{\alpha}{\omega}</math>
|<code>\underset{\alpha}{\omega}</syntaxhighlight>||colspan="2"|<math>\underset{\alpha}{\omega}</math>
|-
|-
|<code>\overset{\alpha}{\underset{\gamma}{\omega}}</code>||colspan="2"|<math>\overset{\alpha}{\underset{\gamma}{\omega}}</math>
|<code>\overset{\alpha}{\underset{\gamma}{\omega}}</syntaxhighlight>||colspan="2"|<math>\overset{\alpha}{\underset{\gamma}{\omega}}</math>
|-
|-
|<code>\stackrel{\alpha}{\omega}</code>||colspan="2"|<math>\stackrel{\alpha}{\omega}</math>
|<code>\stackrel{\alpha}{\omega}</syntaxhighlight>||colspan="2"|<math>\stackrel{\alpha}{\omega}</math>
|-
|-
|Derivative (forced PNG)||<code>x', y<nowiki>''</nowiki>, f', f<nowiki>''</nowiki>\!</code>||&nbsp;||<math>x', y'', f', f''\!</math>
|Derivative (forced PNG)||<code>x', y<nowiki>''</nowiki>, f', f<nowiki>''</nowiki>\!</syntaxhighlight>||&nbsp;||<math>x', y'', f', f''\!</math>
|-
|-
|Derivative (f in italics may overlap primes in HTML)||<code>x', y<nowiki>''</nowiki>, f', f<nowiki>''</nowiki></code>||<math>x', y'', f', f''</math>||<math>x', y'', f', f''\!</math>
|Derivative (f in italics may overlap primes in HTML)||<code>x', y<nowiki>''</nowiki>, f', f<nowiki>''</nowiki></syntaxhighlight>||<math>x', y'', f', f''</math>||<math>x', y'', f', f''\!</math>
|-
|-
|Derivative (wrong in HTML)||<code>x^\prime, y^{\prime\prime}</code>||<math>x^\prime, y^{\prime\prime}</math>||<math>x^\prime, y^{\prime\prime}\,\!</math>
|Derivative (wrong in HTML)||<code>x^\prime, y^{\prime\prime}</syntaxhighlight>||<math>x^\prime, y^{\prime\prime}</math>||<math>x^\prime, y^{\prime\prime}\,\!</math>
|-
|-
|Derivative (wrong in PNG)||<code>x\prime, y\prime\prime</code>||<math>x\prime, y\prime\prime</math>||<math>x\prime, y\prime\prime\,\!</math>
|Derivative (wrong in PNG)||<code>x\prime, y\prime\prime</syntaxhighlight>||<math>x\prime, y\prime\prime</math>||<math>x\prime, y\prime\prime\,\!</math>
|-
|-
|Derivative dots||<code>\dot{x}, \ddot{x}</code>||colspan=2|<math>\dot{x}, \ddot{x}</math>
|Derivative dots||<code>\dot{x}, \ddot{x}</syntaxhighlight>||colspan=2|<math>\dot{x}, \ddot{x}</math>
|-
|-
|rowspan="3"|Underlines, overlines, vectors||<code>\hat a \ \bar b \ \vec c</code>||colspan=2|<math>\hat a \ \bar b \ \vec c</math>
|rowspan="3"|Underlines, overlines, vectors||<code>\hat a \ \bar b \ \vec c</syntaxhighlight>||colspan=2|<math>\hat a \ \bar b \ \vec c</math>
|-
|-
|<code>\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f}</code>||colspan=2|<math>\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f}</math>
|<code>\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f}</syntaxhighlight>||colspan=2|<math>\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f}</math>
|-
|-
|<code>\overline{g h i} \ \underline{j k l}</code>||colspan=2|<math>\overline{g h i} \ \underline{j k l}</math>
|<code>\overline{g h i} \ \underline{j k l}</syntaxhighlight>||colspan=2|<math>\overline{g h i} \ \underline{j k l}</math>
|-
|-
|Arrows||<code> A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C</code>||colspan=2|<math> A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C</math>
|Arrows||<code> A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C</syntaxhighlight>||colspan=2|<math> A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C</math>
|-
|-
|Overbraces||<code>\overbrace{ 1+2+\cdots+100 }^{5050}</code>||colspan=2|<math>\overbrace{ 1+2+\cdots+100 }^{5050}</math>
|Overbraces||<code>\overbrace{ 1+2+\cdots+100 }^{5050}</syntaxhighlight>||colspan=2|<math>\overbrace{ 1+2+\cdots+100 }^{5050}</math>
|-
|-
|Underbraces||<code>\underbrace{ a+b+\cdots+z }_{26}</code>||colspan=2|<math>\underbrace{ a+b+\cdots+z }_{26}</math>
|Underbraces||<code>\underbrace{ a+b+\cdots+z }_{26}</syntaxhighlight>||colspan=2|<math>\underbrace{ a+b+\cdots+z }_{26}</math>
|-
|-
|Sum||<code>\sum_{k=1}^N k^2</code>||colspan=2|<math>\sum_{k=1}^N k^2</math>
|Sum||<code>\sum_{k=1}^N k^2</syntaxhighlight>||colspan=2|<math>\sum_{k=1}^N k^2</math>
|-
|-
|Sum (force&nbsp;<code>\textstyle</code>)||<code>\textstyle \sum_{k=1}^N k^2 </code>||colspan=2|<math>\textstyle \sum_{k=1}^N k^2</math>
|Sum (force&nbsp;<code>\textstyle</syntaxhighlight>)||<code>\textstyle \sum_{k=1}^N k^2 </syntaxhighlight>||colspan=2|<math>\textstyle \sum_{k=1}^N k^2</math>
|-
|-
|Product||<code>\prod_{i=1}^N x_i</code>||colspan=2|<math>\prod_{i=1}^N x_i</math>
|Product||<code>\prod_{i=1}^N x_i</syntaxhighlight>||colspan=2|<math>\prod_{i=1}^N x_i</math>
|-
|-
|Product (force&nbsp;<code>\textstyle</code>)||<code>\textstyle \prod_{i=1}^N x_i</code>||colspan=2|<math>\textstyle \prod_{i=1}^N x_i</math>
|Product (force&nbsp;<code>\textstyle</syntaxhighlight>)||<code>\textstyle \prod_{i=1}^N x_i</syntaxhighlight>||colspan=2|<math>\textstyle \prod_{i=1}^N x_i</math>
|-
|-
|Coproduct||<code>\coprod_{i=1}^N x_i</code>||colspan=2|<math>\coprod_{i=1}^N x_i</math>
|Coproduct||<code>\coprod_{i=1}^N x_i</syntaxhighlight>||colspan=2|<math>\coprod_{i=1}^N x_i</math>
|-
|-
|Coproduct (force&nbsp;<code>\textstyle</code>)||<code>\textstyle \coprod_{i=1}^N x_i</code>||colspan=2|<math>\textstyle \coprod_{i=1}^N x_i</math>
|Coproduct (force&nbsp;<code>\textstyle</syntaxhighlight>)||<code>\textstyle \coprod_{i=1}^N x_i</syntaxhighlight>||colspan=2|<math>\textstyle \coprod_{i=1}^N x_i</math>
|-
|-
|Limit||<code>\lim_{n \to \infty}x_n</code>||colspan=2|<math>\lim_{n \to \infty}x_n</math>
|Limit||<code>\lim_{n \to \infty}x_n</syntaxhighlight>||colspan=2|<math>\lim_{n \to \infty}x_n</math>
|-
|-
|Limit (force&nbsp;<code>\textstyle</code>)||<code>\textstyle \lim_{n \to \infty}x_n</code>||colspan=2|<math>\textstyle \lim_{n \to \infty}x_n</math>
|Limit (force&nbsp;<code>\textstyle</syntaxhighlight>)||<code>\textstyle \lim_{n \to \infty}x_n</syntaxhighlight>||colspan=2|<math>\textstyle \lim_{n \to \infty}x_n</math>
|-
|-
|Integral||<code>\int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx</code>||colspan=2|<math>\int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx</math>
|Integral||<code>\int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx</syntaxhighlight>||colspan=2|<math>\int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx</math>
|-
|-
|Integral (alternate limits style)||<code>\int_{1}^{3}\frac{e^3/x}{x^2}\, dx</code>||colspan=2|<math>\int_{1}^{3}\frac{e^3/x}{x^2}\, dx</math>
|Integral (alternate limits style)||<code>\int_{1}^{3}\frac{e^3/x}{x^2}\, dx</syntaxhighlight>||colspan=2|<math>\int_{1}^{3}\frac{e^3/x}{x^2}\, dx</math>
|-
|-
|Integral (force&nbsp;<code>\textstyle</code>)||<code>\textstyle \int\limits_{-N}^{N} e^x\, dx</code>||colspan=2|<math>\textstyle \int\limits_{-N}^{N} e^x\, dx</math>
|Integral (force&nbsp;<code>\textstyle</syntaxhighlight>)||<code>\textstyle \int\limits_{-N}^{N} e^x\, dx</syntaxhighlight>||colspan=2|<math>\textstyle \int\limits_{-N}^{N} e^x\, dx</math>
|-
|-
|Integral (force&nbsp;<code>\textstyle</code>, alternate limits style)||<code>\textstyle \int_{-N}^{N} e^x\, dx</code>||colspan=2|<math>\textstyle \int_{-N}^{N} e^x\, dx</math>
|Integral (force&nbsp;<code>\textstyle</syntaxhighlight>, alternate limits style)||<code>\textstyle \int_{-N}^{N} e^x\, dx</syntaxhighlight>||colspan=2|<math>\textstyle \int_{-N}^{N} e^x\, dx</math>
|-
|-
|Double integral||<code>\iint\limits_D \, dx\,dy</code>||colspan=2|<math>\iint\limits_D \, dx\,dy</math>
|Double integral||<code>\iint\limits_D \, dx\,dy</syntaxhighlight>||colspan=2|<math>\iint\limits_D \, dx\,dy</math>
|-
|-
|Triple integral||<code>\iiint\limits_E \, dx\,dy\,dz</code>||colspan=2|<math>\iiint\limits_E \, dx\,dy\,dz</math>
|Triple integral||<code>\iiint\limits_E \, dx\,dy\,dz</syntaxhighlight>||colspan=2|<math>\iiint\limits_E \, dx\,dy\,dz</math>
|-
|-
|Quadruple integral||<code>\iiiint\limits_F \, dx\,dy\,dz\,dt</code>||colspan=2|<math>\iiiint\limits_F \, dx\,dy\,dz\,dt</math>
|Quadruple integral||<code>\iiiint\limits_F \, dx\,dy\,dz\,dt</syntaxhighlight>||colspan=2|<math>\iiiint\limits_F \, dx\,dy\,dz\,dt</math>
|-
|-
|Line or path integral||<code>\int_C x^3\, dx + 4y^2\, dy</code>||colspan=2|<math>\int_C x^3\, dx + 4y^2\, dy</math>
|Line or path integral||<code>\int_C x^3\, dx + 4y^2\, dy</syntaxhighlight>||colspan=2|<math>\int_C x^3\, dx + 4y^2\, dy</math>
|-
|-
|Closed line or path integral||<code>\oint_C x^3\, dx + 4y^2\, dy</code>||colspan=2|<math>\oint_C x^3\, dx + 4y^2\, dy</math>
|Closed line or path integral||<code>\oint_C x^3\, dx + 4y^2\, dy</syntaxhighlight>||colspan=2|<math>\oint_C x^3\, dx + 4y^2\, dy</math>
|-
|-
|Intersections||<code>\bigcap_1^n p</code>||colspan=2|<math>\bigcap_1^n p</math>
|Intersections||<code>\bigcap_1^n p</syntaxhighlight>||colspan=2|<math>\bigcap_1^n p</math>
|-
|-
|Unions||<code>\bigcup_1^k p</code>||colspan=2|<math>\bigcup_1^k p</math>
|Unions||<code>\bigcup_1^k p</syntaxhighlight>||colspan=2|<math>\bigcup_1^k p</math>
|}
|}


Line 346: Line 346:
<tr>
<tr>
<td>Fractions</td>
<td>Fractions</td>
<td><code>\frac{2}{4}=0.5</code></td>
<td><code>\frac{2}{4}=0.5</syntaxhighlight></td>
<td><math>\frac{2}{4}=0.5</math></td>
<td><math>\frac{2}{4}=0.5</math></td>
</tr>
</tr>
Line 352: Line 352:
<tr>
<tr>
<td>Small Fractions</td>
<td>Small Fractions</td>
<td><code>\tfrac{2}{4} = 0.5</code></td>
<td><code>\tfrac{2}{4} = 0.5</syntaxhighlight></td>
<td><math>\tfrac{2}{4} = 0.5</math></td>
<td><math>\tfrac{2}{4} = 0.5</math></td>
</tr>
</tr>
Line 358: Line 358:
<tr>
<tr>
<td>Large (normal) Fractions</td>
<td>Large (normal) Fractions</td>
<td><code>\dfrac{2}{4} = 0.5 \qquad \dfrac{2}{c + \dfrac{2}{d + \dfrac{2}{4}}} = a </code></td>
<td><code>\dfrac{2}{4} = 0.5 \qquad \dfrac{2}{c + \dfrac{2}{d + \dfrac{2}{4}}} = a </syntaxhighlight></td>
<td><math>\dfrac{2}{4} = 0.5 \qquad \dfrac{2}{c + \dfrac{2}{d + \dfrac{2}{4}}} = a</math></td>
<td><math>\dfrac{2}{4} = 0.5 \qquad \dfrac{2}{c + \dfrac{2}{d + \dfrac{2}{4}}} = a</math></td>
</tr>
</tr>
Line 364: Line 364:
<tr>
<tr>
<td>Large (nested) Fractions</td>
<td>Large (nested) Fractions</td>
<td><code>\cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a</code></td>
<td><code>\cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a</syntaxhighlight></td>
<td><math>\cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a</math></td>
<td><math>\cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a</math></td>
</tr>
</tr>
Line 370: Line 370:
<tr>
<tr>
<td>Binomial coefficients</td>
<td>Binomial coefficients</td>
<td><code>\binom{n}{k}</code></td>
<td><code>\binom{n}{k}</syntaxhighlight></td>
<td><math>\binom{n}{k}</math></td>
<td><math>\binom{n}{k}</math></td>
</tr>
</tr>
Line 377: Line 377:
<tr>
<tr>
<td>Small Binomial coefficients</td>
<td>Small Binomial coefficients</td>
<td><code>\tbinom{n}{k}</code></td>
<td><code>\tbinom{n}{k}</syntaxhighlight></td>
<td><math>\tbinom{n}{k}</math></td>
<td><math>\tbinom{n}{k}</math></td>
</tr>
</tr>
Line 384: Line 384:
<tr>
<tr>
<td>Large (normal) Binomial coefficients</td>
<td>Large (normal) Binomial coefficients</td>
<td><code>\dbinom{n}{k}</code></td>
<td><code>\dbinom{n}{k}</syntaxhighlight></td>
<td><math>\dbinom{n}{k}</math></td>
<td><math>\dbinom{n}{k}</math></td>
</tr>
</tr>
Line 584: Line 584:
|-
|-
| Bad
| Bad
| <code>( \frac{1}{2} )</code>
| <code>( \frac{1}{2} )</syntaxhighlight>
| <math>( \frac{1}{2} )</math>
| <math>( \frac{1}{2} )</math>
|-
|-
| Good
| Good
| <code>\left ( \frac{1}{2} \right )</code>
| <code>\left ( \frac{1}{2} \right )</syntaxhighlight>
| <math>\left ( \frac{1}{2} \right )</math>
| <math>\left ( \frac{1}{2} \right )</math>
|}
|}
Line 600: Line 600:
|-
|-
| Parentheses
| Parentheses
| <code>\left ( \frac{a}{b} \right )</code>
| <code>\left ( \frac{a}{b} \right )</syntaxhighlight>
| <math>\left ( \frac{a}{b} \right )</math>
| <math>\left ( \frac{a}{b} \right )</math>
|-
|-
| Brackets
| Brackets
| <code>\left [ \frac{a}{b} \right ] \quad \left \lbrack \frac{a}{b} \right \rbrack</code>
| <code>\left [ \frac{a}{b} \right ] \quad \left \lbrack \frac{a}{b} \right \rbrack</syntaxhighlight>
| <math>\left [ \frac{a}{b} \right ] \quad \left \lbrack \frac{a}{b} \right \rbrack</math>
| <math>\left [ \frac{a}{b} \right ] \quad \left \lbrack \frac{a}{b} \right \rbrack</math>
|-
|-
| Braces
| Braces
| <code>\left \{ \frac{a}{b} \right \} \quad \left \lbrace \frac{a}{b} \right \rbrace</code>
| <code>\left \{ \frac{a}{b} \right \} \quad \left \lbrace \frac{a}{b} \right \rbrace</syntaxhighlight>
| <math>\left \{ \frac{a}{b} \right \} \quad \left \lbrace \frac{a}{b} \right \rbrace</math>
| <math>\left \{ \frac{a}{b} \right \} \quad \left \lbrace \frac{a}{b} \right \rbrace</math>
|-
|-
| Angle brackets
| Angle brackets
| <code>\left \langle \frac{a}{b} \right \rangle</code>
| <code>\left \langle \frac{a}{b} \right \rangle</syntaxhighlight>
| <math>\left \langle \frac{a}{b} \right \rangle</math>
| <math>\left \langle \frac{a}{b} \right \rangle</math>
|-
|-
| Bars and double bars
| Bars and double bars
| <code><nowiki>\left | \frac{a}{b} \right \vert \left \Vert \frac{c}{d} \right \|</nowiki></code>
| <code><nowiki>\left | \frac{a}{b} \right \vert \left \Vert \frac{c}{d} \right \|</nowiki></syntaxhighlight>
| <math>\left | \frac{a}{b} \right \vert \left \Vert \frac{c}{d} \right \|</math>
| <math>\left | \frac{a}{b} \right \vert \left \Vert \frac{c}{d} \right \|</math>
|-
|-
| Floor and ceiling functions:
| Floor and ceiling functions:
| <code>\left \lfloor \frac{a}{b} \right \rfloor \left \lceil \frac{c}{d} \right \rceil</code>
| <code>\left \lfloor \frac{a}{b} \right \rfloor \left \lceil \frac{c}{d} \right \rceil</syntaxhighlight>
| <math>\left \lfloor \frac{a}{b} \right \rfloor \left \lceil \frac{c}{d} \right \rceil</math>
| <math>\left \lfloor \frac{a}{b} \right \rfloor \left \lceil \frac{c}{d} \right \rceil</math>
|-
|-
| Slashes and backslashes
| Slashes and backslashes
| <code>\left / \frac{a}{b} \right \backslash</code>
| <code>\left / \frac{a}{b} \right \backslash</syntaxhighlight>
| <math>\left / \frac{a}{b} \right \backslash</math>
| <math>\left / \frac{a}{b} \right \backslash</math>
|-
|-
| Up, down and up-down arrows
| Up, down and up-down arrows
| <code>\left \uparrow \frac{a}{b} \right \downarrow \quad \left \Uparrow \frac{a}{b} \right \Downarrow \quad \left \updownarrow \frac{a}{b} \right \Updownarrow</code>
| <code>\left \uparrow \frac{a}{b} \right \downarrow \quad \left \Uparrow \frac{a}{b} \right \Downarrow \quad \left \updownarrow \frac{a}{b} \right \Updownarrow</syntaxhighlight>
| <math>\left \uparrow \frac{a}{b} \right \downarrow \quad \left \Uparrow \frac{a}{b} \right \Downarrow \quad \left \updownarrow \frac{a}{b} \right \Updownarrow</math>
| <math>\left \uparrow \frac{a}{b} \right \downarrow \quad \left \Uparrow \frac{a}{b} \right \Downarrow \quad \left \updownarrow \frac{a}{b} \right \Updownarrow</math>
|-
|-
| Delimiters can be mixed,<br/>as long as \left and \right match
| Delimiters can be mixed,<br/>as long as \left and \right match
| <code><nowiki>\left [ 0,1 \right )</code> <br/> <code>\left \langle \psi \right |</nowiki></code>
| <code><nowiki>\left [ 0,1 \right )</syntaxhighlight> <br/> <code>\left \langle \psi \right |</nowiki></syntaxhighlight>
| <math>\left [ 0,1 \right )</math> <br/> <math>\left \langle \psi \right |</math>
| <math>\left [ 0,1 \right )</math> <br/> <math>\left \langle \psi \right |</math>
|-
|-
| Use \left. and \right. if you don't<br/>want a delimiter to appear:
| Use \left. and \right. if you don't<br/>want a delimiter to appear:
| <code>\left . \frac{A}{B} \right \} \to X</code>
| <code>\left . \frac{A}{B} \right \} \to X</syntaxhighlight>
| <math>\left . \frac{A}{B} \right \} \to X</math>
| <math>\left . \frac{A}{B} \right \} \to X</math>
|-
|-
Line 643: Line 643:
| <math>\big( \Big( \bigg( \Bigg( \dots \Bigg] \bigg] \Big] \big]</math>
| <math>\big( \Big( \bigg( \Bigg( \dots \Bigg] \bigg] \Big] \big]</math>
|-
|-
| <code>\big\{ \Big\{ \bigg\{ \Bigg\{ \dots \Bigg\rangle \bigg\rangle \Big\rangle \big\rangle</code>
| <code>\big\{ \Big\{ \bigg\{ \Bigg\{ \dots \Bigg\rangle \bigg\rangle \Big\rangle \big\rangle</syntaxhighlight>
| <math>\big\{ \Big\{ \bigg\{ \Bigg\{ \dots \Bigg\rangle \bigg\rangle \Big\rangle \big\rangle</math>
| <math>\big\{ \Big\{ \bigg\{ \Bigg\{ \dots \Bigg\rangle \bigg\rangle \Big\rangle \big\rangle</math>
|-
|-
| <code><nowiki>\big\| \Big\| \bigg\| \Bigg\| \dots \Bigg| \bigg| \Big| \big|</nowiki></code>
| <code><nowiki>\big\| \Big\| \bigg\| \Bigg\| \dots \Bigg| \bigg| \Big| \big|</nowiki></syntaxhighlight>
| <math>\big\| \Big\| \bigg\| \Bigg\| \dots \Bigg| \bigg| \Big| \big|</math>
| <math>\big\| \Big\| \bigg\| \Bigg\| \dots \Bigg| \bigg| \Big| \big|</math>
|-
|-
| <code>\big\lfloor \Big\lfloor \bigg\lfloor \Bigg\lfloor \dots \Bigg\rceil \bigg\rceil \Big\rceil \big\rceil</code>
| <code>\big\lfloor \Big\lfloor \bigg\lfloor \Bigg\lfloor \dots \Bigg\rceil \bigg\rceil \Big\rceil \big\rceil</syntaxhighlight>
| <math>\big\lfloor \Big\lfloor \bigg\lfloor \Bigg\lfloor \dots \Bigg\rceil \bigg\rceil \Big\rceil \big\rceil</math>
| <math>\big\lfloor \Big\lfloor \bigg\lfloor \Bigg\lfloor \dots \Bigg\rceil \bigg\rceil \Big\rceil \big\rceil</math>
|-
|-
| <code>\big\uparrow \Big\uparrow \bigg\uparrow \Bigg\uparrow \dots \Bigg\Downarrow \bigg\Downarrow \Big\Downarrow \big\Downarrow</code>
| <code>\big\uparrow \Big\uparrow \bigg\uparrow \Bigg\uparrow \dots \Bigg\Downarrow \bigg\Downarrow \Big\Downarrow \big\Downarrow</syntaxhighlight>
| <math>\big\uparrow \Big\uparrow \bigg\uparrow \Bigg\uparrow \dots \Bigg\Downarrow \bigg\Downarrow \Big\Downarrow \big\Downarrow</math>
| <math>\big\uparrow \Big\uparrow \bigg\uparrow \Bigg\uparrow \dots \Bigg\Downarrow \bigg\Downarrow \Big\Downarrow \big\Downarrow</math>
|-
|-
| <code>\big\updownarrow \Big\updownarrow \bigg\updownarrow \Bigg\updownarrow \dots \Bigg\Updownarrow \bigg\Updownarrow \Big\Updownarrow \big\Updownarrow</code>
| <code>\big\updownarrow \Big\updownarrow \bigg\updownarrow \Bigg\updownarrow \dots \Bigg\Updownarrow \bigg\Updownarrow \Big\Updownarrow \big\Updownarrow</syntaxhighlight>
| <math>\big\updownarrow \Big\updownarrow \bigg\updownarrow \Bigg\updownarrow \dots \Bigg\Updownarrow \bigg\Updownarrow \Big\Updownarrow \big\Updownarrow</math>
| <math>\big\updownarrow \Big\updownarrow \bigg\updownarrow \Bigg\updownarrow \dots \Bigg\Updownarrow \bigg\Updownarrow \Big\Updownarrow \big\Updownarrow</math>
|-
|-
| <code>\big / \Big / \bigg / \Bigg / \dots \Bigg\backslash \bigg\backslash \Big\backslash \big\backslash</code>
| <code>\big / \Big / \bigg / \Bigg / \dots \Bigg\backslash \bigg\backslash \Big\backslash \big\backslash</syntaxhighlight>
| <math>\big / \Big / \bigg / \Bigg / \dots \Bigg\backslash \bigg\backslash \Big\backslash \big\backslash</math>
| <math>\big / \Big / \bigg / \Bigg / \dots \Bigg\backslash \bigg\backslash \Big\backslash \big\backslash</math>
|}
|}
Line 669: Line 669:
! colspan="2" | Greek alphabet
! colspan="2" | Greek alphabet
|-
|-
|<code><nowiki>\Alpha \Beta \Gamma \Delta \Epsilon \Zeta</nowiki></code>
|<code><nowiki>\Alpha \Beta \Gamma \Delta \Epsilon \Zeta</nowiki></syntaxhighlight>
|<math>\Alpha \Beta \Gamma \Delta \Epsilon \Zeta \,\!</math>
|<math>\Alpha \Beta \Gamma \Delta \Epsilon \Zeta \,\!</math>
|-
|-
|<code><nowiki>\Eta \Theta \Iota \Kappa \Lambda \Mu</nowiki></code>
|<code><nowiki>\Eta \Theta \Iota \Kappa \Lambda \Mu</nowiki></syntaxhighlight>
|<math>\Eta \Theta \Iota \Kappa \Lambda \Mu \,\!</math>
|<math>\Eta \Theta \Iota \Kappa \Lambda \Mu \,\!</math>
|-
|-
|<code><nowiki>\Nu \Xi \Pi \Rho \Sigma \Tau</nowiki></code>
|<code><nowiki>\Nu \Xi \Pi \Rho \Sigma \Tau</nowiki></syntaxhighlight>
|<math>\Nu \Xi \Pi \Rho \Sigma \Tau\,\!</math>
|<math>\Nu \Xi \Pi \Rho \Sigma \Tau\,\!</math>
|-
|-
|<code><nowiki>\Upsilon \Phi \Chi \Psi \Omega</nowiki></code>
|<code><nowiki>\Upsilon \Phi \Chi \Psi \Omega</nowiki></syntaxhighlight>
|<math>\Upsilon \Phi \Chi \Psi \Omega \,\!</math>
|<math>\Upsilon \Phi \Chi \Psi \Omega \,\!</math>
|-
|-
|<code><nowiki>\alpha \beta \gamma \delta \epsilon \zeta</nowiki></code>
|<code><nowiki>\alpha \beta \gamma \delta \epsilon \zeta</nowiki></syntaxhighlight>
|<math>\alpha \beta \gamma \delta \epsilon \zeta \,\!</math>
|<math>\alpha \beta \gamma \delta \epsilon \zeta \,\!</math>
|-
|-
|<code><nowiki>\eta \theta \iota \kappa \lambda \mu</nowiki></code>
|<code><nowiki>\eta \theta \iota \kappa \lambda \mu</nowiki></syntaxhighlight>
|<math>\eta \theta \iota \kappa \lambda \mu \,\!</math>
|<math>\eta \theta \iota \kappa \lambda \mu \,\!</math>
|-
|-
|<code><nowiki>\nu \xi \pi \rho \sigma \tau</nowiki></code>
|<code><nowiki>\nu \xi \pi \rho \sigma \tau</nowiki></syntaxhighlight>
|<math>\nu \xi \pi \rho \sigma \tau \,\!</math>
|<math>\nu \xi \pi \rho \sigma \tau \,\!</math>
|-
|-
|<code><nowiki>\upsilon \phi \chi \psi \omega</nowiki></code>
|<code><nowiki>\upsilon \phi \chi \psi \omega</nowiki></syntaxhighlight>
|<math>\upsilon \phi \chi \psi \omega \,\!</math>
|<math>\upsilon \phi \chi \psi \omega \,\!</math>
|-
|-
|<code><nowiki>\varepsilon \digamma \vartheta \varkappa</nowiki></code>
|<code><nowiki>\varepsilon \digamma \vartheta \varkappa</nowiki></syntaxhighlight>
|<math>\varepsilon \digamma \vartheta \varkappa \,\!</math>
|<math>\varepsilon \digamma \vartheta \varkappa \,\!</math>
|-
|-
|<code><nowiki>\varpi \varrho \varsigma \varphi</nowiki></code>
|<code><nowiki>\varpi \varrho \varsigma \varphi</nowiki></syntaxhighlight>
|<math>\varpi \varrho \varsigma \varphi\,\!</math>
|<math>\varpi \varrho \varsigma \varphi\,\!</math>
|-
|-
! colspan="2" | Blackboard Bold/Scripts
! colspan="2" | Blackboard Bold/Scripts
|-
|-
|<code><nowiki>\mathbb{A} \mathbb{B} \mathbb{C} \mathbb{D} \mathbb{E} \mathbb{F} \mathbb{G}</nowiki></code>
|<code><nowiki>\mathbb{A} \mathbb{B} \mathbb{C} \mathbb{D} \mathbb{E} \mathbb{F} \mathbb{G}</nowiki></syntaxhighlight>
|<math>\mathbb{A} \mathbb{B} \mathbb{C} \mathbb{D} \mathbb{E} \mathbb{F} \mathbb{G} \,\!</math>
|<math>\mathbb{A} \mathbb{B} \mathbb{C} \mathbb{D} \mathbb{E} \mathbb{F} \mathbb{G} \,\!</math>
|-
|-
|<code><nowiki>\mathbb{H} \mathbb{I} \mathbb{J} \mathbb{K} \mathbb{L} \mathbb{M}</nowiki></code>
|<code><nowiki>\mathbb{H} \mathbb{I} \mathbb{J} \mathbb{K} \mathbb{L} \mathbb{M}</nowiki></syntaxhighlight>
|<math>\mathbb{H} \mathbb{I} \mathbb{J} \mathbb{K} \mathbb{L} \mathbb{M} \,\!</math>
|<math>\mathbb{H} \mathbb{I} \mathbb{J} \mathbb{K} \mathbb{L} \mathbb{M} \,\!</math>
|-
|-
|<code><nowiki>\mathbb{N} \mathbb{O} \mathbb{P} \mathbb{Q} \mathbb{R} \mathbb{S} \mathbb{T}</nowiki></code>
|<code><nowiki>\mathbb{N} \mathbb{O} \mathbb{P} \mathbb{Q} \mathbb{R} \mathbb{S} \mathbb{T}</nowiki></syntaxhighlight>
|<math>\mathbb{N} \mathbb{O} \mathbb{P} \mathbb{Q} \mathbb{R} \mathbb{S} \mathbb{T} \,\!</math>
|<math>\mathbb{N} \mathbb{O} \mathbb{P} \mathbb{Q} \mathbb{R} \mathbb{S} \mathbb{T} \,\!</math>
|-
|-
|<code><nowiki>\mathbb{U} \mathbb{V} \mathbb{W} \mathbb{X} \mathbb{Y} \mathbb{Z}</nowiki></code>
|<code><nowiki>\mathbb{U} \mathbb{V} \mathbb{W} \mathbb{X} \mathbb{Y} \mathbb{Z}</nowiki></syntaxhighlight>
|<math>\mathbb{U} \mathbb{V} \mathbb{W} \mathbb{X} \mathbb{Y} \mathbb{Z}\,\!</math>
|<math>\mathbb{U} \mathbb{V} \mathbb{W} \mathbb{X} \mathbb{Y} \mathbb{Z}\,\!</math>
|-
|-
! colspan="2" | boldface (vectors)
! colspan="2" | boldface (vectors)
|-
|-
|<code><nowiki>\mathbf{A} \mathbf{B} \mathbf{C} \mathbf{D} \mathbf{E} \mathbf{F} \mathbf{G}</nowiki></code>
|<code><nowiki>\mathbf{A} \mathbf{B} \mathbf{C} \mathbf{D} \mathbf{E} \mathbf{F} \mathbf{G}</nowiki></syntaxhighlight>
|<math>\mathbf{A} \mathbf{B} \mathbf{C} \mathbf{D} \mathbf{E} \mathbf{F} \mathbf{G} \,\!</math>
|<math>\mathbf{A} \mathbf{B} \mathbf{C} \mathbf{D} \mathbf{E} \mathbf{F} \mathbf{G} \,\!</math>
|-
|-
|<code><nowiki>\mathbf{H} \mathbf{I} \mathbf{J} \mathbf{K} \mathbf{L} \mathbf{M}</nowiki></code>
|<code><nowiki>\mathbf{H} \mathbf{I} \mathbf{J} \mathbf{K} \mathbf{L} \mathbf{M}</nowiki></syntaxhighlight>
|<math>\mathbf{H} \mathbf{I} \mathbf{J} \mathbf{K} \mathbf{L} \mathbf{M} \,\!</math>
|<math>\mathbf{H} \mathbf{I} \mathbf{J} \mathbf{K} \mathbf{L} \mathbf{M} \,\!</math>
|-
|-
|<code><nowiki>\mathbf{N} \mathbf{O} \mathbf{P} \mathbf{Q} \mathbf{R} \mathbf{S} \mathbf{T}</nowiki></code>
|<code><nowiki>\mathbf{N} \mathbf{O} \mathbf{P} \mathbf{Q} \mathbf{R} \mathbf{S} \mathbf{T}</nowiki></syntaxhighlight>
|<math>\mathbf{N} \mathbf{O} \mathbf{P} \mathbf{Q} \mathbf{R} \mathbf{S} \mathbf{T} \,\!</math>
|<math>\mathbf{N} \mathbf{O} \mathbf{P} \mathbf{Q} \mathbf{R} \mathbf{S} \mathbf{T} \,\!</math>
|-
|-
|<code><nowiki>\mathbf{U} \mathbf{V} \mathbf{W} \mathbf{X} \mathbf{Y} \mathbf{Z}</nowiki></code>
|<code><nowiki>\mathbf{U} \mathbf{V} \mathbf{W} \mathbf{X} \mathbf{Y} \mathbf{Z}</nowiki></syntaxhighlight>
|<math>\mathbf{U} \mathbf{V} \mathbf{W} \mathbf{X} \mathbf{Y} \mathbf{Z} \,\!</math>
|<math>\mathbf{U} \mathbf{V} \mathbf{W} \mathbf{X} \mathbf{Y} \mathbf{Z} \,\!</math>
|-
|-
|<code><nowiki>\mathbf{a} \mathbf{b} \mathbf{c} \mathbf{d} \mathbf{e} \mathbf{f} \mathbf{g}</nowiki></code>
|<code><nowiki>\mathbf{a} \mathbf{b} \mathbf{c} \mathbf{d} \mathbf{e} \mathbf{f} \mathbf{g}</nowiki></syntaxhighlight>
|<math>\mathbf{a} \mathbf{b} \mathbf{c} \mathbf{d} \mathbf{e} \mathbf{f} \mathbf{g} \,\!</math>
|<math>\mathbf{a} \mathbf{b} \mathbf{c} \mathbf{d} \mathbf{e} \mathbf{f} \mathbf{g} \,\!</math>
|-
|-
|<code><nowiki>\mathbf{h} \mathbf{i} \mathbf{j} \mathbf{k} \mathbf{l} \mathbf{m}</nowiki></code>
|<code><nowiki>\mathbf{h} \mathbf{i} \mathbf{j} \mathbf{k} \mathbf{l} \mathbf{m}</nowiki></syntaxhighlight>
|<math>\mathbf{h} \mathbf{i} \mathbf{j} \mathbf{k} \mathbf{l} \mathbf{m} \,\!</math>
|<math>\mathbf{h} \mathbf{i} \mathbf{j} \mathbf{k} \mathbf{l} \mathbf{m} \,\!</math>
|-
|-
|<code><nowiki>\mathbf{n} \mathbf{o} \mathbf{p} \mathbf{q} \mathbf{r} \mathbf{s} \mathbf{t}</nowiki></code>
|<code><nowiki>\mathbf{n} \mathbf{o} \mathbf{p} \mathbf{q} \mathbf{r} \mathbf{s} \mathbf{t}</nowiki></syntaxhighlight>
|<math>\mathbf{n} \mathbf{o} \mathbf{p} \mathbf{q} \mathbf{r} \mathbf{s} \mathbf{t} \,\!</math>
|<math>\mathbf{n} \mathbf{o} \mathbf{p} \mathbf{q} \mathbf{r} \mathbf{s} \mathbf{t} \,\!</math>
|-
|-
|<code><nowiki>\mathbf{u} \mathbf{v} \mathbf{w} \mathbf{x} \mathbf{y} \mathbf{z}</nowiki></code>
|<code><nowiki>\mathbf{u} \mathbf{v} \mathbf{w} \mathbf{x} \mathbf{y} \mathbf{z}</nowiki></syntaxhighlight>
|<math>\mathbf{u} \mathbf{v} \mathbf{w} \mathbf{x} \mathbf{y} \mathbf{z} \,\!</math>
|<math>\mathbf{u} \mathbf{v} \mathbf{w} \mathbf{x} \mathbf{y} \mathbf{z} \,\!</math>
|-
|-
|<code><nowiki>\mathbf{0} \mathbf{1} \mathbf{2} \mathbf{3} \mathbf{4}</nowiki></code>
|<code><nowiki>\mathbf{0} \mathbf{1} \mathbf{2} \mathbf{3} \mathbf{4}</nowiki></syntaxhighlight>
|<math>\mathbf{0} \mathbf{1} \mathbf{2} \mathbf{3} \mathbf{4} \,\!</math>
|<math>\mathbf{0} \mathbf{1} \mathbf{2} \mathbf{3} \mathbf{4} \,\!</math>
|-
|-
|<code><nowiki>\mathbf{5} \mathbf{6} \mathbf{7} \mathbf{8} \mathbf{9}</nowiki></code>
|<code><nowiki>\mathbf{5} \mathbf{6} \mathbf{7} \mathbf{8} \mathbf{9}</nowiki></syntaxhighlight>
|<math>\mathbf{5} \mathbf{6} \mathbf{7} \mathbf{8} \mathbf{9}\,\!</math>
|<math>\mathbf{5} \mathbf{6} \mathbf{7} \mathbf{8} \mathbf{9}\,\!</math>
|-
|-
! colspan="2" | Boldface (greek)
! colspan="2" | Boldface (greek)
|-
|-
|<code><nowiki>\boldsymbol{\Alpha} \boldsymbol{\Beta} \boldsymbol{\Gamma} \boldsymbol{\Delta} \boldsymbol{\Epsilon} \boldsymbol{\Zeta}</nowiki></code>
|<code><nowiki>\boldsymbol{\Alpha} \boldsymbol{\Beta} \boldsymbol{\Gamma} \boldsymbol{\Delta} \boldsymbol{\Epsilon} \boldsymbol{\Zeta}</nowiki></syntaxhighlight>
|<math>\boldsymbol{\Alpha} \boldsymbol{\Beta} \boldsymbol{\Gamma} \boldsymbol{\Delta} \boldsymbol{\Epsilon} \boldsymbol{\Zeta} \,\!</math>
|<math>\boldsymbol{\Alpha} \boldsymbol{\Beta} \boldsymbol{\Gamma} \boldsymbol{\Delta} \boldsymbol{\Epsilon} \boldsymbol{\Zeta} \,\!</math>
|-
|-
|<code><nowiki>\boldsymbol{\Eta} \boldsymbol{\Theta} \boldsymbol{\Iota} \boldsymbol{\Kappa} \boldsymbol{\Lambda} \boldsymbol{\Mu}</nowiki></code>
|<code><nowiki>\boldsymbol{\Eta} \boldsymbol{\Theta} \boldsymbol{\Iota} \boldsymbol{\Kappa} \boldsymbol{\Lambda} \boldsymbol{\Mu}</nowiki></syntaxhighlight>
|<math>\boldsymbol{\Eta} \boldsymbol{\Theta} \boldsymbol{\Iota} \boldsymbol{\Kappa} \boldsymbol{\Lambda} \boldsymbol{\Mu}\,\!</math>
|<math>\boldsymbol{\Eta} \boldsymbol{\Theta} \boldsymbol{\Iota} \boldsymbol{\Kappa} \boldsymbol{\Lambda} \boldsymbol{\Mu}\,\!</math>
|-
|-
|<code><nowiki>\boldsymbol{\Nu} \boldsymbol{\Xi} \boldsymbol{\Pi} \boldsymbol{\Rho} \boldsymbol{\Sigma} \boldsymbol{\Tau}</nowiki></code>
|<code><nowiki>\boldsymbol{\Nu} \boldsymbol{\Xi} \boldsymbol{\Pi} \boldsymbol{\Rho} \boldsymbol{\Sigma} \boldsymbol{\Tau}</nowiki></syntaxhighlight>
|<math>\boldsymbol{\Nu} \boldsymbol{\Xi} \boldsymbol{\Pi} \boldsymbol{\Rho} \boldsymbol{\Sigma} \boldsymbol{\Tau}\,\!</math>
|<math>\boldsymbol{\Nu} \boldsymbol{\Xi} \boldsymbol{\Pi} \boldsymbol{\Rho} \boldsymbol{\Sigma} \boldsymbol{\Tau}\,\!</math>
|-
|-
|<code><nowiki>\boldsymbol{\Upsilon} \boldsymbol{\Phi} \boldsymbol{\Chi} \boldsymbol{\Psi} \boldsymbol{\Omega}</nowiki></code>
|<code><nowiki>\boldsymbol{\Upsilon} \boldsymbol{\Phi} \boldsymbol{\Chi} \boldsymbol{\Psi} \boldsymbol{\Omega}</nowiki></syntaxhighlight>
|<math>\boldsymbol{\Upsilon} \boldsymbol{\Phi} \boldsymbol{\Chi} \boldsymbol{\Psi} \boldsymbol{\Omega}\,\!</math>
|<math>\boldsymbol{\Upsilon} \boldsymbol{\Phi} \boldsymbol{\Chi} \boldsymbol{\Psi} \boldsymbol{\Omega}\,\!</math>
|-
|-
|<code><nowiki>\boldsymbol{\alpha} \boldsymbol{\beta} \boldsymbol{\gamma} \boldsymbol{\delta} \boldsymbol{\epsilon} \boldsymbol{\zeta}</nowiki></code>
|<code><nowiki>\boldsymbol{\alpha} \boldsymbol{\beta} \boldsymbol{\gamma} \boldsymbol{\delta} \boldsymbol{\epsilon} \boldsymbol{\zeta}</nowiki></syntaxhighlight>
|<math>\boldsymbol{\alpha} \boldsymbol{\beta} \boldsymbol{\gamma} \boldsymbol{\delta} \boldsymbol{\epsilon} \boldsymbol{\zeta}\,\!</math>
|<math>\boldsymbol{\alpha} \boldsymbol{\beta} \boldsymbol{\gamma} \boldsymbol{\delta} \boldsymbol{\epsilon} \boldsymbol{\zeta}\,\!</math>
|-
|-
|<code><nowiki>\boldsymbol{\eta} \boldsymbol{\theta} \boldsymbol{\iota} \boldsymbol{\kappa} \boldsymbol{\lambda} \boldsymbol{\mu}</nowiki></code>
|<code><nowiki>\boldsymbol{\eta} \boldsymbol{\theta} \boldsymbol{\iota} \boldsymbol{\kappa} \boldsymbol{\lambda} \boldsymbol{\mu}</nowiki></syntaxhighlight>
|<math>\boldsymbol{\eta} \boldsymbol{\theta} \boldsymbol{\iota} \boldsymbol{\kappa} \boldsymbol{\lambda} \boldsymbol{\mu}\,\!</math>
|<math>\boldsymbol{\eta} \boldsymbol{\theta} \boldsymbol{\iota} \boldsymbol{\kappa} \boldsymbol{\lambda} \boldsymbol{\mu}\,\!</math>
|-
|-
|<code><nowiki>\boldsymbol{\nu} \boldsymbol{\xi} \boldsymbol{\pi} \boldsymbol{\rho} \boldsymbol{\sigma} \boldsymbol{\tau}</nowiki></code>
|<code><nowiki>\boldsymbol{\nu} \boldsymbol{\xi} \boldsymbol{\pi} \boldsymbol{\rho} \boldsymbol{\sigma} \boldsymbol{\tau}</nowiki></syntaxhighlight>
|<math>\boldsymbol{\nu} \boldsymbol{\xi} \boldsymbol{\pi} \boldsymbol{\rho} \boldsymbol{\sigma} \boldsymbol{\tau}\,\!</math>
|<math>\boldsymbol{\nu} \boldsymbol{\xi} \boldsymbol{\pi} \boldsymbol{\rho} \boldsymbol{\sigma} \boldsymbol{\tau}\,\!</math>
|-
|-
|<code><nowiki>\boldsymbol{\upsilon} \boldsymbol{\phi} \boldsymbol{\chi} \boldsymbol{\psi} \boldsymbol{\omega}</nowiki></code>
|<code><nowiki>\boldsymbol{\upsilon} \boldsymbol{\phi} \boldsymbol{\chi} \boldsymbol{\psi} \boldsymbol{\omega}</nowiki></syntaxhighlight>
|<math>\boldsymbol{\upsilon} \boldsymbol{\phi} \boldsymbol{\chi} \boldsymbol{\psi} \boldsymbol{\omega}\,\!</math>
|<math>\boldsymbol{\upsilon} \boldsymbol{\phi} \boldsymbol{\chi} \boldsymbol{\psi} \boldsymbol{\omega}\,\!</math>
|-
|-
|<code><nowiki>\boldsymbol{\varepsilon} \boldsymbol{\digamma} \boldsymbol{\vartheta} \boldsymbol{\varkappa}</nowiki></code>
|<code><nowiki>\boldsymbol{\varepsilon} \boldsymbol{\digamma} \boldsymbol{\vartheta} \boldsymbol{\varkappa}</nowiki></syntaxhighlight>
|<math>\boldsymbol{\varepsilon} \boldsymbol{\digamma} \boldsymbol{\vartheta} \boldsymbol{\varkappa} \,\!</math>
|<math>\boldsymbol{\varepsilon} \boldsymbol{\digamma} \boldsymbol{\vartheta} \boldsymbol{\varkappa} \,\!</math>
|-
|-
|<code><nowiki>\boldsymbol{\varpi} \boldsymbol{\varrho} \boldsymbol{\varsigma} \boldsymbol{\varphi}</nowiki></code>
|<code><nowiki>\boldsymbol{\varpi} \boldsymbol{\varrho} \boldsymbol{\varsigma} \boldsymbol{\varphi}</nowiki></syntaxhighlight>
|<math>\boldsymbol{\varpi} \boldsymbol{\varrho} \boldsymbol{\varsigma} \boldsymbol{\varphi}\,\!</math>
|<math>\boldsymbol{\varpi} \boldsymbol{\varrho} \boldsymbol{\varsigma} \boldsymbol{\varphi}\,\!</math>
|-
|-
! colspan="2" | Italics
! colspan="2" | Italics
|-
|-
|<code><nowiki>\mathit{A} \mathit{B} \mathit{C} \mathit{D} \mathit{E} \mathit{F} \mathit{G}</nowiki></code>
|<code><nowiki>\mathit{A} \mathit{B} \mathit{C} \mathit{D} \mathit{E} \mathit{F} \mathit{G}</nowiki></syntaxhighlight>
|<math>\mathit{A} \mathit{B} \mathit{C} \mathit{D} \mathit{E} \mathit{F} \mathit{G} \,\!</math>
|<math>\mathit{A} \mathit{B} \mathit{C} \mathit{D} \mathit{E} \mathit{F} \mathit{G} \,\!</math>
|-
|-
|<code><nowiki>\mathit{H} \mathit{I} \mathit{J} \mathit{K} \mathit{L} \mathit{M}</nowiki></code>
|<code><nowiki>\mathit{H} \mathit{I} \mathit{J} \mathit{K} \mathit{L} \mathit{M}</nowiki></syntaxhighlight>
|<math>\mathit{H} \mathit{I} \mathit{J} \mathit{K} \mathit{L} \mathit{M} \,\!</math>
|<math>\mathit{H} \mathit{I} \mathit{J} \mathit{K} \mathit{L} \mathit{M} \,\!</math>
|-
|-
|<code><nowiki>\mathit{N} \mathit{O} \mathit{P} \mathit{Q} \mathit{R} \mathit{S} \mathit{T}</nowiki></code>
|<code><nowiki>\mathit{N} \mathit{O} \mathit{P} \mathit{Q} \mathit{R} \mathit{S} \mathit{T}</nowiki></syntaxhighlight>
|<math>\mathit{N} \mathit{O} \mathit{P} \mathit{Q} \mathit{R} \mathit{S} \mathit{T} \,\!</math>
|<math>\mathit{N} \mathit{O} \mathit{P} \mathit{Q} \mathit{R} \mathit{S} \mathit{T} \,\!</math>
|-
|-
|<code><nowiki>\mathit{U} \mathit{V} \mathit{W} \mathit{X} \mathit{Y} \mathit{Z}</nowiki></code>
|<code><nowiki>\mathit{U} \mathit{V} \mathit{W} \mathit{X} \mathit{Y} \mathit{Z}</nowiki></syntaxhighlight>
|<math>\mathit{U} \mathit{V} \mathit{W} \mathit{X} \mathit{Y} \mathit{Z} \,\!</math>
|<math>\mathit{U} \mathit{V} \mathit{W} \mathit{X} \mathit{Y} \mathit{Z} \,\!</math>
|-
|-
|<code><nowiki>\mathit{a} \mathit{b} \mathit{c} \mathit{d} \mathit{e} \mathit{f} \mathit{g}</nowiki></code>
|<code><nowiki>\mathit{a} \mathit{b} \mathit{c} \mathit{d} \mathit{e} \mathit{f} \mathit{g}</nowiki></syntaxhighlight>
|<math>\mathit{a} \mathit{b} \mathit{c} \mathit{d} \mathit{e} \mathit{f} \mathit{g} \,\!</math>
|<math>\mathit{a} \mathit{b} \mathit{c} \mathit{d} \mathit{e} \mathit{f} \mathit{g} \,\!</math>
|-
|-
|<code><nowiki>\mathit{h} \mathit{i} \mathit{j} \mathit{k} \mathit{l} \mathit{m}</nowiki></code>
|<code><nowiki>\mathit{h} \mathit{i} \mathit{j} \mathit{k} \mathit{l} \mathit{m}</nowiki></syntaxhighlight>
|<math>\mathit{h} \mathit{i} \mathit{j} \mathit{k} \mathit{l} \mathit{m} \,\!</math>
|<math>\mathit{h} \mathit{i} \mathit{j} \mathit{k} \mathit{l} \mathit{m} \,\!</math>
|-
|-
|<code><nowiki>\mathit{n} \mathit{o} \mathit{p} \mathit{q} \mathit{r} \mathit{s} \mathit{t}</nowiki></code>
|<code><nowiki>\mathit{n} \mathit{o} \mathit{p} \mathit{q} \mathit{r} \mathit{s} \mathit{t}</nowiki></syntaxhighlight>
|<math>\mathit{n} \mathit{o} \mathit{p} \mathit{q} \mathit{r} \mathit{s} \mathit{t} \,\!</math>
|<math>\mathit{n} \mathit{o} \mathit{p} \mathit{q} \mathit{r} \mathit{s} \mathit{t} \,\!</math>
|-
|-
|<code><nowiki>\mathit{u} \mathit{v} \mathit{w} \mathit{x} \mathit{y} \mathit{z}</nowiki></code>
|<code><nowiki>\mathit{u} \mathit{v} \mathit{w} \mathit{x} \mathit{y} \mathit{z}</nowiki></syntaxhighlight>
|<math>\mathit{u} \mathit{v} \mathit{w} \mathit{x} \mathit{y} \mathit{z} \,\!</math>
|<math>\mathit{u} \mathit{v} \mathit{w} \mathit{x} \mathit{y} \mathit{z} \,\!</math>
|-
|-
|<code><nowiki>\mathit{0} \mathit{1} \mathit{2} \mathit{3} \mathit{4}</nowiki></code>
|<code><nowiki>\mathit{0} \mathit{1} \mathit{2} \mathit{3} \mathit{4}</nowiki></syntaxhighlight>
|<math>\mathit{0} \mathit{1} \mathit{2} \mathit{3} \mathit{4} \,\!</math>
|<math>\mathit{0} \mathit{1} \mathit{2} \mathit{3} \mathit{4} \,\!</math>
|-
|-
|<code><nowiki>\mathit{5} \mathit{6} \mathit{7} \mathit{8} \mathit{9}</nowiki></code>
|<code><nowiki>\mathit{5} \mathit{6} \mathit{7} \mathit{8} \mathit{9}</nowiki></syntaxhighlight>
|<math>\mathit{5} \mathit{6} \mathit{7} \mathit{8} \mathit{9}\,\!</math>
|<math>\mathit{5} \mathit{6} \mathit{7} \mathit{8} \mathit{9}\,\!</math>
|-
|-
! colspan="2" | Roman typeface
! colspan="2" | Roman typeface
|-
|-
|<code><nowiki>\mathrm{A} \mathrm{B} \mathrm{C} \mathrm{D} \mathrm{E} \mathrm{F} \mathrm{G}</nowiki></code>
|<code><nowiki>\mathrm{A} \mathrm{B} \mathrm{C} \mathrm{D} \mathrm{E} \mathrm{F} \mathrm{G}</nowiki></syntaxhighlight>
|<math>\mathrm{A} \mathrm{B} \mathrm{C} \mathrm{D} \mathrm{E} \mathrm{F} \mathrm{G} \,\!</math>
|<math>\mathrm{A} \mathrm{B} \mathrm{C} \mathrm{D} \mathrm{E} \mathrm{F} \mathrm{G} \,\!</math>
|-
|-
|<code><nowiki>\mathrm{H} \mathrm{I} \mathrm{J} \mathrm{K} \mathrm{L} \mathrm{M}</nowiki></code>
|<code><nowiki>\mathrm{H} \mathrm{I} \mathrm{J} \mathrm{K} \mathrm{L} \mathrm{M}</nowiki></syntaxhighlight>
|<math>\mathrm{H} \mathrm{I} \mathrm{J} \mathrm{K} \mathrm{L} \mathrm{M} \,\!</math>
|<math>\mathrm{H} \mathrm{I} \mathrm{J} \mathrm{K} \mathrm{L} \mathrm{M} \,\!</math>
|-
|-
|<code><nowiki>\mathrm{N} \mathrm{O} \mathrm{P} \mathrm{Q} \mathrm{R} \mathrm{S} \mathrm{T}</nowiki></code>
|<code><nowiki>\mathrm{N} \mathrm{O} \mathrm{P} \mathrm{Q} \mathrm{R} \mathrm{S} \mathrm{T}</nowiki></syntaxhighlight>
|<math>\mathrm{N} \mathrm{O} \mathrm{P} \mathrm{Q} \mathrm{R} \mathrm{S} \mathrm{T} \,\!</math>
|<math>\mathrm{N} \mathrm{O} \mathrm{P} \mathrm{Q} \mathrm{R} \mathrm{S} \mathrm{T} \,\!</math>
|-
|-
|<code><nowiki>\mathrm{U} \mathrm{V} \mathrm{W} \mathrm{X} \mathrm{Y} \mathrm{Z}</nowiki></code>
|<code><nowiki>\mathrm{U} \mathrm{V} \mathrm{W} \mathrm{X} \mathrm{Y} \mathrm{Z}</nowiki></syntaxhighlight>
|<math>\mathrm{U} \mathrm{V} \mathrm{W} \mathrm{X} \mathrm{Y} \mathrm{Z} \,\!</math>
|<math>\mathrm{U} \mathrm{V} \mathrm{W} \mathrm{X} \mathrm{Y} \mathrm{Z} \,\!</math>
|-
|-
|<code><nowiki>\mathrm{a} \mathrm{b} \mathrm{c} \mathrm{d} \mathrm{e} \mathrm{f} \mathrm{g}</nowiki></code>
|<code><nowiki>\mathrm{a} \mathrm{b} \mathrm{c} \mathrm{d} \mathrm{e} \mathrm{f} \mathrm{g}</nowiki></syntaxhighlight>
|<math>\mathrm{a} \mathrm{b} \mathrm{c} \mathrm{d} \mathrm{e} \mathrm{f} \mathrm{g}\,\!</math>
|<math>\mathrm{a} \mathrm{b} \mathrm{c} \mathrm{d} \mathrm{e} \mathrm{f} \mathrm{g}\,\!</math>
|-
|-
|<code><nowiki>\mathrm{h} \mathrm{i} \mathrm{j} \mathrm{k} \mathrm{l} \mathrm{m}</nowiki></code>
|<code><nowiki>\mathrm{h} \mathrm{i} \mathrm{j} \mathrm{k} \mathrm{l} \mathrm{m}</nowiki></syntaxhighlight>
|<math>\mathrm{h} \mathrm{i} \mathrm{j} \mathrm{k} \mathrm{l} \mathrm{m} \,\!</math>
|<math>\mathrm{h} \mathrm{i} \mathrm{j} \mathrm{k} \mathrm{l} \mathrm{m} \,\!</math>
|-
|-
|<code><nowiki>\mathrm{n} \mathrm{o} \mathrm{p} \mathrm{q} \mathrm{r} \mathrm{s} \mathrm{t}</nowiki></code>
|<code><nowiki>\mathrm{n} \mathrm{o} \mathrm{p} \mathrm{q} \mathrm{r} \mathrm{s} \mathrm{t}</nowiki></syntaxhighlight>
|<math>\mathrm{n} \mathrm{o} \mathrm{p} \mathrm{q} \mathrm{r} \mathrm{s} \mathrm{t} \,\!</math>
|<math>\mathrm{n} \mathrm{o} \mathrm{p} \mathrm{q} \mathrm{r} \mathrm{s} \mathrm{t} \,\!</math>
|-
|-
|<code><nowiki>\mathrm{u} \mathrm{v} \mathrm{w} \mathrm{x} \mathrm{y} \mathrm{z}</nowiki></code>
|<code><nowiki>\mathrm{u} \mathrm{v} \mathrm{w} \mathrm{x} \mathrm{y} \mathrm{z}</nowiki></syntaxhighlight>
|<math>\mathrm{u} \mathrm{v} \mathrm{w} \mathrm{x} \mathrm{y} \mathrm{z} \,\!</math>
|<math>\mathrm{u} \mathrm{v} \mathrm{w} \mathrm{x} \mathrm{y} \mathrm{z} \,\!</math>
|-
|-
|<code><nowiki>\mathrm{0} \mathrm{1} \mathrm{2} \mathrm{3} \mathrm{4}</nowiki></code>
|<code><nowiki>\mathrm{0} \mathrm{1} \mathrm{2} \mathrm{3} \mathrm{4}</nowiki></syntaxhighlight>
|<math>\mathrm{0} \mathrm{1} \mathrm{2} \mathrm{3} \mathrm{4} \,\!</math>
|<math>\mathrm{0} \mathrm{1} \mathrm{2} \mathrm{3} \mathrm{4} \,\!</math>
|-
|-
|<code><nowiki>\mathrm{5} \mathrm{6} \mathrm{7} \mathrm{8} \mathrm{9}</nowiki></code>
|<code><nowiki>\mathrm{5} \mathrm{6} \mathrm{7} \mathrm{8} \mathrm{9}</nowiki></syntaxhighlight>
|<math>\mathrm{5} \mathrm{6} \mathrm{7} \mathrm{8} \mathrm{9}\,\!</math>
|<math>\mathrm{5} \mathrm{6} \mathrm{7} \mathrm{8} \mathrm{9}\,\!</math>
|-
|-
! colspan="2" | Fraktur typeface
! colspan="2" | Fraktur typeface
|-
|-
|<code><nowiki>\mathfrak{A} \mathfrak{B} \mathfrak{C} \mathfrak{D} \mathfrak{E} \mathfrak{F} \mathfrak{G}</nowiki></code>
|<code><nowiki>\mathfrak{A} \mathfrak{B} \mathfrak{C} \mathfrak{D} \mathfrak{E} \mathfrak{F} \mathfrak{G}</nowiki></syntaxhighlight>
|<math>\mathfrak{A} \mathfrak{B} \mathfrak{C} \mathfrak{D} \mathfrak{E} \mathfrak{F} \mathfrak{G} \,\!</math>
|<math>\mathfrak{A} \mathfrak{B} \mathfrak{C} \mathfrak{D} \mathfrak{E} \mathfrak{F} \mathfrak{G} \,\!</math>
|-
|-
|<code><nowiki>\mathfrak{H} \mathfrak{I} \mathfrak{J} \mathfrak{K} \mathfrak{L} \mathfrak{M}</nowiki></code>
|<code><nowiki>\mathfrak{H} \mathfrak{I} \mathfrak{J} \mathfrak{K} \mathfrak{L} \mathfrak{M}</nowiki></syntaxhighlight>
|<math>\mathfrak{H} \mathfrak{I} \mathfrak{J} \mathfrak{K} \mathfrak{L} \mathfrak{M} \,\!</math>
|<math>\mathfrak{H} \mathfrak{I} \mathfrak{J} \mathfrak{K} \mathfrak{L} \mathfrak{M} \,\!</math>
|-
|-
|<code><nowiki>\mathfrak{N} \mathfrak{O} \mathfrak{P} \mathfrak{Q} \mathfrak{R} \mathfrak{S} \mathfrak{T}</nowiki></code>
|<code><nowiki>\mathfrak{N} \mathfrak{O} \mathfrak{P} \mathfrak{Q} \mathfrak{R} \mathfrak{S} \mathfrak{T}</nowiki></syntaxhighlight>
|<math>\mathfrak{N} \mathfrak{O} \mathfrak{P} \mathfrak{Q} \mathfrak{R} \mathfrak{S} \mathfrak{T} \,\!</math>
|<math>\mathfrak{N} \mathfrak{O} \mathfrak{P} \mathfrak{Q} \mathfrak{R} \mathfrak{S} \mathfrak{T} \,\!</math>
|-
|-
|<code><nowiki>\mathfrak{U} \mathfrak{V} \mathfrak{W} \mathfrak{X} \mathfrak{Y} \mathfrak{Z}</nowiki></code>
|<code><nowiki>\mathfrak{U} \mathfrak{V} \mathfrak{W} \mathfrak{X} \mathfrak{Y} \mathfrak{Z}</nowiki></syntaxhighlight>
|<math>\mathfrak{U} \mathfrak{V} \mathfrak{W} \mathfrak{X} \mathfrak{Y} \mathfrak{Z} \,\!</math>
|<math>\mathfrak{U} \mathfrak{V} \mathfrak{W} \mathfrak{X} \mathfrak{Y} \mathfrak{Z} \,\!</math>
|-
|-
|<code><nowiki>\mathfrak{a} \mathfrak{b} \mathfrak{c} \mathfrak{d} \mathfrak{e} \mathfrak{f} \mathfrak{g}</nowiki></code>
|<code><nowiki>\mathfrak{a} \mathfrak{b} \mathfrak{c} \mathfrak{d} \mathfrak{e} \mathfrak{f} \mathfrak{g}</nowiki></syntaxhighlight>
|<math>\mathfrak{a} \mathfrak{b} \mathfrak{c} \mathfrak{d} \mathfrak{e} \mathfrak{f} \mathfrak{g} \,\!</math>
|<math>\mathfrak{a} \mathfrak{b} \mathfrak{c} \mathfrak{d} \mathfrak{e} \mathfrak{f} \mathfrak{g} \,\!</math>
|-
|-
|<code><nowiki>\mathfrak{h} \mathfrak{i} \mathfrak{j} \mathfrak{k} \mathfrak{l} \mathfrak{m}</nowiki></code>
|<code><nowiki>\mathfrak{h} \mathfrak{i} \mathfrak{j} \mathfrak{k} \mathfrak{l} \mathfrak{m}</nowiki></syntaxhighlight>
|<math>\mathfrak{h} \mathfrak{i} \mathfrak{j} \mathfrak{k} \mathfrak{l} \mathfrak{m} \,\!</math>
|<math>\mathfrak{h} \mathfrak{i} \mathfrak{j} \mathfrak{k} \mathfrak{l} \mathfrak{m} \,\!</math>
|-
|-
|<code><nowiki>\mathfrak{n} \mathfrak{o} \mathfrak{p} \mathfrak{q} \mathfrak{r} \mathfrak{s} \mathfrak{t}</nowiki></code>
|<code><nowiki>\mathfrak{n} \mathfrak{o} \mathfrak{p} \mathfrak{q} \mathfrak{r} \mathfrak{s} \mathfrak{t}</nowiki></syntaxhighlight>
|<math>\mathfrak{n} \mathfrak{o} \mathfrak{p} \mathfrak{q} \mathfrak{r} \mathfrak{s} \mathfrak{t} \,\!</math>
|<math>\mathfrak{n} \mathfrak{o} \mathfrak{p} \mathfrak{q} \mathfrak{r} \mathfrak{s} \mathfrak{t} \,\!</math>
|-
|-
|<code><nowiki>\mathfrak{u} \mathfrak{v} \mathfrak{w} \mathfrak{x} \mathfrak{y} \mathfrak{z}</nowiki></code>
|<code><nowiki>\mathfrak{u} \mathfrak{v} \mathfrak{w} \mathfrak{x} \mathfrak{y} \mathfrak{z}</nowiki></syntaxhighlight>
|<math>\mathfrak{u} \mathfrak{v} \mathfrak{w} \mathfrak{x} \mathfrak{y} \mathfrak{z} \,\!</math>
|<math>\mathfrak{u} \mathfrak{v} \mathfrak{w} \mathfrak{x} \mathfrak{y} \mathfrak{z} \,\!</math>
|-
|-
|<code><nowiki>\mathfrak{0} \mathfrak{1} \mathfrak{2} \mathfrak{3} \mathfrak{4}</nowiki></code>
|<code><nowiki>\mathfrak{0} \mathfrak{1} \mathfrak{2} \mathfrak{3} \mathfrak{4}</nowiki></syntaxhighlight>
|<math>\mathfrak{0} \mathfrak{1} \mathfrak{2} \mathfrak{3} \mathfrak{4} \,\!</math>
|<math>\mathfrak{0} \mathfrak{1} \mathfrak{2} \mathfrak{3} \mathfrak{4} \,\!</math>
|-
|-
|<code><nowiki>\mathfrak{5} \mathfrak{6} \mathfrak{7} \mathfrak{8} \mathfrak{9}</nowiki></code>
|<code><nowiki>\mathfrak{5} \mathfrak{6} \mathfrak{7} \mathfrak{8} \mathfrak{9}</nowiki></syntaxhighlight>
|<math>\mathfrak{5} \mathfrak{6} \mathfrak{7} \mathfrak{8} \mathfrak{9}\,\!</math>
|<math>\mathfrak{5} \mathfrak{6} \mathfrak{7} \mathfrak{8} \mathfrak{9}\,\!</math>
|-
|-
! colspan="2" | Calligraphy/Script
! colspan="2" | Calligraphy/Script
|-
|-
|<code><nowiki>\mathcal{A} \mathcal{B} \mathcal{C} \mathcal{D} \mathcal{E} \mathcal{F} \mathcal{G}</nowiki></code>
|<code><nowiki>\mathcal{A} \mathcal{B} \mathcal{C} \mathcal{D} \mathcal{E} \mathcal{F} \mathcal{G}</nowiki></syntaxhighlight>
|<math>\mathcal{A} \mathcal{B} \mathcal{C} \mathcal{D} \mathcal{E} \mathcal{F} \mathcal{G} \,\!</math>
|<math>\mathcal{A} \mathcal{B} \mathcal{C} \mathcal{D} \mathcal{E} \mathcal{F} \mathcal{G} \,\!</math>
|-
|-
|<code><nowiki>\mathcal{H} \mathcal{I} \mathcal{J} \mathcal{K} \mathcal{L} \mathcal{M}</nowiki></code>
|<code><nowiki>\mathcal{H} \mathcal{I} \mathcal{J} \mathcal{K} \mathcal{L} \mathcal{M}</nowiki></syntaxhighlight>
|<math>\mathcal{H} \mathcal{I} \mathcal{J} \mathcal{K} \mathcal{L} \mathcal{M} \,\!</math>
|<math>\mathcal{H} \mathcal{I} \mathcal{J} \mathcal{K} \mathcal{L} \mathcal{M} \,\!</math>
|-
|-
|<code><nowiki>\mathcal{N} \mathcal{O} \mathcal{P} \mathcal{Q} \mathcal{R} \mathcal{S} \mathcal{T}</nowiki></code>
|<code><nowiki>\mathcal{N} \mathcal{O} \mathcal{P} \mathcal{Q} \mathcal{R} \mathcal{S} \mathcal{T}</nowiki></syntaxhighlight>
|<math>\mathcal{N} \mathcal{O} \mathcal{P} \mathcal{Q} \mathcal{R} \mathcal{S} \mathcal{T} \,\!</math>
|<math>\mathcal{N} \mathcal{O} \mathcal{P} \mathcal{Q} \mathcal{R} \mathcal{S} \mathcal{T} \,\!</math>
|-
|-
|<code><nowiki>\mathcal{U} \mathcal{V} \mathcal{W} \mathcal{X} \mathcal{Y} \mathcal{Z}</nowiki></code>
|<code><nowiki>\mathcal{U} \mathcal{V} \mathcal{W} \mathcal{X} \mathcal{Y} \mathcal{Z}</nowiki></syntaxhighlight>
|<math>\mathcal{U} \mathcal{V} \mathcal{W} \mathcal{X} \mathcal{Y} \mathcal{Z}\,\!</math>
|<math>\mathcal{U} \mathcal{V} \mathcal{W} \mathcal{X} \mathcal{Y} \mathcal{Z}\,\!</math>
|-
|-
! colspan="2" | Hebrew
! colspan="2" | Hebrew
|-
|-
|<code><nowiki>\aleph \beth \gimel \daleth</nowiki></code>
|<code><nowiki>\aleph \beth \gimel \daleth</nowiki></syntaxhighlight>
|<math>\aleph \beth \gimel \daleth\,\!</math>
|<math>\aleph \beth \gimel \daleth\,\!</math>
|}
|}
Line 935: Line 935:
Equations can use color:
Equations can use color:


*<code>{\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1}</code>
*<code>{\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1}</syntaxhighlight>
*:<math>{\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1}</math>
*:<math>{\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1}</math>


*<code>x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a}</code>
*<code>x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a}</syntaxhighlight>
*:<math>x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a}</math>
*:<math>x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a}</math>


Line 1,019: Line 1,019:
an inline expression like <math>\int_{-N}^{N} e^x\, dx</math> should look good.
an inline expression like <math>\int_{-N}^{N} e^x\, dx</math> should look good.


If you need to align it otherwise, use <code><nowiki><math style="vertical-align:-100%;">...</math></nowiki></code> and play with the <code>vertical-align</code> argument until you get it right; however, how it looks may depend on the browser and the browser settings.
If you need to align it otherwise, use <code><nowiki><math style="vertical-align:-100%;">...</math></nowiki></syntaxhighlight> and play with the <code>vertical-align</syntaxhighlight> argument until you get it right; however, how it looks may depend on the browser and the browser settings.


Also note that if you rely on this workaround, if/when the rendering on the server gets fixed in future releases, as a result of this extra manual offset your formulae will suddenly be aligned incorrectly. So use it sparingly, if at all.
Also note that if you rely on this workaround, if/when the rendering on the server gets fixed in future releases, as a result of this extra manual offset your formulae will suddenly be aligned incorrectly. So use it sparingly, if at all.
Line 1,025: Line 1,025:
=== Forced PNG rendering ===
=== Forced PNG rendering ===


To force the formula to render as PNG, add <code>\,</code> (small space) at the end of the formula (where it is not rendered).  This will force PNG if the user is in "HTML if simple" mode, but not for "HTML if possible" mode.
To force the formula to render as PNG, add <code>\,</syntaxhighlight> (small space) at the end of the formula (where it is not rendered).  This will force PNG if the user is in "HTML if simple" mode, but not for "HTML if possible" mode.


You can also use <code>\,\!</code> (small space and negative space, which cancel out) anywhere inside the math tags.  This ''does'' force PNG even in "HTML if possible" mode, unlike <code>\,</code>.
You can also use <code>\,\!</syntaxhighlight> (small space and negative space, which cancel out) anywhere inside the math tags.  This ''does'' force PNG even in "HTML if possible" mode, unlike <code>\,</syntaxhighlight>.


This could be useful to keep the rendering of formulae in a proof consistent, for example, or to fix formulae that render incorrectly in HTML (at one time, a^{2+2} rendered with an extra underscore), or to demonstrate how something is rendered when it would normally show up as HTML (as in the examples above).
This could be useful to keep the rendering of formulae in a proof consistent, for example, or to fix formulae that render incorrectly in HTML (at one time, a^{2+2} rendered with an extra underscore), or to demonstrate how something is rendered when it would normally show up as HTML (as in the examples above).

Revision as of 13:04, 14 July 2021

This should look like some maths:

(This page was created for the benefit of MDLSITE-649.)

Heavy test:

Functions, symbols, special characters

Accents/Diacritics

\acute{a} \grave{a} \hat{a} \tilde{a} \breve{a}</syntaxhighlight>
\check{a} \bar{a} \ddot{a} \dot{a}</syntaxhighlight>

Standard functions

\sin a \cos b \tan c</syntaxhighlight>
\sec d \csc e \cot f</syntaxhighlight>
\arcsin h \arccos i \arctan j</syntaxhighlight>
\sinh k \cosh l \tanh m \coth n\!</syntaxhighlight>
\operatorname{sh}\,o\,\operatorname{ch}\,p\,\operatorname{th}\,q\!</syntaxhighlight>
\operatorname{arsinh}\,r\,\operatorname{arcosh}\,s\,\operatorname{artanh}\,t</syntaxhighlight>
\lim u \limsup v \liminf w \min x \max y\!</syntaxhighlight>
\inf z \sup a \exp b \ln c \lg d \log e \log_{10} f \ker g\!</syntaxhighlight>
\deg h \gcd i \Pr j \det k \hom l \arg m \dim n</syntaxhighlight>

Modular arithmetic

s_k \equiv 0 \pmod{m}</syntaxhighlight>
a\,\bmod\,b</syntaxhighlight>

Derivatives

\nabla \, \partial x \, dx \, \dot x \, \ddot y\, dy/dx\, \frac{dy}{dx}\, \frac{\partial^2 y}{\partial x_1\,\partial x_2}</syntaxhighlight>

Sets

\forall \exists \empty \emptyset \varnothing</syntaxhighlight>
\in \ni \not \in \notin \subset \subseteq \supset \supseteq</syntaxhighlight>
\cap \bigcap \cup \bigcup \biguplus \setminus \smallsetminus</syntaxhighlight>
\sqsubset \sqsubseteq \sqsupset \sqsupseteq \sqcap \sqcup \bigsqcup</syntaxhighlight>

Operators

+ \oplus \bigoplus \pm \mp - </syntaxhighlight>
\times \otimes \bigotimes \cdot \circ \bullet \bigodot</syntaxhighlight>
\star * / \div \frac{1}{2}</syntaxhighlight>

Logic

\land (or \and) \wedge \bigwedge \bar{q} \to p</syntaxhighlight>
\lor \vee \bigvee \lnot \neg q \And</syntaxhighlight>

Root

\sqrt{2} \sqrt[n]{x}</syntaxhighlight>

Relations

\sim \approx \simeq \cong \dot= \overset{\underset{\mathrm{def}}{}}{=}</syntaxhighlight>
\le < \ll \gg \ge > \equiv \not\equiv \ne \mbox{or} \neq \propto</syntaxhighlight>

Geometric

\Diamond \Box \triangle \angle \perp \mid \nmid \| 45^\circ</syntaxhighlight>

Arrows

\leftarrow (or \gets) \rightarrow (or \to) \nleftarrow \nrightarrow \leftrightarrow \nleftrightarrow \longleftarrow \longrightarrow \longleftrightarrow</syntaxhighlight>
\Leftarrow \Rightarrow \nLeftarrow \nRightarrow \Leftrightarrow \nLeftrightarrow \Longleftarrow \Longrightarrow \Longleftrightarrow (or \iff)</syntaxhighlight>
\uparrow \downarrow \updownarrow \Uparrow \Downarrow \Updownarrow \nearrow \searrow \swarrow \nwarrow</syntaxhighlight>
\rightharpoonup \rightharpoondown \leftharpoonup \leftharpoondown \upharpoonleft \upharpoonright \downharpoonleft \downharpoonright \rightleftharpoons \leftrightharpoons</syntaxhighlight>
\curvearrowleft \circlearrowleft \Lsh \upuparrows \rightrightarrows \rightleftarrows \Rrightarrow \rightarrowtail \looparrowright</syntaxhighlight>
\curvearrowright \circlearrowright \Rsh \downdownarrows \leftleftarrows \leftrightarrows \Lleftarrow \leftarrowtail \looparrowleft</syntaxhighlight>
\mapsto \longmapsto \hookrightarrow \hookleftarrow \multimap \leftrightsquigarrow \rightsquigarrow </syntaxhighlight>

Special

\And \eth \S \P \% \dagger \ddagger \ldots \cdots</syntaxhighlight>
\smile \frown \wr \triangleleft \triangleright \infty \bot \top</syntaxhighlight>
\vdash \vDash \Vdash \models \lVert \rVert \imath \hbar</syntaxhighlight>
\ell \mho \Finv \Re \Im \wp \complement</syntaxhighlight>
\diamondsuit \heartsuit \clubsuit \spadesuit \Game \flat \natural \sharp</syntaxhighlight>

Unsorted (new stuff)

\vartriangle \triangledown \lozenge \circledS \measuredangle \nexists \Bbbk \backprime \blacktriangle \blacktriangledown</syntaxhighlight>
\blacksquare \blacklozenge \bigstar \sphericalangle \diagup \diagdown \dotplus \Cap \Cup \barwedge</syntaxhighlight>
\veebar \doublebarwedge \boxminus \boxtimes \boxdot \boxplus \divideontimes \ltimes \rtimes \leftthreetimes</syntaxhighlight>
\rightthreetimes \curlywedge \curlyvee \circleddash \circledast \circledcirc \centerdot \intercal \leqq \leqslant</syntaxhighlight>
\eqslantless \lessapprox \approxeq \lessdot \lll \lessgtr \lesseqgtr \lesseqqgtr \doteqdot \risingdotseq</syntaxhighlight>
\fallingdotseq \backsim \backsimeq \subseteqq \Subset \preccurlyeq \curlyeqprec \precsim \precapprox \vartriangleleft</syntaxhighlight>
\Vvdash \bumpeq \Bumpeq \geqq \geqslant \eqslantgtr \gtrsim \gtrapprox \eqsim \gtrdot</syntaxhighlight>
\ggg \gtrless \gtreqless \gtreqqless \eqcirc \circeq \triangleq \thicksim \thickapprox \supseteqq</syntaxhighlight>
\Supset \succcurlyeq \curlyeqsucc \succsim \succapprox \vartriangleright \shortmid \shortparallel \between \pitchfork</syntaxhighlight>
\varpropto \blacktriangleleft \therefore \backepsilon \blacktriangleright \because \nleqslant \nleqq \lneq \lneqq</syntaxhighlight>
\lvertneqq \lnsim \lnapprox \nprec \npreceq \precneqq \precnsim \precnapprox \nsim \nshortmid</syntaxhighlight>
\nvdash \nVdash \ntriangleleft \ntrianglelefteq \nsubseteq \nsubseteqq \varsubsetneq \subsetneqq \varsubsetneqq \ngtr</syntaxhighlight>
\subsetneq</syntaxhighlight>
\ngeqslant \ngeqq \gneq \gneqq \gvertneqq \gnsim \gnapprox \nsucc \nsucceq \succneqq</syntaxhighlight>
\succnsim \succnapprox \ncong \nshortparallel \nparallel \nvDash \nVDash \ntriangleright \ntrianglerighteq \nsupseteq</syntaxhighlight>
\nsupseteqq \varsupsetneq \supsetneqq \varsupsetneqq</syntaxhighlight>
\jmath \surd \ast \uplus \diamond \bigtriangleup \bigtriangledown \ominus</syntaxhighlight>
\oslash \odot \bigcirc \amalg \prec \succ \preceq \succeq</syntaxhighlight>
\dashv \asymp \doteq \parallel</syntaxhighlight>
\ulcorner \urcorner \llcorner \lrcorner</syntaxhighlight>

Larger Expressions

Subscripts, superscripts, integrals

Feature Syntax How it looks rendered
HTML PNG
Superscript a^2</syntaxhighlight>
Subscript a_2</syntaxhighlight>
Grouping a^{2+2}</syntaxhighlight>
a_{i,j}</syntaxhighlight>
Combining sub & super without and with horizontal separation x_2^3</syntaxhighlight>
{x_2}^3</syntaxhighlight>
Super super 10^{10^{ \,\!{8} }</syntaxhighlight>
Super super 10^{10^{ \overset{8}{} }}</syntaxhighlight>
Super super (wrong in HTML in some browsers) 10^{10^8}</syntaxhighlight>
Preceding and/or Additional sub & super \sideset{_1^2}{_3^4}\prod_a^b</syntaxhighlight>
{}_1^2\!\Omega_3^4</syntaxhighlight>
Stacking \overset{\alpha}{\omega}</syntaxhighlight>
\underset{\alpha}{\omega}</syntaxhighlight>
\overset{\alpha}{\underset{\gamma}{\omega}}</syntaxhighlight>
\stackrel{\alpha}{\omega}</syntaxhighlight>
Derivative (forced PNG) x', y'', f', f''\!</syntaxhighlight>  
Derivative (f in italics may overlap primes in HTML) x', y'', f', f''</syntaxhighlight>
Derivative (wrong in HTML) x^\prime, y^{\prime\prime}</syntaxhighlight>
Derivative (wrong in PNG) x\prime, y\prime\prime</syntaxhighlight>
Derivative dots \dot{x}, \ddot{x}</syntaxhighlight>
Underlines, overlines, vectors \hat a \ \bar b \ \vec c</syntaxhighlight>
\overrightarrow{a b} \ \overleftarrow{c d} \ \widehat{d e f}</syntaxhighlight>
\overline{g h i} \ \underline{j k l}</syntaxhighlight>
Arrows A \xleftarrow{n+\mu-1} B \xrightarrow[T]{n\pm i-1} C</syntaxhighlight>
Overbraces \overbrace{ 1+2+\cdots+100 }^{5050}</syntaxhighlight>
Underbraces \underbrace{ a+b+\cdots+z }_{26}</syntaxhighlight>
Sum \sum_{k=1}^N k^2</syntaxhighlight>
Sum (force \textstyle</syntaxhighlight>) \textstyle \sum_{k=1}^N k^2 </syntaxhighlight>
Product \prod_{i=1}^N x_i</syntaxhighlight>
Product (force \textstyle</syntaxhighlight>) \textstyle \prod_{i=1}^N x_i</syntaxhighlight>
Coproduct \coprod_{i=1}^N x_i</syntaxhighlight>
Coproduct (force \textstyle</syntaxhighlight>) \textstyle \coprod_{i=1}^N x_i</syntaxhighlight>
Limit \lim_{n \to \infty}x_n</syntaxhighlight>
Limit (force \textstyle</syntaxhighlight>) \textstyle \lim_{n \to \infty}x_n</syntaxhighlight>
Integral \int\limits_{1}^{3}\frac{e^3/x}{x^2}\, dx</syntaxhighlight>
Integral (alternate limits style) \int_{1}^{3}\frac{e^3/x}{x^2}\, dx</syntaxhighlight>
Integral (force \textstyle</syntaxhighlight>) \textstyle \int\limits_{-N}^{N} e^x\, dx</syntaxhighlight>
Integral (force \textstyle</syntaxhighlight>, alternate limits style) \textstyle \int_{-N}^{N} e^x\, dx</syntaxhighlight>
Double integral \iint\limits_D \, dx\,dy</syntaxhighlight>
Triple integral \iiint\limits_E \, dx\,dy\,dz</syntaxhighlight>
Quadruple integral \iiiint\limits_F \, dx\,dy\,dz\,dt</syntaxhighlight>
Line or path integral \int_C x^3\, dx + 4y^2\, dy</syntaxhighlight>
Closed line or path integral \oint_C x^3\, dx + 4y^2\, dy</syntaxhighlight>
Intersections \bigcap_1^n p</syntaxhighlight>
Unions \bigcup_1^k p</syntaxhighlight>

Fractions, matrices, multilines

Feature Syntax How it looks rendered
Fractions \frac{2}{4}=0.5</syntaxhighlight>
Small Fractions \tfrac{2}{4} = 0.5</syntaxhighlight>
Large (normal) Fractions \dfrac{2}{4} = 0.5 \qquad \dfrac{2}{c + \dfrac{2}{d + \dfrac{2}{4}}} = a </syntaxhighlight>
Large (nested) Fractions \cfrac{2}{c + \cfrac{2}{d + \cfrac{2}{4}}} = a</syntaxhighlight>
Binomial coefficients \binom{n}{k}</syntaxhighlight>
Small Binomial coefficients \tbinom{n}{k}</syntaxhighlight>
Large (normal) Binomial coefficients \dbinom{n}{k}</syntaxhighlight>
Matrices
\begin{matrix}
  x & y \\
  z & v 
\end{matrix}
\begin{vmatrix}
  x & y \\
  z & v 
\end{vmatrix}
\begin{Vmatrix}
  x & y \\
  z & v
\end{Vmatrix}
\begin{bmatrix}
  0      & \cdots & 0      \\
  \vdots & \ddots & \vdots \\ 
  0      & \cdots & 0
\end{bmatrix}
\begin{Bmatrix}
  x & y \\
  z & v
\end{Bmatrix}
\begin{pmatrix}
  x & y \\
  z & v 
\end{pmatrix}
\bigl( \begin{smallmatrix}
  a&b\\ c&d
\end{smallmatrix} \bigr)
Case distinctions
f(n) = 
\begin{cases} 
  n/2,  & \mbox{if }n\mbox{ is even} \\
  3n+1, & \mbox{if }n\mbox{ is odd} 
\end{cases}
Multiline equations
\begin{align}
 f(x) & = (a+b)^2 \\
      & = a^2+2ab+b^2 \\
\end{align}
\begin{alignat}{2}
 f(x) & = (a-b)^2 \\
      & = a^2-2ab+b^2 \\
\end{alignat}
Multiline equations (must define number of colums used ({lcr}) (should not be used unless needed)
\begin{array}{lcl}
  z        & = & a \\
  f(x,y,z) & = & x + y + z  
\end{array}
Multiline equations (more)
\begin{array}{lcr}
  z        & = & a \\
  f(x,y,z) & = & x + y + z     
\end{array}
Breaking up a long expression so that it wraps when necessary, at the expense of destroying correct spacing

<math>f(x) \,\!</math>
<math>= \sum_{n=0}^\infty a_n x^n </math>
<math>= a_0+a_1x+a_2x^2+\cdots</math>

Simultaneous equations
\begin{cases}
    3x + 5y +  z \\
    7x - 2y + 4z \\
   -6x + 3y + 2z 
\end{cases}
Arrays
\begin{array}{|c|c||c|} a & b & S \\
\hline
0&0&1\\
0&1&1\\
1&0&1\\
1&1&0\\
\end{array}

Parenthesizing big expressions, brackets, bars

Feature Syntax How it looks rendered
Bad ( \frac{1}{2} )</syntaxhighlight>
Good \left ( \frac{1}{2} \right )</syntaxhighlight>

You can use various delimiters with \left and \right:

Feature Syntax How it looks rendered
Parentheses \left ( \frac{a}{b} \right )</syntaxhighlight>
Brackets \left [ \frac{a}{b} \right ] \quad \left \lbrack \frac{a}{b} \right \rbrack</syntaxhighlight>
Braces \left \{ \frac{a}{b} \right \} \quad \left \lbrace \frac{a}{b} \right \rbrace</syntaxhighlight>
Angle brackets \left \langle \frac{a}{b} \right \rangle</syntaxhighlight>
Bars and double bars \left | \frac{a}{b} \right \vert \left \Vert \frac{c}{d} \right \|</syntaxhighlight>
Floor and ceiling functions: \left \lfloor \frac{a}{b} \right \rfloor \left \lceil \frac{c}{d} \right \rceil</syntaxhighlight>
Slashes and backslashes \left / \frac{a}{b} \right \backslash</syntaxhighlight>
Up, down and up-down arrows \left \uparrow \frac{a}{b} \right \downarrow \quad \left \Uparrow \frac{a}{b} \right \Downarrow \quad \left \updownarrow \frac{a}{b} \right \Updownarrow</syntaxhighlight>
Delimiters can be mixed,
as long as \left and \right match
\left [ 0,1 \right )</syntaxhighlight> <br/> <code>\left \langle \psi \right |</syntaxhighlight>
Use \left. and \right. if you don't
want a delimiter to appear:
\left . \frac{A}{B} \right \} \to X</syntaxhighlight>
Size of the delimiters \big( \Big( \bigg( \Bigg( \dots \Bigg] \bigg] \Big] \big]/
\big\{ \Big\{ \bigg\{ \Bigg\{ \dots \Bigg\rangle \bigg\rangle \Big\rangle \big\rangle</syntaxhighlight>
\big\| \Big\| \bigg\| \Bigg\| \dots \Bigg| \bigg| \Big| \big|</syntaxhighlight>
\big\lfloor \Big\lfloor \bigg\lfloor \Bigg\lfloor \dots \Bigg\rceil \bigg\rceil \Big\rceil \big\rceil</syntaxhighlight>
\big\uparrow \Big\uparrow \bigg\uparrow \Bigg\uparrow \dots \Bigg\Downarrow \bigg\Downarrow \Big\Downarrow \big\Downarrow</syntaxhighlight>
\big\updownarrow \Big\updownarrow \bigg\updownarrow \Bigg\updownarrow \dots \Bigg\Updownarrow \bigg\Updownarrow \Big\Updownarrow \big\Updownarrow</syntaxhighlight>
\big / \Big / \bigg / \Bigg / \dots \Bigg\backslash \bigg\backslash \Big\backslash \big\backslash</syntaxhighlight>

Alphabets and typefaces

Texvc cannot render arbitrary Unicode characters. Those it can handle can be entered by the expressions below. For others, such as Cyrillic, they can be entered as Unicode or HTML entities in running text, but cannot be used in displayed formulas.

Greek alphabet
\Alpha \Beta \Gamma \Delta \Epsilon \Zeta</syntaxhighlight>
\Eta \Theta \Iota \Kappa \Lambda \Mu</syntaxhighlight>
\Nu \Xi \Pi \Rho \Sigma \Tau</syntaxhighlight>
\Upsilon \Phi \Chi \Psi \Omega</syntaxhighlight>
\alpha \beta \gamma \delta \epsilon \zeta</syntaxhighlight>
\eta \theta \iota \kappa \lambda \mu</syntaxhighlight>
\nu \xi \pi \rho \sigma \tau</syntaxhighlight>
\upsilon \phi \chi \psi \omega</syntaxhighlight>
\varepsilon \digamma \vartheta \varkappa</syntaxhighlight>
\varpi \varrho \varsigma \varphi</syntaxhighlight>
Blackboard Bold/Scripts
\mathbb{A} \mathbb{B} \mathbb{C} \mathbb{D} \mathbb{E} \mathbb{F} \mathbb{G}</syntaxhighlight>
\mathbb{H} \mathbb{I} \mathbb{J} \mathbb{K} \mathbb{L} \mathbb{M}</syntaxhighlight>
\mathbb{N} \mathbb{O} \mathbb{P} \mathbb{Q} \mathbb{R} \mathbb{S} \mathbb{T}</syntaxhighlight>
\mathbb{U} \mathbb{V} \mathbb{W} \mathbb{X} \mathbb{Y} \mathbb{Z}</syntaxhighlight>
boldface (vectors)
\mathbf{A} \mathbf{B} \mathbf{C} \mathbf{D} \mathbf{E} \mathbf{F} \mathbf{G}</syntaxhighlight>
\mathbf{H} \mathbf{I} \mathbf{J} \mathbf{K} \mathbf{L} \mathbf{M}</syntaxhighlight>
\mathbf{N} \mathbf{O} \mathbf{P} \mathbf{Q} \mathbf{R} \mathbf{S} \mathbf{T}</syntaxhighlight>
\mathbf{U} \mathbf{V} \mathbf{W} \mathbf{X} \mathbf{Y} \mathbf{Z}</syntaxhighlight>
\mathbf{a} \mathbf{b} \mathbf{c} \mathbf{d} \mathbf{e} \mathbf{f} \mathbf{g}</syntaxhighlight>
\mathbf{h} \mathbf{i} \mathbf{j} \mathbf{k} \mathbf{l} \mathbf{m}</syntaxhighlight>
\mathbf{n} \mathbf{o} \mathbf{p} \mathbf{q} \mathbf{r} \mathbf{s} \mathbf{t}</syntaxhighlight>
\mathbf{u} \mathbf{v} \mathbf{w} \mathbf{x} \mathbf{y} \mathbf{z}</syntaxhighlight>
\mathbf{0} \mathbf{1} \mathbf{2} \mathbf{3} \mathbf{4}</syntaxhighlight>
\mathbf{5} \mathbf{6} \mathbf{7} \mathbf{8} \mathbf{9}</syntaxhighlight>
Boldface (greek)
\boldsymbol{\Alpha} \boldsymbol{\Beta} \boldsymbol{\Gamma} \boldsymbol{\Delta} \boldsymbol{\Epsilon} \boldsymbol{\Zeta}</syntaxhighlight>
\boldsymbol{\Eta} \boldsymbol{\Theta} \boldsymbol{\Iota} \boldsymbol{\Kappa} \boldsymbol{\Lambda} \boldsymbol{\Mu}</syntaxhighlight>
\boldsymbol{\Nu} \boldsymbol{\Xi} \boldsymbol{\Pi} \boldsymbol{\Rho} \boldsymbol{\Sigma} \boldsymbol{\Tau}</syntaxhighlight>
\boldsymbol{\Upsilon} \boldsymbol{\Phi} \boldsymbol{\Chi} \boldsymbol{\Psi} \boldsymbol{\Omega}</syntaxhighlight>
\boldsymbol{\alpha} \boldsymbol{\beta} \boldsymbol{\gamma} \boldsymbol{\delta} \boldsymbol{\epsilon} \boldsymbol{\zeta}</syntaxhighlight>
\boldsymbol{\eta} \boldsymbol{\theta} \boldsymbol{\iota} \boldsymbol{\kappa} \boldsymbol{\lambda} \boldsymbol{\mu}</syntaxhighlight>
\boldsymbol{\nu} \boldsymbol{\xi} \boldsymbol{\pi} \boldsymbol{\rho} \boldsymbol{\sigma} \boldsymbol{\tau}</syntaxhighlight>
\boldsymbol{\upsilon} \boldsymbol{\phi} \boldsymbol{\chi} \boldsymbol{\psi} \boldsymbol{\omega}</syntaxhighlight>
\boldsymbol{\varepsilon} \boldsymbol{\digamma} \boldsymbol{\vartheta} \boldsymbol{\varkappa}</syntaxhighlight>
\boldsymbol{\varpi} \boldsymbol{\varrho} \boldsymbol{\varsigma} \boldsymbol{\varphi}</syntaxhighlight>
Italics
\mathit{A} \mathit{B} \mathit{C} \mathit{D} \mathit{E} \mathit{F} \mathit{G}</syntaxhighlight>
\mathit{H} \mathit{I} \mathit{J} \mathit{K} \mathit{L} \mathit{M}</syntaxhighlight>
\mathit{N} \mathit{O} \mathit{P} \mathit{Q} \mathit{R} \mathit{S} \mathit{T}</syntaxhighlight>
\mathit{U} \mathit{V} \mathit{W} \mathit{X} \mathit{Y} \mathit{Z}</syntaxhighlight>
\mathit{a} \mathit{b} \mathit{c} \mathit{d} \mathit{e} \mathit{f} \mathit{g}</syntaxhighlight>
\mathit{h} \mathit{i} \mathit{j} \mathit{k} \mathit{l} \mathit{m}</syntaxhighlight>
\mathit{n} \mathit{o} \mathit{p} \mathit{q} \mathit{r} \mathit{s} \mathit{t}</syntaxhighlight>
\mathit{u} \mathit{v} \mathit{w} \mathit{x} \mathit{y} \mathit{z}</syntaxhighlight>
\mathit{0} \mathit{1} \mathit{2} \mathit{3} \mathit{4}</syntaxhighlight>
\mathit{5} \mathit{6} \mathit{7} \mathit{8} \mathit{9}</syntaxhighlight>
Roman typeface
\mathrm{A} \mathrm{B} \mathrm{C} \mathrm{D} \mathrm{E} \mathrm{F} \mathrm{G}</syntaxhighlight>
\mathrm{H} \mathrm{I} \mathrm{J} \mathrm{K} \mathrm{L} \mathrm{M}</syntaxhighlight>
\mathrm{N} \mathrm{O} \mathrm{P} \mathrm{Q} \mathrm{R} \mathrm{S} \mathrm{T}</syntaxhighlight>
\mathrm{U} \mathrm{V} \mathrm{W} \mathrm{X} \mathrm{Y} \mathrm{Z}</syntaxhighlight>
\mathrm{a} \mathrm{b} \mathrm{c} \mathrm{d} \mathrm{e} \mathrm{f} \mathrm{g}</syntaxhighlight>
\mathrm{h} \mathrm{i} \mathrm{j} \mathrm{k} \mathrm{l} \mathrm{m}</syntaxhighlight>
\mathrm{n} \mathrm{o} \mathrm{p} \mathrm{q} \mathrm{r} \mathrm{s} \mathrm{t}</syntaxhighlight>
\mathrm{u} \mathrm{v} \mathrm{w} \mathrm{x} \mathrm{y} \mathrm{z}</syntaxhighlight>
\mathrm{0} \mathrm{1} \mathrm{2} \mathrm{3} \mathrm{4}</syntaxhighlight>
\mathrm{5} \mathrm{6} \mathrm{7} \mathrm{8} \mathrm{9}</syntaxhighlight>
Fraktur typeface
\mathfrak{A} \mathfrak{B} \mathfrak{C} \mathfrak{D} \mathfrak{E} \mathfrak{F} \mathfrak{G}</syntaxhighlight>
\mathfrak{H} \mathfrak{I} \mathfrak{J} \mathfrak{K} \mathfrak{L} \mathfrak{M}</syntaxhighlight>
\mathfrak{N} \mathfrak{O} \mathfrak{P} \mathfrak{Q} \mathfrak{R} \mathfrak{S} \mathfrak{T}</syntaxhighlight>
\mathfrak{U} \mathfrak{V} \mathfrak{W} \mathfrak{X} \mathfrak{Y} \mathfrak{Z}</syntaxhighlight>
\mathfrak{a} \mathfrak{b} \mathfrak{c} \mathfrak{d} \mathfrak{e} \mathfrak{f} \mathfrak{g}</syntaxhighlight>
\mathfrak{h} \mathfrak{i} \mathfrak{j} \mathfrak{k} \mathfrak{l} \mathfrak{m}</syntaxhighlight>
\mathfrak{n} \mathfrak{o} \mathfrak{p} \mathfrak{q} \mathfrak{r} \mathfrak{s} \mathfrak{t}</syntaxhighlight>
\mathfrak{u} \mathfrak{v} \mathfrak{w} \mathfrak{x} \mathfrak{y} \mathfrak{z}</syntaxhighlight>
\mathfrak{0} \mathfrak{1} \mathfrak{2} \mathfrak{3} \mathfrak{4}</syntaxhighlight>
\mathfrak{5} \mathfrak{6} \mathfrak{7} \mathfrak{8} \mathfrak{9}</syntaxhighlight>
Calligraphy/Script
\mathcal{A} \mathcal{B} \mathcal{C} \mathcal{D} \mathcal{E} \mathcal{F} \mathcal{G}</syntaxhighlight>
\mathcal{H} \mathcal{I} \mathcal{J} \mathcal{K} \mathcal{L} \mathcal{M}</syntaxhighlight>
\mathcal{N} \mathcal{O} \mathcal{P} \mathcal{Q} \mathcal{R} \mathcal{S} \mathcal{T}</syntaxhighlight>
\mathcal{U} \mathcal{V} \mathcal{W} \mathcal{X} \mathcal{Y} \mathcal{Z}</syntaxhighlight>
Hebrew
\aleph \beth \gimel \daleth</syntaxhighlight>
Feature Syntax How it looks rendered
non-italicised characters \mbox{abc}
mixed italics (bad) \mbox{if} n \mbox{is even}
mixed italics (good) \mbox{if }n\mbox{ is even}
mixed italics (more legible: ~ is a non-breaking space, while "\ " forces a space) \mbox{if}~n\ \mbox{is even}

Color

Equations can use color:

  • {\color{Blue}x^2}+{\color{YellowOrange}2x}-{\color{OliveGreen}1}</syntaxhighlight>
  • x_{1,2}=\frac{-b\pm\sqrt{\color{Red}b^2-4ac}}{2a}</syntaxhighlight>

See here for all named colors supported by LaTeX.

Note that color should not be used as the only way to identify something, because it will become meaningless on black-and-white media or for color-blind people. See.

Formatting issues

Spacing

Note that TeX handles most spacing automatically, but you may sometimes want manual control.

Feature Syntax How it looks rendered
double quad space a \qquad b
quad space a \quad b
text space a\ b
text space without PNG conversion a \mbox{ } b
large space a\;b
medium space a\>b [not supported]
small space a\,b
no space ab
small negative space a\!b

Alignment with normal text flow

Due to the default css

img.tex { vertical-align: middle; }

an inline expression like should look good.

If you need to align it otherwise, use <math style="vertical-align:-100%;">...</math></syntaxhighlight> and play with the vertical-align</syntaxhighlight> argument until you get it right; however, how it looks may depend on the browser and the browser settings.

Also note that if you rely on this workaround, if/when the rendering on the server gets fixed in future releases, as a result of this extra manual offset your formulae will suddenly be aligned incorrectly. So use it sparingly, if at all.

Forced PNG rendering

To force the formula to render as PNG, add \,</syntaxhighlight> (small space) at the end of the formula (where it is not rendered). This will force PNG if the user is in "HTML if simple" mode, but not for "HTML if possible" mode.

You can also use \,\!</syntaxhighlight> (small space and negative space, which cancel out) anywhere inside the math tags. This does force PNG even in "HTML if possible" mode, unlike \,</syntaxhighlight>.

This could be useful to keep the rendering of formulae in a proof consistent, for example, or to fix formulae that render incorrectly in HTML (at one time, a^{2+2} rendered with an extra underscore), or to demonstrate how something is rendered when it would normally show up as HTML (as in the examples above).

For instance:

Syntax How it looks rendered
a^{c+2}
a^{c+2} \,
a^{\,\!c+2}
a^{b^{c+2}} (WRONG with option "HTML if possible or else PNG"!)
a^{b^{c+2}} \, (WRONG with option "HTML if possible or else PNG"!)
a^{b^{c+2}}\approx 5 (due to "" correctly displayed, no code "\,\!" needed)
a^{b^{\,\!c+2}}
\int_{-N}^{N} e^x\, dx


This has been tested with most of the formulae on this page, and seems to work perfectly.

You might want to include a comment in the HTML so people don't "correct" the formula by removing it:

<!-- The \,\! is to keep the formula rendered as PNG instead of HTML. Please don't remove it.-->


Examples

Quadratic Polynomial



<math>ax^2 + bx + c = 0</math>

Quadratic Polynomial (Force PNG Rendering)



<math>ax^2 + bx + c = 0\,\!</math>

Quadratic Formula



<math>x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}</math>

Tall Parentheses and Fractions



<math>2 = \left(
 \frac{\left(3-x\right) \times 2}{3-x}
 \right)</math>


 <math>S_{\text{new}} = S_{\text{old}} - \frac{ \left( 5-T \right) ^2} {2}</math>
 

Integrals



<math>\int_a^x \!\!\!\int_a^s f(y)\,dy\,ds
 = \int_a^x f(y)(x-y)\,dy</math>

Summation



<math>\sum_{m=1}^\infty\sum_{n=1}^\infty\frac{m^2\,n}
 {3^m\left(m\,3^n+n\,3^m\right)}</math>

Differential Equation



<math>u'' + p(x)u' + q(x)u=f(x),\quad x>a</math>

Complex numbers



<math>|\bar{z}| = |z|,
 |(\bar{z})^n| = |z|^n,
 \arg(z^n) = n \arg(z)</math>

Limits



<math>\lim_{z\rightarrow z_0} f(z)=f(z_0)</math>

Integral Equation



<math>\phi_n(\kappa) =
 \frac{1}{4\pi^2\kappa^2} \int_0^\infty
 \frac{\sin(\kappa R)}{\kappa R}
 \frac{\partial}{\partial R}
 \left[R^2\frac{\partial D_n(R)}{\partial R}\right]\,dR</math>

Example



<math>\phi_n(\kappa) = 
 0.033C_n^2\kappa^{-11/3},\quad
 \frac{1}{L_0}\ll\kappa\ll\frac{1}{l_0}</math>

Continuation and cases



<math>
 f(x) =
 \begin{cases}
 1 & -1 \le x < 0 \\
 \frac{1}{2} & x = 0 \\
 1 - x^2 & \mbox{otherwise}
 \end{cases}
 </math>

Prefixed subscript



 <math>{}_pF_q(a_1,\dots,a_p;c_1,\dots,c_q;z)
 = \sum_{n=0}^\infty
 \frac{(a_1)_n\cdots(a_p)_n}{(c_1)_n\cdots(c_q)_n}
 \frac{z^n}{n!}</math>

Fraction and small fraction


<math> \frac {a}{b}\  \tfrac {a}{b} </math>

Unicode vs TeX comparison

unicode TeX See
[\![
{ \{
\|
} \}
\aleph
α \alpha
⨿ \amalg
\angle
\approx
\ast
\asymp
\ \backslash
β \beta
\bigcap
\bigcirc
\bigcup
\bigodot
\bigoplus
\bigotimes
\bigsqcup
\bigtriangledown
\bigtriangleup
\biguplus
\bigwedge
\bigvee
\bot
\bowtie
\Box
\bullet
\cap
\cdot
\cdots
χ \chi
\circ
\clubsuit
\cong
\coprod
\cup
\dagger
\dashv
\ddagger
\ddots
δ \delta
Δ \Delta
\Diamond
\diamond
\diamondsuit
÷ \div
\doteq
\downarrow
\Downarrow
\ell
\emptyset
ϵ \epsilon
\equiv
η \eta
\exists
\flat
\forall
\frown
γ \gamma
Γ \Gamma
\ge
\geq
\gets
\gg
\hbar
\heartsuit
\hookleftarrow
\hookrightarrow
\Im
ı \imath
\in
\infty
\int
ι \iota
j \jmath
κ \kappa
λ \lambda
Λ \Lambda
\land
\langle
\langle\!\langle
{ \lbrace
[ \lbrack
\lceil
\le
\Leftarrow
\leftarrow
\leftharpoondown
\leftharpoonup
\leftrightarrow
\Leftrightarrow
\leq
\lfloor
\ll
¬ \lnot
\Longleftarrow
\longleftarrow
\Longleftrightarrow
\longleftrightarrow
\longmapsto
\Longrightarrow
\longrightarrow
\lor
\mapsto
\mid
\models
\mp
μ \mu
\nabla
\natural
\ne
\nearrow
¬ \neg
\neq
\ni
\not\approx
\not\asymp
\not\cong
\not\equiv
\not\geq
\not\leq
\not\prec
\not\preceq
\not\sim
\not\simeq
\not\sqsubseteq
\not\sqsupseteq
\not\subset
\not\subseteq
\not\succ
\not\succeq
\not\supset
\not\supseteq
\not=
ν \nu
\nwarrow
\odot
\oint
ω \omega
Ω \Omega
\ominus
\oplus
\oslash
\otimes
\parallel
\partial
\perp
ϕ \phi
Φ \Phi
π \pi
Π \Pi
± \pm
\prec
\preceq
\prime
\prod
\propto
ψ \psi
Ψ \Psi
\rangle
\rangle\!\rangle
} \rbrace
] \rbrack
\rceil
\Re
\rfloor
ρ \rho
\rightarrow
\Rightarrow
\rightharpoondown
\rightharpoonup
\rightleftharpoons
\searrow
\setminus
\sharp
σ \sigma
Σ \Sigma
\sim
\simeq
\smile
\spadesuit
\sqcap
\sqcup
\sqsubset
\sqsubseteq
\sqsupset
\sqsupseteq
\star
\subset
\subseteq
\succ
\succeq
\sum
\supset
\supseteq
\surd
\swarrow
τ \tau
θ \theta
Θ \Theta
× \times
\to
\top
\triangle
\triangleleft
\triangleright
\uparrow
\Uparrow
\updownarrow
\Updownarrow
\uplus
υ \upsilon
Υ \Upsilon
ε \varepsilon
φ \varphi
ϖ \varpi
ϱ \varrho
ς \varsigma
ϑ \vartheta
\vdash
\vdots
\wedge
\vee
\vert
\Vert
\wp
\wr
ξ \xi
Ξ \Xi
ζ \zeta
]\!]
ο o