% clickable tocs \usepackage{hyperref} % floating figures \usepackage{float} % Matrices have a upper bound for its size \setcounter{MaxMatrixCols}{20} % Remove trailing `contents` after toc \renewcommand{\contentsname}{} \DeclareMathOperator{\diag}{diag} % \newcommand{\vec}[1]{\mathbf{#1}} \newcommand{\BigO}[1]{\mathcal{O}(#1)} \newcommand{\proc}[1]{#1} \newcommand{\todo}[1]{ \addcontentsline{tdo}{todo}{\protect{#1}} $\ast$ \marginpar{\tiny $\ast$ #1} } \theoremstyle{plain} \newtheorem{theorem}{Theorem}[section] \newtheorem{lemma}[theorem]{Lemma}