% custom commands go here % \newcommand{\N}{\mathbb{N}} \newcommand{\R}{\mathbb{R}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\K}{\mathbb{K}} \newcommand{\Q}{\mathbb{Q}} \newcommand{\Rq}{\R^2} \newcommand{\Qq}{\Q^2} \newcommand{\lrarr}{\Leftrightarrow} \newcommand{\linf}{\lim\limits_{n \rightarrow{} \infty}} %running fraction with slash - requires math mode. \newcommand*\rfrac[2]{{}^{#1}\!/_{#2}} % Vector \newcommand*\colvec[3][]{ \begin{pmatrix}\ifx\relax#1\relax\else#1\\\fi#2\\#3\end{pmatrix} } \newcommand{\xyvec}{\colvec{x}{y}}