Nested: $M = \text{while e^2
This document is to test
Numbered equations
Blockquotes
- A block quote
- With a list inside
- With
$math$
Math environment Syntax testing
Inline Math should work with $
\(
(\frac{x+y}{y})
Use \[
on separate lines:
[ \int_{-\infty}^\infty e^{-x^2} = \sqrt{\pi} ]
Use \[
on the same line:
[ \frac{-b \pm \sqrt{b^2-4ac}}{2a} ]
Use $$
on separate lines:
Use $$
on the same line:
Some Tex Functions
Escaped Math environments
In the following examples no math environments should render:
a $5, a $10 and a $100 Bill.
All McScrooge sees
$$
and even more:
$$
\[x+y] \(x+y)
$x
\$
\$
, \[ \]
, $x$
Testing \newcommand
For all
\newcommand{\scalong}[1]{(#1_1,\dots,#1_k)}
where
Testing several math fonts [ p(\mathbf{m}) \sim \mathcal{N}(\mathbf{m}) e^{-\sum_{i} \beta_i m_i} ]
[ \langle \vec{m} \rangle = \frac{1}{Z(\vec{\beta})}\vec{m}(\mu) \sum_{\mu\in\mathcal{G}} e^{-\vec{\beta}\cdot\vec{m}(\mu)} ]
Notice below that the \[
-separated display math doesn't have a blank line before and after (i.e. in an actual
The characteristic polynomial
This is a long line:
Does it work in different MD elements?
_
italics?
$(fgh)(x)$ should not conflict with *
syntax?
$a+b$ should not conflict link syntax?
math $x^2$ in emphasis
math
math $x^2$ in code
math
In Tables
Left-Aligned | Center Aligned | Right Aligned |
---|---|---|
some wordy text | $1600 | |
some wordy text | $1600 | |
some wordy text | $1600 |
(only works with Pandoc)
Left-Aligned | Center Aligned | Right Aligned |
---|---|---|
some wordy text | $1600 | |
$$ | ||
A=\mathbf{A}=\underline{A}=\begin{pmatrix} | ||
a_{11} & a_{12} & \cdots & a_{1n}\ | ||
a_{21} & a_{22} & \cdots & a_{2n}\ | ||
\vdots & \vdots & & \vdots\ | ||
a_{m1} & a_{m2} & \cdots & a_{mn}\ | ||
\end{pmatrix} = (a_{ij}) | ||
$$ | $12 | |
$1 |
In Image Captions