\input{mmd-article-header}
\def\mytitle{MultiMarkdown Math Example}
\input{mmd-article-begin-doc}

\part{Math}
\label{math}

An example of math within a paragraph --- ${e}^{i\pi }+1=0$ --- easy
enough.

And an equation on it's own:

\[ {x}_{1,2}=\frac{-b\pm \sqrt{{b}^{2}-4ac}}{2a} \]

That's it.

\chapter{``DollarMath''}
\label{dollarmath}

An example of math within a paragraph --- ${e}^{i\pi }+1=0$ --- easy
enough.

An example of math within a paragraph, ${e}^{i\pi }+1=0$, easy
enough.

And an equation on it's own:

$${x}_{1,2}=\frac{-b\pm \sqrt{{b}^{2}-4ac}}{2a}$$

\chapter{Not Math}
\label{notmath}

An example of math within a paragraph --- \$ \{e\}\textsuperscript{{i}\textbackslash{}pi \}+1=0\$ --- easy
enough.

And an equation on it's own:

\$\$ \{x\}\_\{1,2\}=\textbackslash{}frac\{-b\textbackslash{}pm \textbackslash{}sqrt\{\{b\}\textsuperscript{{2}}--4ac\}\}\{2a\}\$\$

An example of math within a paragraph --- \$\{e\}\textsuperscript{{i}\textbackslash{}pi \}+1=0 \$ --- easy
enough.

And an equation on it's own:

\$\$\{x\}\_\{1,2\}=\textbackslash{}frac\{-b\textbackslash{}pm \textbackslash{}sqrt\{\{b\}\textsuperscript{{2}}--4ac\}\}\{2a\} \$\$

An example of math within a paragraph --- a\$\{e\}\textsuperscript{{i}\textbackslash{}pi \}+1=0\$ --- easy
enough.

And an equation on it's own:

a\$\$\{x\}\_\{1,2\}=\textbackslash{}frac\{-b\textbackslash{}pm \textbackslash{}sqrt\{\{b\}\textsuperscript{{2}}--4ac\}\}\{2a\}\$\$

An example of math within a paragraph --- \$\{e\}\textsuperscript{{i}\textbackslash{}pi \}+1=0\$b --- easy
enough.

And an equation on it's own:

\$\$\{x\}\_\{1,2\}=\textbackslash{}frac\{-b\textbackslash{}pm \textbackslash{}sqrt\{\{b\}\textsuperscript{{2}}--4ac\}\}\{2a\}\$\$b

\input{mmd-memoir-footer}

\end{document}
