Automated macros from tex/preamble.tex

This fixes #35
Merge branch 'master' of github.com:pbelmans/stacks-website