single dollar . $ .
$
.double-dollar . $$ .
$$
.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 .
3$1+2$ $1+2$3
.use of currency symbol (valid=True)
.
If you solve
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}$ .
\\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 a \not=1 b
.Inline multi-line with newline (valid=False) . a $a
\not=1$ b .
a $a
\not=1$ b
.single block equation, greek index (valid=True)
.
display equation on its own single line. (valid=True)
.
display equation with number on its own single line. (valid=True)
.
inline equation followed by block equation. (valid=True)
.
{e}_x
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 .
a1+1=2 1+1=2b cxd
.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
so-what is x
.display equation with line breaks. (valid=True) . $$ 1+1=2 $$ .
multiple equations (valid=True) . $$ a = 1 $$
$$ b = 2 $$ .
display equation with blank lines. (valid=False) . $$ 1+1=2
$$ .
$$ 1+1=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)
.
inline equation following code section. (valid=True)
.
code
codea-b
equation following code block. (valid=True) .
code
code
numbered equation following code block. (valid=True) .
code
code
Equations in list. (valid=True) .
$1+2$ -
$2+3$ -
$3+4$ .
-
- 1+2
- 2+3
- 3+4
Inline sum. (valid=True)
.
\\sum\_{i=1}^n
.Sum without equation number. (valid=True)
.
Sum with equation number. (valid=True)
.
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$ .
.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. .
.formula
¶ a+b=cin blockquote.
mixed syntax: . $$ a=1 \ b=2 $$ (abc)
- ab
$c=1$ d .
- ab c=1 d
escaped dollars '\$' are interpreted as dollar '$' characters. (valid=True) . \$1+1=2$ $1+1=2\$ .
\1+1=2 1+1=2\\
.empty line between text and display formula is required. (valid=False)
.
some text
some text
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$$ .
.
$$ a+b\n=c$$
math-escaping: escaped start $: . $p_2 = $a .
$p_2 = $a
.math-escaping: escaped end $: . $p_2 = $a .
$p_2 = $a
.math-escaping: internal escaped $:
.
$p_2 =
p_2 = \$1
.math-escaping: double-escaped start
\p_2 = 1
.math-escaping: double-escaped end $: . $p_2 = \$a .
p_2 = \\a
.Inline double-dollar start:
.
Inline double-dollar end:
.
a
a
Inline double-dollar enclosed:
.
a
a
Inline double-dollar, escaped:
.
a
a $a=1$ b
.Inline mixed single/double dollars:
.
Hence, for
Hence, for \alpha \in (0, 1),
display equation with label containing whitespace. (valid=True)
.
Indented by 4 spaces
.
$$a$$
.
Indented by 4 spaces, DISABLE-CODEBLOCKS
.