Convert Quick Coleslaw recipe to TeX

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2016-06-28 09:00:58 -04:00
parent ab01acdc48
commit 71d0779b7d
4 changed files with 44 additions and 1 deletions

View File

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

7
sides/0_title.tex Normal file
View File

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

11
sides/Makefile Normal file
View File

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

25
sides/quick_coleslaw.tex Normal file
View File

@ -0,0 +1,25 @@
%
% Copyright 2016 (c) Anna Schumaker.
%
\documentclass{../recipe}
\recipeName{Quick Coleslaw}
\recipeServes{4}
\recipeSourceBook{Cooking Light: The Essential Dinner Tonight Cookbook}{301}
\begin{document}
\begin{ingredientsSmall}
\addIngredient{4 tablespoons}{white vinegar}
\addIngredient{6 tablespoons}{mayonnaise}
\addIngredient{1 teaspoon}{black pepper}
\addIngredient{\quarter teaspoon}{ground red pepper}
\addIngredient{1 (10 --ounce)}{package angel hair slaw}
\end{ingredientsSmall}
\begin{steps}
\addStep{Combine \ingredient{vinegar}, \ingredient{mayonnaise},
\ingredient{black pepper}, and \ingredient{red pepper}
in a large bowl. Stir with a whisk.}
\addStep{Add \ingredient{slaw}, toss well to coat.}
\end{steps}
\end{document}