\documentclass[twoside, 9pt, openany]{extbook} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage[utf8]{inputenc} \usepackage{extsizes} \usepackage{amssymb} \usepackage{graphicx} \usepackage[]{kpfonts} \usepackage{float} \usepackage{gensymb} % Just for the degree symbol \usepackage{lettrine} % Drop caps \usepackage{multicol} % Include two- or three-column sections \usepackage{microtype} % Make things neater \usepackage{enumitem} % Control spacing in lists \usepackage{nicefrac} % Use nice fractions \usepackage{setspace} % Better control over line-spacing \usepackage{environ} % Create custom environments to make everything easy \usepackage{quoting} % Intros to recipes \usepackage[]{josefin} % Use 'Josephine' for sans-serif fonts %\usepackage{venturis} % Use 'Venturis' for sans-serif fonts; font code is 'yvl' \usepackage{xfrac} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Commands %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \raggedbottom % Don't force text to fill page \graphicspath{{images/}} % Where are our images? \raggedright % Don't justify lines \renewcommand*\contentsname{List of Recipes} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Page Set-up %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{geometry} \geometry{ paperheight=8.5in, paperwidth=5.5in, margin=0.5in } % Adjust the top and bottom margins \addtolength{\topmargin}{0.4in} \addtolength{\textheight}{-0.75in} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Set up our headers and footers %%%%%%%%%%%%%%%%%%%%%%% \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{\textit{Dude With a Fork}} \fancyhead[RE,LO]{Issue \#001} \cfoot{Page \thepage} \renewcommand{\footrulewidth}{0.5pt} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Our custom environments %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{environ} \NewEnviron{intro} { \noindent{} \begin{quoting}[leftmargin=10mm, rightmargin=10mm] \begin{small} \BODY \end{small} \end{quoting} } \NewEnviron{ingredients} { \hrule \vspace{4mm} \textbf{Ingredients:} \noindent{} \begin{multicols}{2} \sffamily \begin{itemize}[nosep, left=0pt] \BODY \end{itemize} \rmfamily \end{multicols} } \NewEnviron{instructions} { \hrule \vspace{4mm} \textbf{Instructions:} \begin{enumerate}[itemsep=0mm] \BODY \end{enumerate} } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Adjust spacing before chapter titles %%%%%%%%%%%%%%%%% \usepackage{titlesec} \titleformat{\chapter}[display] {\normalfont\huge\centering} {} {0pt} {\fontsize{24}{28}\selectfont\textsc} \titlespacing*{\chapter}{0pt}{-20mm}{4mm} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Adjust TOC contents %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{titletoc} \titlecontents{chapter}[0em]{\lsstyle\smallskip} {} {} {\hfill}[\medskip]% \dottedcontents{chapter}[0em]{\vspace{2mm}}{3em}{0.5pc} % dotted lines in chapters %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Adjust our xfracs %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \DeclareInstance{xfrac}{JosefinSans-LF}{text}{ slash-symbol-font = JosefinSans-LF, numerator-font = JosefinSans-LF, denominator-font = JosefinSans-LF, scale-factor = 1.2, h-scale = 1.2, numerator-bot-sep = 2 pt, denominator-bot-sep = -1 pt } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Document Information %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \author{Kenneth John Odle} \title{ {\Huge Dude With a Fork} \\ {\footnotesize Cookbook \#1} } \date{\begin{small}\today{}\end{small}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Let's get it started in here %%%%%%%%%%%%%%%%%%%%%%%%% \begin{document} \newgeometry{left=3cm,right=3cm} \tableofcontents \restoregeometry %\makeatletter %\sffamily the family name is \f@family %\makeatother \chapter{Taco Seasoning} \begin{center} %\includegraphics[scale=0.15]{} \end{center} \begin{intro} Store bought taco seasoning is expensive and has a lot of salt in them. Here's a way to make your own and save money. \end{intro} \begin{ingredients} \item \sfrac{1}{4} cup chili powder \item 3 Tbs dried minced onion \item 1 Tbs granulated garlic \item 2 tsp dried oregano\\(Mexican preferred) \item 2 tsp salt \item 2 tsp ground cumin \item 1 tsp ground coriander \item 1 tsp cayenne pepper\\(optional, to taste) \end{ingredients} \begin{instructions} \item Mix all ingredients and store in an air-tight jar. \item To use, brown and drain one pound of ground beef. Add two tablespoons of taco seasoning (which you can adjust to your taste) and \sfrac{3}{4} cup of water. Combine all, bring to a boil, and then reduce to a simmer. Simmer until the sauce is the consistency you prefer. \end{instructions} \chapter{Italian Seasoning} \begin{center} %\includegraphics[scale=0.15]{} \end{center} \begin{intro} \end{intro} \begin{ingredients} \item 4 Tbs dried basil \item 3 Tbs dried oregano \item 1 Tbs dried marjoram \item 1 Tbs dried thyme \item 2 tsp dried rosemary\\(crushed) \end{ingredients} \begin{instructions} \item Mix all ingredients and store in an air-tight jar. \end{instructions} \paragraph{Note:} Because rosemary is a particularly tough herb, especially in its dried form, I find it better in this mix if I crush it in a mortar and pestle before adding it in. \chapter{} \begin{center} %\includegraphics[scale=0.15]{} \end{center} \begin{intro} \end{intro} \begin{ingredients} \item \end{ingredients} \begin{instructions} \item Mix all ingredients and store in an air-tight jar. \end{instructions} \chapter{} \begin{center} %\includegraphics[scale=0.15]{} \end{center} \begin{intro} \end{intro} \begin{ingredients} \item \end{ingredients} \begin{instructions} \item Mix all ingredients and store in an air-tight jar. \end{instructions} \chapter{} \begin{center} %\includegraphics[scale=0.15]{} \end{center} \begin{intro} \end{intro} \begin{ingredients} \item \end{ingredients} \begin{instructions} \item Mix all ingredients and store in an air-tight jar. \end{instructions} \chapter{} \begin{center} %\includegraphics[scale=0.15]{} \end{center} \begin{intro} \end{intro} \begin{ingredients} \item \end{ingredients} \begin{instructions} \item Mix all ingredients and store in an air-tight jar. \end{instructions} \end{document}