diff --git a/paper/main.tex b/paper/main.tex index ffeb34727c8ffa49d01fed55e9330bd807c6c865..c6d2fc2e25160bb087d7176386117013f196ae20 100644 --- a/paper/main.tex +++ b/paper/main.tex @@ -10,7 +10,6 @@ %\setcopyright{cagov} %\setcopyright{cagovmixed} - % DOI \acmDOI{10.475/123_4} @@ -26,6 +25,8 @@ \acmArticle{4} \acmPrice{15.00} +%\input{sections/00-header} + \usepackage{fontspec} \usepackage{graphicx} \usepackage{xcolor} diff --git a/paper/sections/00-header.tex b/paper/sections/00-header.tex new file mode 100644 index 0000000000000000000000000000000000000000..3943a708dec8941e7563b051eae292dc0f722fdf --- /dev/null +++ b/paper/sections/00-header.tex @@ -0,0 +1,54 @@ +% bad trick +%\linespread{0.98} + +%reduce space around equations +\makeatletter +\g@addto@macro\normalsize{% + \setlength\abovedisplayskip{3pt plus 2pt minus 1pt} + \setlength\belowdisplayskip{3pt plus 2pt minus 1pt} + \setlength\abovedisplayshortskip{3pt plus 2pt minus 1pt} + \setlength\belowdisplayshortskip{3pt plus 2pt minus 1pt} +} +\makeatother + +% options for pics +\setlength{\abovecaptionskip}{1pt plus 1pt minus 2pt} %0pt plus +\setlength{\belowcaptionskip}{1pt plus 1pt minus 10pt} %0pt plus +\setlength{\textfloatsep}{1pt plus 1pt minus 2pt} %2pt plus +\setlength{\dbltextfloatsep}{10pt plus 0pt minus 0pt} %2pt plus + +% reducing space around section headings +\makeatletter +\let\origsection\section +\renewcommand\section{\@ifstar{\starsection}{\nostarsection}} +\newcommand\nostarsection[1] +{\sectionprelude\origsection{#1}\sectionpostlude} +\newcommand\starsection[1] +{\sectionprelude\origsection*{#1}\sectionpostlude} + +\newcommand\sectionprelude{% + \vspace{-3pt} +} +\newcommand\sectionpostlude{% + \vspace{-2pt} +} + +%reducing space around subsection headings +\let\origsubsection\subsection +\renewcommand\subsection{\@ifstar{\starsubsection}{\nostarsubsection}} +\newcommand\nostarsubsection[1] +{\subsectionprelude\origsubsection{#1}\subsectionpostlude} +\newcommand\starsubsection[1] +{\subsectionprelude\origsubsection*{#1}\subsectionpostlude} + +\newcommand\subsectionprelude{% + \vspace{-4pt} +} +\newcommand\subsectionpostlude{% + \vspace{-3pt} +} +\makeatother + +% reducing distance between body and footnotes +\setlength{\skip\footins}{8pt} %6pt +