Convert Peanut Butter Cookies recipe to TeX

And place it under the Snacks section.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2016-06-28 08:25:05 -04:00
parent 2e1332ba82
commit ab01acdc48
4 changed files with 57 additions and 1 deletions

View File

@ -1,5 +1,5 @@
dirs := breakfast grains animals plants sauces drinks
dirs := breakfast grains animals plants snacks sauces drinks
pdfs := $(foreach dir, $(dirs), $(dir)/$(dir).pdf)
all:

7
snacks/0_title.tex Normal file
View File

@ -0,0 +1,7 @@
%
% Copyright 2016 (c) Anna Schumaker.
%
\documentclass{../titlepage}
\begin{document}
\setTitle{Snacks}
\end{document}

11
snacks/Makefile Normal file
View File

@ -0,0 +1,11 @@
SOURCES = $(sort $(wildcard *.tex))
OBJECTS = $(patsubst %.tex, %.pdf, $(SOURCES))
all:
latexmk -pdf $(SOURCES)
pdfjoin -o snacks.pdf $(OBJECTS)
clean:
latexmk -C
rm snacks.pdf

View File

@ -0,0 +1,38 @@
%
% Copyright 2016 (c) Anna Schumaker.
%
\documentclass{../recipe}
\recipeName{Peanut Butter Cookies}
\recipeMakes{4 dozen}{cookies}
\recipeSourceWeb{Classic Peanut Butter Cookies}{AllRecipes.com}
\begin{document}
\begin{ingredients}
\addIngredient{1 cup}{unsalted butter}
\addIngredient{1\half cups}{peanut butter}
\addIngredient{1 teaspoon}{vanilla}
\addIngredient{1 cup}{white sugar}
\addIngredient{1 cup}{packed brown sugar}
\addIngredient{2}{eggs}
\addIngredient{3 cups}{all-purpose flour}
\addIngredient{1 teaspoon}{baking powder}
\addIngredient{1\half teaspoons}{baking soda}
\addIngredient{\half teaspoon}{salt}
\end{ingredients}
\begin{steps}
\addStep{Cream \ingredient{butter}, \ingredient{peanut butter},
\ingredient{vanilla}, and \ingredient{sugars} together in
a \textbf{large bowl}. Beat in \ingredient{eggs}.}
\addStep{Sift \ingredient{flour}, \ingredient{baking powder},
\ingredient{baking soda}, and \ingredient{salt} together
in a medium bowl.}
\addStep{Add \ingredient{flour mixture} to \ingredient{butter mixture},
mixing until smooth. Refrigerate \textbf{1 hour}.}
\addStep{Preheat oven to \textbf{\ftemp{375}}.}
\addStep{Roll \ingredient{dough} into \textbf{1 inch} balls.
Place on baking sheets and flatten with a fork,
making a crisscross pattern. Bake \textbf{10 minutes}, or until brown.}
\end{steps}
\end{document}