A compilation of LaTeX snippets and examples for reference