single character inline equation. (valid=True) . $a$ .
inline equation with single greek character (valid=True) . $\varphi$ .
simple equation starting and ending with numbers. (valid=True) . $1+1=2$ .
simple equation including special html character. (valid=True) . $1+1<3$ .
equation including backslashes. (valid=True) . $a \backslash$ .
use of currency symbol, i.e. digits before/after opening/closing (valid=True) . 3$1+2$ $1+2$3 .
use of currency symbol (valid=True) . If you solve $1+2$ you get $3 .
inline fraction (valid=True) . $\frac{1}{2}$ .
inline column vector (valid=True) . $\begin{pmatrix}x\\y\end{pmatrix}$ .
inline bold vector notation (valid=True) . ${\tilde\bold e}_\alpha$ .
exponentiation (valid=True) . $a^{b}$ .
conjugate complex (valid=True) . $a^*b$ with $a^*$ .
Inline multi-line (valid=True) . a $a \not=1$ b .
Inline multi-line with newline (valid=False) . a $a
\not=1$ b .
single block equation, greek index (valid=True) . $$e_\alpha$$ .
display equation on its own single line. (valid=True) . $$1+1=2$$
.
display equation with number on its own single line. (valid=True) . $$1+1=2$$ (2)
.
inline equation followed by block equation. (valid=True) . ${e}_x$
$$e_\alpha$$ .
underline tests (valid=True) . $$c{\bold e}x = a{\bold e}\alpha - b\tilde{\bold e}_\alpha$$ .
non-numeric character before opening $ or after closing $ or both is allowed. (valid=True) . a$1+1=2$ $1+1=2$b c$x$d .
following dollar character ‘$’ is allowed. (valid=True) . $x$ $ .
consecutive inline equations. (valid=True) . $x$ $y$ .
inline equation after ‘-’ sign in text. (valid=True) . so-what is $x$ .
display equation with line breaks. (valid=True) . $$ 1+1=2 $$ .
multiple equations (valid=True) . $$ a = 1 $$
$$ b = 2 $$ .
equation followed by a labelled equation (valid=True) . $$ a = 1 $$
$$ b = 2 $$ (1) .
multiline equation. (valid=True) . $$\begin{matrix} f & = & 2 + x + 3 \ & = & 5 + x \end{matrix}$$ .
vector equation. (valid=True) . $$\begin{pmatrix}x_2 \\ y_2 \end{pmatrix} = \begin{pmatrix} A & B \\ C & D \end{pmatrix}\cdot \begin{pmatrix} x_1 \\ y_1 \end{pmatrix}$$ .
display equation with equation number. (valid=True) . $$f(x) = x^2 - 1$$ (1) .
inline equation following code section. (valid=True) . code$a-b$ .
equation following code block. (valid=True) .
code
$$a+b$$ .
numbered equation following code block. (valid=True) .
code
$$a+b$$(1) .
Equations in list. (valid=True) .
Inline sum. (valid=True) . $\sum_{i=1}^n$ .
Sum without equation number. (valid=True) . $$\sum_{i=1}^n$$ .
Sum with equation number. (valid=True) . $$\sum_{i=1}^n$$ (2) .
equation number always vertically aligned. (valid=True) . $${\bold e}(\varphi) = \begin{pmatrix} \cos\varphi\\\sin\varphi \end{pmatrix}$$ (3) .
inline equations in blockquote. (valid=True) .
see $a = b + c$ $c^2=a^2+b^2$ (2) $c^2=a^2+b^2$ .
display equation in blockquote. (valid=True) .
formula
$$ a+b=c$$ (2)
in blockquote. .
mixed syntax: . $$ a=1 \ b=2 $$ (abc)
escaped dollars ‘\$’ are interpreted as dollar ‘$’ characters. (valid=True) . \$1+1=2$ $1+1=2\$ .
empty line between text and display formula is required. (valid=False) . some text $\$a+b=c$$ .
whitespace character after opening $ or before closing $ is not allowed. (valid=False) . $ $ $ x$ $x $ .
new line in blockquote block (valid=False): .
$$ a+b\n=c$$ .
math-escaping: escaped start $: . $p_2 = $a .
math-escaping: escaped end $: . $p_2 = $a .
math-escaping: internal escaped $: . $p_2 = $1$ .
math-escaping: double-escaped start $: . \$p_2 = 1$ .
math-escaping: double-escaped end $: . $p_2 = \$a .