Skip to content
Snippets Groups Projects
Commit 9b63bbe5 authored by rohieb's avatar rohieb
Browse files

stratum0doc: optimize vertical spacing, set default monospace font to Droid Mono

parent f6bec0d9
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,9 @@ ...@@ -4,6 +4,9 @@
\ProvidesPackage{stratum0doc} \ProvidesPackage{stratum0doc}
\RequirePackage{tocloft} \RequirePackage{tocloft}
\RequirePackage{enumitem}
\RequirePackage[margin=2cm,outer=3.1cm]{geometry}
\RequirePackage[compact]{titlesec}
%% Package options %% Package options
\makeatletter \makeatletter
...@@ -31,6 +34,10 @@ ...@@ -31,6 +34,10 @@
} }
} }
%% default monospace font
\RequirePackage[defaultmono,scale=0.8]{droidmono}
\urlstyle{tt}
%% list bullets, section prefix %% list bullets, section prefix
\makeatletter \makeatletter
\renewcommand{\labelenumi}{(\arabic{enumi})} \renewcommand{\labelenumi}{(\arabic{enumi})}
...@@ -47,10 +54,20 @@ ...@@ -47,10 +54,20 @@
\setcounter{section}{-1} % Hacker fangen ab 0 an zu zählen. \setcounter{section}{-1} % Hacker fangen ab 0 an zu zählen.
\makeatother \makeatother
% paragraph skips and indents % optimize vertical spacing
\setlength{\parskip}{0.5em} \setlist{nosep}
\titlespacing{\section}{0pt}{12pt}{0pt}
\titlespacing{\subsection}{0pt}{0.3em}{*0}
\titlespacing{\subsubsection}{0pt}{0.3em}{*0}
\setlength{\parskip}{0.5em plus 0.1em minus 0.3em}
\setlength{\parindent}{0em} \setlength{\parindent}{0em}
\setlength{\cftbeforesecskip}{0.3\baselineskip} \setlength{\cftbeforesecskip}{0.3\baselineskip}
\setlength{\parsep}{0pt}
\setlength{\headsep}{12pt}
\setlength{\topskip}{0pt}
\setlength{\topsep}{0pt}
\setlength{\partopsep}{0pt}
\setlength{\footskip}{32pt}
% enlarge page margin, for following \vote etc. commands % enlarge page margin, for following \vote etc. commands
\addtolength{\textwidth}{-14pt} \addtolength{\textwidth}{-14pt}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment