Numerous automations added

This commit is contained in:
DWaF 2025-04-09 15:36:17 -04:00
parent 07a14db605
commit 64ccd0ba63

View File

@ -18,7 +18,7 @@
\usepackage{environ} % Create custom environments to make everything easy \usepackage{environ} % Create custom environments to make everything easy
\usepackage{quoting} % Intros to recipes \usepackage{quoting} % Intros to recipes
%\usepackage[]{josefin} % Use 'Josephine' for sans-serif fonts %\usepackage[]{josefin} % Use 'Josephine' for sans-serif fonts
\usepackage[]{lmodern} % Use 'Venturis' for sans-serif fonts; font code is 'yvl' %\usepackage[]{lmodern} % Use 'Venturis' for sans-serif fonts; font code is 'yvl'
%\usepackage[T1]{fontenc} %\usepackage[T1]{fontenc}
\usepackage{xfrac} \usepackage{xfrac}
\usepackage{adforn} % flourishes \usepackage{adforn} % flourishes
@ -31,7 +31,6 @@
\raggedbottom % Don't force text to fill page \raggedbottom % Don't force text to fill page
\graphicspath{{images/}} % Where are our images? \graphicspath{{images/}} % Where are our images?
\raggedright % Don't justify lines \raggedright % Don't justify lines
\renewcommand*\contentsname{List of Recipes}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -60,11 +59,25 @@
\pagestyle{fancy} \pagestyle{fancy}
\fancyhf{} \fancyhf{}
\fancyhead[LE,RO]{\textit{Dude With a Fork}} \fancyhead[LE,RO]{\textit{Dude With a Fork}}
\fancyhead[RE,LO]{Seasoning Mixed \#1} \fancyhead[RE,LO]{Seasoning Mixes \#1}
\cfoot{Page \thepage} \cfoot{Page \thepage}
\renewcommand{\footrulewidth}{0.5pt} \renewcommand{\footrulewidth}{0.5pt}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Table of Contents %%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[]{tocloft}
\cftsetindents{section}{0em}{2em}
\cftsetindents{subsection}{0em}{2em}
\renewcommand\cfttoctitlefont{\itshape\large\mdseries}
\renewcommand\cftaftertoctitle{\hfill\mbox{}}
\renewcommand{\cftsecdotsep}{\cftdotsep}
\renewcommand{\cftsecfont}{\normalfont}
\renewcommand{\cftsecpagefont}{\normalfont}
\setlength{\cftbeforesecskip}{3pt}
\renewcommand*\contentsname{List of Recipes}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Our custom environments %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Our custom environments %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -118,46 +131,25 @@
\begin{enumerate}[itemsep=0mm] \begin{enumerate}[itemsep=0mm]
\BODY \BODY
\end{enumerate} \end{enumerate}
\kflourish
} }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Adjust spacing before chapter titles %%%%%%%%%%%%%%%%% % Our custom commands %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{titlesec} \newcommand{\kflourish}{\begin{center}
\begin{huge}
\adftripleflourishleft
\end{huge}
\end{center}
}
%\titleformat{\chapter}[display] \newcommand{\kimage}[2]{
% {\normalfont\huge\centering} \begin{center}
% {} \includegraphics[scale=#1]{#2}
% {0pt} \end{center}
% {\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}{lmss}{text}{
% slash-symbol-font = lmss,
% numerator-font = lmss,
% denominator-font = lmss,
% scale-factor = 1.1,
% h-scale = 1.1,
% numerator-bot-sep = 2 pt,
% denominator-bot-sep = -1 pt
% }
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -167,7 +159,7 @@
{\Huge Dude With a Fork} \\ {\Huge Dude With a Fork} \\
{\footnotesize Cookbook \#1} {\footnotesize Cookbook \#1}
} }
\date{\begin{small}\today{}\end{small}} \date{\begin{small}Published May, 2025\end{small}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@ -176,6 +168,8 @@
\begin{document} \begin{document}
\maketitle
%\newgeometry{left=3cm,right=3cm} %\newgeometry{left=3cm,right=3cm}
\tableofcontents \tableofcontents
\restoregeometry \restoregeometry
@ -186,11 +180,6 @@
\section{Taco Seasoning} \section{Taco Seasoning}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
Store bought taco seasoning is expensive and has a lot of salt in it. Here's a way to make your own and save money. Store bought taco seasoning is expensive and has a lot of salt in it. Here's a way to make your own and save money.
\end{intro} \end{intro}
@ -211,18 +200,9 @@ Store bought taco seasoning is expensive and has a lot of salt in it. Here's a w
\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. \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} \end{instructions}
\begin{center}
\begin{huge}
\adftripleflourishleft
\end{huge}
\end{center}
\section{Italian Seasoning} \section{Italian Seasoning}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -267,10 +247,6 @@ Store bought taco seasoning is expensive and has a lot of salt in it. Here's a w
\section{Seasoned Salt} \section{Seasoned Salt}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -290,10 +266,6 @@ Store bought taco seasoning is expensive and has a lot of salt in it. Here's a w
\section{Chinese Five Spice Powder} \section{Chinese Five Spice Powder}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -314,10 +286,6 @@ Store bought taco seasoning is expensive and has a lot of salt in it. Here's a w
\section{Curry Seasoning} \section{Curry Seasoning}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -339,10 +307,6 @@ Store bought taco seasoning is expensive and has a lot of salt in it. Here's a w
\section{Pork Chop Seasoning} \section{Pork Chop Seasoning}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -364,10 +328,6 @@ Store bought taco seasoning is expensive and has a lot of salt in it. Here's a w
\section{Steak Seasoning} \section{Steak Seasoning}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -403,10 +363,6 @@ Store bought taco seasoning is expensive and has a lot of salt in it. Here's a w
\section{Seafood Seasoning} \section{Seafood Seasoning}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
This isn't quite the same as Old Bay, but it's pretty close! This isn't quite the same as Old Bay, but it's pretty close!
\end{intro} \end{intro}
@ -434,10 +390,6 @@ This isn't quite the same as Old Bay, but it's pretty close!
\section{Shawarma Spice} \section{Shawarma Spice}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -460,10 +412,6 @@ This isn't quite the same as Old Bay, but it's pretty close!
\section{Pizza Seasoning} \section{Pizza Seasoning}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -486,10 +434,6 @@ This isn't quite the same as Old Bay, but it's pretty close!
\section{Fry Seasoning} \section{Fry Seasoning}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
This also worked great on popcorn! This also worked great on popcorn!
\end{intro} \end{intro}
@ -511,10 +455,6 @@ This also worked great on popcorn!
\section{Salt-Free Chicken Seasoning} \section{Salt-Free Chicken Seasoning}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -534,10 +474,6 @@ This also worked great on popcorn!
\section{Salt-Free Cajun Blend} \section{Salt-Free Cajun Blend}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -558,10 +494,6 @@ This also worked great on popcorn!
\section{Tuscan Blend} \section{Tuscan Blend}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -581,10 +513,6 @@ This also worked great on popcorn!
\section{Mexican Blend} \section{Mexican Blend}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -604,65 +532,9 @@ This also worked great on popcorn!
\end{instructions} \end{instructions}
\section{} \section{Template}
\begin{center} %\kimage{}{}
%\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}
\section{}
\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}
\section{}
\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}
\section{}
\begin{center}
%\includegraphics[scale=0.15]{}
\end{center}
\begin{intro} \begin{intro}
\end{intro} \end{intro}
@ -680,7 +552,8 @@ This also worked great on popcorn!
\begin{itemize} \begin{itemize}
\item Because these are meant to be seasoning mixes that you can make and store in your cupboard, assume all of the herbs used are dried herbs. \item Because these are meant to be seasoning mixes that you can make and store in your cupboard, assume all of the herbs used are dried herbs.
\item If a recipe calls for kosher salt and you do not have it, you can substitute roughly half the amount by volume of table salt. \item If a recipe calls for kosher salt and you do not have it, you can substitute roughly half the amount by volume of table salt. (Likewise, if a recip calls for table salt, and you would prefer to use kosher salt, simply use twice the volume of kosher salt.)
\item Mexican oregano is \textit{very} different than either Italian or Greek oregano. If your regular grocery store does not stock it, try a local Mexican or Latino market, where you may find it to be much less expensive. You can substitute Italian or Greek if you can't find Mexican, but it won't entirely be the same.
\end{itemize} \end{itemize}