Rmd files should begin with the preamble shown in example.Rmd
Full line math should be enclosed in double dollar signs $$,
inline math should be enclosed in single dollar signs $.
Use the following link for testing math:
http://cdn.mathjax.org/mathjax/latest/test/sample-dynamic.html