summaryrefslogtreecommitdiff
path: root/cookbook.cls
blob: 4646fc78044dee397a4d69d509bfb352c3124180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
\ProvidesClass{cookbook}
\LoadClass{book}

\RequirePackage[a5paper, margin=2cm]{geometry}
\RequirePackage{graphicx}

% --- text ----------------------------------------------------------------------------------------

% text
\RequirePackage[utf8]{inputenc}
\setlength\parindent{0pt}
\setlength{\parskip}{1em}
\renewcommand{\familydefault}{\sfdefault}
\RequirePackage{amssymb}
\RequirePackage{setspace}

% --- lists ---------------------------------------------------------------------------------------

\RequirePackage[shortlabels]{enumitem}
\setlist[enumerate, 1]{nosep}
\setlist[enumerate, 2]{nosep, topsep=-5ex}
\setlist[enumerate, 3]{nosep, topsep=-5ex}
\setlist[enumerate, 4]{nosep, topsep=-5ex}

\renewcommand{\labelitemi}{$\rightsquigarrow$}
\setlist[itemize, 1]{itemsep=0.5ex, topsep=-0ex}
%\setlist[itemize, 2]{nosep, topsep=5ex}
%\setlist[itemize, 3]{nosep, topsep=5ex}
%\setlist[itemize, 4]{nosep, topsep=5ex}