Just some stuff about me.
Here’s a list of \usepackage declarations for different purposes.
I want…
| language & encoding | [utf8]{inputenc}, [USenglish]{babel}, and {csquotes} is recommended with babel |
| hyperlinks | {hyperref} |
| {xcolor}, then set colors via \hypersetup |
| captions | {caption}, {subcaption}. set style with \captionsetup |
| code | {listings}, setup with \lstset, position captions with \captionsetup[lstlisting] |
| graphics | {graphicx}, set your \graphicspath{{/first/path}{/second/path}} |
| bibliography | [style=ieee]{biblatex}, remember to \addbibresource |
| show overfull boxes visually | \setlength{overfullrule}{5pt} |
| set margins | [a4paper, margin=whatever]{geometry} |
| placeholder text | {lipsum} |
| pseudocode | install algorithms and algorithmicx, then use {algorithm} and {algpseudocode}. wrapper environment is \begin{algorithm}, contains \begin{algorithmic}. |
| custom section headings | {titlesec}, set it up with \titleformat |