diff --git a/preamble.tex b/preamble.tex index 53747b0..9ada211 100644 --- a/preamble.tex +++ b/preamble.tex @@ -1,10 +1,51 @@ -% -% --- inline annotations -% -\newcommand{\red}[1]{{\color{red}#1}} -\newcommand{\todo}[1]{{\color{red}#1}} -\newcommand{\TODO}[1]{\textbf{\color{red}[TODO: #1]}} -% --- disable by uncommenting -% \renewcommand{\TODO}[1]{} -% \renewcommand{\todo}[1]{#1} +%% This file contains a number of tweaks that are typically applied to the main document. +%% They are not enabled by default, but can be enabled by uncommenting the relevant lines. + +%% +%% work harder in optimizing text layout. Typically shrinks text by 1/6 of page, enable +%% it at the very end of the writing process, when you are just above the page limit +%% +% \usepackage{microtype} + +%% +%% fine-tune paragraph spacing +%% +% \renewcommand{\paragraph}[1]{\vspace{.5em}\noindent\textbf{#1.}} + +%% +%% globally adjusts space between figure and caption +%% +% \setlength{\abovecaptionskip}{.5em} + +%% +%% Allows "the use of \paper to refer to the project name" +%% with automatic management of space at the end of the word +%% +% \usepackage{xspace} +% \newcommand{\paper}{ProjectName\xspace} + +%% +%% Commonly used math definitions +%% +% \DeclareMathOperator*{\argmin}{arg\,min} +% \DeclareMathOperator*{\argmax}{arg\,max} + +%% +%% Tigthen underline +%% +% \usepackage{soul} +% \setuldepth{foobar} + +%% +%% Inline annotations; for predefined colors, refer to "dvipsnames" in the xcolor package: +%% https://tinyurl.com/overleaf-colors +%% +% \newcommand{\red}[1]{{\color{red}#1}} +% \newcommand{\todo}[1]{{\color{red}#1}} +% \newcommand{\TODO}[1]{\textbf{\color{red}[TODO: #1]}} +%% +%% disable for camera ready / submission by uncommenting these lines +%% +% \renewcommand{\TODO}[1]{} +% \renewcommand{\todo}[1]{#1} \ No newline at end of file