From 81fe6acece51007896cfe380eb350b9793cf9c8a Mon Sep 17 00:00:00 2001 From: Andrea Tagliasacchi Date: Tue, 4 Mar 2025 12:33:32 -0800 Subject: [PATCH 1/3] perks --- preamble.tex | 51 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 6 deletions(-) diff --git a/preamble.tex b/preamble.tex index 53747b0..c1df919 100644 --- a/preamble.tex +++ b/preamble.tex @@ -1,10 +1,49 @@ -% -% --- inline annotations -% +%% +%% 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} + +%% +%% Commonly colors +%% +% \definecolor{turquoise}{cmyk}{0.65,0,0.1,0.3} +% \definecolor{purple}{rgb}{0.65,0,0.65} +% \definecolor{dark_green}{rgb}{0, 0.5, 0} +% \definecolor{orange}{rgb}{0.8, 0.6, 0.2} +% \definecolor{red}{rgb}{0.8, 0.2, 0.2} +% \definecolor{darkred}{rgb}{0.6, 0.1, 0.05} +% \definecolor{blueish}{rgb}{0.0, 0.3, .6} +% \definecolor{light_gray}{rgb}{0.7, 0.7, .7} +% \definecolor{pink}{rgb}{0.9, 0, 0.6} +% \definecolor{greyblue}{rgb}{0.25, 0.25, 1} +% \definecolor{teal}{rgb}{0.0, 0.4, 0.4} +% \definecolor{chocolate}{rgb}{1.0, 0.4, 0.0} + +%% +%% 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 +% disable by uncommenting % \renewcommand{\TODO}[1]{} -% \renewcommand{\todo}[1]{#1} - +% \renewcommand{\todo}[1]{#1} \ No newline at end of file From 632bb378424ebc53af6a90409dde72fb7285fb42 Mon Sep 17 00:00:00 2001 From: Andrea Tagliasacchi Date: Tue, 4 Mar 2025 17:02:56 -0800 Subject: [PATCH 2/3] added underline --- preamble.tex | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/preamble.tex b/preamble.tex index c1df919..d36b1fb 100644 --- a/preamble.tex +++ b/preamble.tex @@ -23,13 +23,18 @@ % \DeclareMathOperator*{\argmax}{arg\,max} %% -%% Commonly colors +%% Tigthen underline +%% +% \usepackage{soul} +% \setuldepth{foobar} + +%% +%% Commonly used colors %% % \definecolor{turquoise}{cmyk}{0.65,0,0.1,0.3} % \definecolor{purple}{rgb}{0.65,0,0.65} % \definecolor{dark_green}{rgb}{0, 0.5, 0} % \definecolor{orange}{rgb}{0.8, 0.6, 0.2} -% \definecolor{red}{rgb}{0.8, 0.2, 0.2} % \definecolor{darkred}{rgb}{0.6, 0.1, 0.05} % \definecolor{blueish}{rgb}{0.0, 0.3, .6} % \definecolor{light_gray}{rgb}{0.7, 0.7, .7} From 86e73865e3db447b4a0dc7383aaaaacfec9cd507 Mon Sep 17 00:00:00 2001 From: Andrea Tagliasacchi Date: Thu, 13 Mar 2025 10:11:46 -0700 Subject: [PATCH 3/3] adopted suggestions by Christian --- preamble.tex | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/preamble.tex b/preamble.tex index d36b1fb..9ada211 100644 --- a/preamble.tex +++ b/preamble.tex @@ -1,3 +1,12 @@ +%% 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 %% @@ -29,26 +38,14 @@ % \setuldepth{foobar} %% -%% Commonly used colors +%% Inline annotations; for predefined colors, refer to "dvipsnames" in the xcolor package: +%% https://tinyurl.com/overleaf-colors %% -% \definecolor{turquoise}{cmyk}{0.65,0,0.1,0.3} -% \definecolor{purple}{rgb}{0.65,0,0.65} -% \definecolor{dark_green}{rgb}{0, 0.5, 0} -% \definecolor{orange}{rgb}{0.8, 0.6, 0.2} -% \definecolor{darkred}{rgb}{0.6, 0.1, 0.05} -% \definecolor{blueish}{rgb}{0.0, 0.3, .6} -% \definecolor{light_gray}{rgb}{0.7, 0.7, .7} -% \definecolor{pink}{rgb}{0.9, 0, 0.6} -% \definecolor{greyblue}{rgb}{0.25, 0.25, 1} -% \definecolor{teal}{rgb}{0.0, 0.4, 0.4} -% \definecolor{chocolate}{rgb}{1.0, 0.4, 0.0} - +% \newcommand{\red}[1]{{\color{red}#1}} +% \newcommand{\todo}[1]{{\color{red}#1}} +% \newcommand{\TODO}[1]{\textbf{\color{red}[TODO: #1]}} %% -%% Inline annotations +%% disable for camera ready / submission by uncommenting these lines %% -\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} \ No newline at end of file