avatarMy favorite latex template 🦆

74; 12022 H.E.

There hasn’t been a single instance that I haven’t typed latex code for any assignments, proposals, documents, receipts, invoices, resumes, (more?) that I had to work on. For some inexplicable reason, the default latex template gives me uneasy feelings. Maybe I’ve seen it too many times for a lifetime.

I would like to urge you to have your own template (unless whatever place you’re submitting gives you their own template, like IEEE conferences) for whatever you type in latex. It gives you an incredible freedom and also makes you stand out in a good way.

Some good typography and good taste in visual aspects of a document can turn your 50% homework into a straight A. Below is the template I have been improving over the past 2-3 years that has my favorite dimensions, fonts, margins, macros. Should be pretty self-explanatory. As one of my close friends looked at one of my files and simply said - sex

Here is an example document with math and another with text and references.

You will have to run tex files with this template with the -shell-escape flag, because it’s using minted for source code blocks and nice syntax highlighting.
\usepackage[left=1.4in, right=1.4in, bottom=1in]{geometry}
% this fixes wack monospace fonts and issues
\newcommand*{\rom}[1]{\expandafter\@slowromancap\romannumeral #1@}
\def\Z{\mathbb Z}
\def\R{\mathbb R}
\def\C{\mathbb C}
\def\N{\mathbb N}
\def\Q{\mathbb Q}

This should be it! Let me know if you have any questions. ◼︎