diff options
author | Blaise Thompson <blaise@untzag.com> | 2023-11-16 18:16:49 -0600 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2023-11-16 18:16:49 -0600 |
commit | 3698b838f6483179a5e0997d0bf97ca4e35fc9d6 (patch) | |
tree | 22d9ed2cf1ee80152703c7a868c6cea7164ff0ac /cookbook.cls |
initial commit
Diffstat (limited to 'cookbook.cls')
-rw-r--r-- | cookbook.cls | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cookbook.cls b/cookbook.cls new file mode 100644 index 0000000..92d152f --- /dev/null +++ b/cookbook.cls @@ -0,0 +1,29 @@ +\ProvidesClass{cookbook} +\LoadClass{book} + +\RequirePackage[papersize={5.5in,8.5in}, 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} |