summaryrefslogtreecommitdiff
path: root/cookbook.cls
blob: 9267f272df2eea3ed38a4f3b55033e8f857d3d8c (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=0.75in]{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]{nosep}
\setlist[itemize, 2]{nosep, topsep=-5ex}
\setlist[itemize, 3]{nosep, topsep=-5ex}
\setlist[itemize, 4]{nosep, topsep=-5ex}