Skip to content
Snippets Groups Projects
Commit ad0d0ebe authored by Martina Maggio's avatar Martina Maggio
Browse files

tricks

parent 59551254
No related branches found
No related tags found
No related merge requests found
......@@ -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}
......
% 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment