Pandoc Markdown & MathML with KaTeX Computers

Pandoc Markdown & MathML with KaTeX

Testing what Pandoc Markdown can render to HTML with MathML… Use $ … $ delimiters for inline math, or $$ … $$ delimiters for display math. The examples here use display math.

Contents


A


aligned

Align equations… each line of the equation will align on &, and new lines are created with \\.

\begin{aligned}
a - (b + c) &= a + (-1)(b + c)\\
&= a + (-1)b + (-1)c\\
&= a - b - c
\end{aligned}

\begin{aligned} a - (b + c) &= a + (-1)(b + c)\\ &= a + (-1)b + (-1)c\\ &= a - b - c \end{aligned}

↑ top


B


blackboard bold (mathbb)

Commonly used in set notation.

\mathbb{R}, \mathbb{Z}

\mathbb{R}, \mathbb{Z}

↑ top


C


centered dot (\cdot)

x \cdot y

x \cdot y

↑ top


centered dots (\cdots)

a_1 + \cdots + a_n

a_1 + \cdots + a_n

↑ top


D


degree

Use Unicode for these outside of mathematics contexts.

^\circ

^\circ

^\circ\mathrm{C}

^\circ\mathrm{C}

↑ top


delimiters \left( \right) \left[ \right] \left\lbrace \right\rbrace \left| \right|

This type of delimiter (i.e. parenthesis, brackets, braces, bars) scales to the size of the contents.

\left(\frac{x}{y}\right)

\left(\frac{x}{y}\right)

\left[ \frac{x}{y} \right]

\left[ \frac{x}{y} \right]

\left\lbrace \frac{x}{y} \right\rbrace

\left\lbrace \frac{x}{y} \right\rbrace

\left| \frac{x}{y} \right|

\left| \frac{x}{y} \right|

↑ top


dots/ellipsis (\dots)

\{a_1, a_2, \dots\}

\{a_1, a_2, \dots\}

↑ top


F


fractions

\frac{x}{y}

\frac{x}{y}

↑ top


I


infinity (\infty)

\infty

\infty

↑ top


P


pi (\pi)

\pi

\pi

↑ top


R


relations

equal = =
not equal \neq \neq
less than < <
greater than > >
less than or equal \leq \leq
greater than or equal \geq \geq
approximately equal \approx \approx
asymptomatically equal \sim \sim
identical/congruent \equiv \equiv
congruent (geometry) \cong \cong
proportional to \propto \propto
much less than \ll \ll
much greater than \gg \gg
defined as := :=

↑ top


radicals

\begin{aligned}
\sqrt{ab} &= \sqrt{a} \cdot \sqrt{b} \\
\sqrt{\frac{a}{b}} &= \frac{\sqrt{a}}{\sqrt{b}} \\
a^{\frac{x}{y}} &= \left(\sqrt[y]{a}\right)^x = \sqrt[y]{a^x}
\end{aligned}

\begin{aligned} \sqrt{ab} &= \sqrt{a} \cdot \sqrt{b} \\ \sqrt{\frac{a}{b}} &= \frac{\sqrt{a}}{\sqrt{b}} \\ a^{\frac{x}{y}} &= \left(\sqrt[y]{a}\right)^x = \sqrt[y]{a^x} \end{aligned}

↑ top


S


set notation

such that \mid or \colon \mid \text{ or } \colon
element of \in \in
not an element of \notin \notin
subset of \subset \subset
subset or equal to \subseteq \subseteq
not a subset of \not\subset or \not\subseteq \not\subset \text{ or } \not\subseteq
proper subset \subsetneq \subsetneq
superset of \supset \supset
superset or equal to \supseteq \supseteq
intersection \cap \cap
union \cup \cup
set difference (minus) \setminus \setminus
symmetric difference \triangle \triangle
complement (superscript) A^\complement A^\complement
Cartesian product \times \times

↑ top


subscript

x_y

x_y

↑ top


summation

\sum_{i=1}^{n} a_i

\sum_{i=1}^{n} a_i

\sum\nolimits_{i=1}^{n} a_i

\sum\nolimits_{i=1}^{n} a_i

\sum_{\substack{0 < i < n \\ i \neq j}} a_i

\sum_{\substack{0 < i < n \\ i \neq j}} a_i

↑ top


superscript

x^y

x^y

↑ top

Search Titles & Keywords