Some Misc Notes

Making Docs with Math and Diagrams

Make sure you have Pandoc and TeXLive installed:

apt install pandoc texlive

For diagrams, you might use Inkscape. The A7 paper size works pretty well for medium-sized diagrams.

Create your foo.md file:

**My Title**

Some items:

 #. Note that $2\pi\phi = e^2$ iff ...

\vspace{6cm}

 #. As you can see in this figure:

    ![](diagram-1.png)

 #. Last item.

Done.

Then process the file with pandoc like so:

pandoc -o foo.pdf -V geometry:"margin=0.5in" -V fontsize=12pt foo.md

Note, if your doc were to have a % My Title at the top, you’d end up with a lot of nice whitespace at the top of your output page.