Some Misc Notes
← prev | next →     Top-level ToC     /doc-notes/making-cheatsheets.html     (printable version)

Create a simple 2-column pdf cheatsheet like so:

  1. Make sure you have TeX distribution installed, such as texlive.

  2. Write your cheatsheet out in pandoc markdown.

  3. Limit code block width, since output will be 2-column.

  4. Use column-breaks (\newpage) as needed.

  5. Process the doc:

    pandoc -s                                          \
        -V geometry:"margin=0.5in,twocolumn,landscape" \
        -o cheatsheet.tex                              \
    pdflatex cheatsheet.tex