\documentclass[11pt,oneside]{article} \usepackage[bottom=1.5in]{geometry} % See geometry.pdf to learn the layout options. % There are lots. \geometry{letterpaper} % ... or a4paper or a5paper or ... %\geometry{landscape} % Activate for rotated page geometry %\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty % line rather than an indent \usepackage{plainfootnote} % allows \verbatim, etc in footnotes % see http://www.tug.org/TUGboat/hiw/hey-2n4.ps \usepackage{ifpdf} \usepackage{graphicx} \usepackage{booktabs} \usepackage{xmpincl} \usepackage[utf8]{inputenc} \usepackage{varwidth} % Definitions \def\myauthor{Author} \def\mytitle{Title} \def\mycopyright{\myauthor} \def\mykeywords{} \def\mybibliostyle{plain} \def\mybibliocommand{} \def\mysubtitle{} \def\mytitle{Sample MultiMarkdownMath Document} \def\myauthor{Fletcher T. Penney} % % PDF Stuff % \ifpdf \pdfoutput=1 \usepackage[ plainpages=false, pdfpagelabels, bookmarksnumbered, pdftitle={\mytitle}, pagebackref, pdfauthor={\myauthor}, pdfkeywords={\mykeywords} ]{hyperref} \usepackage{memhfixc} \fi % Title Information \title{\mytitle \\ \mysubtitle} \author{\myauthor} \begin{document} % Title Page \maketitle % Copyright Page \textcopyright{} \mycopyright % % Main Content % % Layout settings \setlength{\parindent}{1em} \section{Math Testing} \label{mathtesting} You can use math in-line, such as $ {\displaystyle 8+4=12}$ and $ {\displaystyle \frac{155}{12}=\frac{10}{2}}$. Or you can use as paragraphs: \begin{equation} {\displaystyle \frac{155}{12}=\frac{10}{2}} \end{equation} \begin{equation} {\displaystyle {x}^{2}+{y}^{2}=1} \end{equation} Or with a blockquote-like syntax: \begin{equation} {\displaystyle {x}_{1,2}=\frac{-b\pm \sqrt{{b}^{2}-4ac}}{2a}} \end{equation} Code is not translated: \texttt{x = pi} % Bibliography \bibliographystyle{\mybibliostyle} \mybibliocommand \end{document}