Packages
Defaults:
\usepackage[T1]{fontenc}
\usepackage{amsmath,mathtools} % math
\usepackage{fancyhdr} % headers/footers
\usepackage{graphicx} % images
\usepackage{tabularx} % tables
\usepackage{tikz} % drawing
\usepackage{titling} % moving title
Page margins:
\usepackage[top=22mm,bottom=22mm,left=17mm,right=17mm]{geometry}
Paragraph spacing:
\usepackage{parskip}
Formatting
Move title vertically:
\setlength{\droptitle}{-5em}
Remove paragraph indenting:
\setlength{\parindent}{0pt}
Remove page numbers:
\pagenumbering{gobble}
Commands
Usage: $\arc{AB}$
Arc notation in math mode:
\newcommand{\arc}[1]{
{\setbox9=\hbox{#1}\ooalign{
\resizebox{\wd9}{\height}{\texttoptiebar{\phantom{A}}}\cr#1
}}
}
Usage: \blankline{5} will produce a bottom-aligned line that is 5em long
Blank write-in line:
\newcommand{\blankline}[1]{
\parbox{#1em}{\vtop{\vskip1em \hrulefill}}
}