Convert BBQ Chicken Pizza recipe to TeX
And put it in a new "Animals" section Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
bd17634e29
commit
ceacb76e98
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
|
||||
dirs := breakfast grains
|
||||
dirs := breakfast grains animals
|
||||
pdfs := $(foreach dir, $(dirs), $(dir)/$(dir).pdf)
|
||||
|
||||
all:
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
%
|
||||
% Copyright 2016 (c) Anna Schumaker.
|
||||
%
|
||||
\documentclass{../titlepage}
|
||||
\begin{document}
|
||||
\setTitle{Animals}
|
||||
\end{document}
|
|
@ -0,0 +1,11 @@
|
|||
|
||||
SOURCES = $(sort $(wildcard *.tex))
|
||||
OBJECTS = $(patsubst %.tex, %.pdf, $(SOURCES))
|
||||
|
||||
all:
|
||||
latexmk -pdf $(SOURCES)
|
||||
pdfjoin -o animals.pdf $(OBJECTS)
|
||||
|
||||
clean:
|
||||
latexmk -C
|
||||
rm animals.pdf
|
|
@ -0,0 +1,36 @@
|
|||
%
|
||||
% Copyright 2016 (c) Anna Schumaker.
|
||||
%
|
||||
\documentclass{../recipe}
|
||||
|
||||
\recipeName{BBQ Chicken Pizza}
|
||||
\recipeServes{6}
|
||||
\recipeServingSize{1 wedge}
|
||||
\recipeSourceBook{Cooking Light: The Essential Dinner Tonight Cookbook}{301}
|
||||
|
||||
\begin{document}
|
||||
\begin{ingredients}
|
||||
\addIngredient{1 (10 ounce)}{pizza crust}
|
||||
\addIngredient{\threequarters cup}{tomato chutney}
|
||||
\addIngredient{2 cups (2 breasts)}{chicken, cooked and chopped}
|
||||
\addIngredient{\twothirds cup}{plum tomatoes, chopped}
|
||||
\addIngredient{3 ounces}{sharp cheddar cheese, shredded}
|
||||
\addIngredient{\third cup}{green onions, chopped}
|
||||
\addIngredient{4 -- 5 leaves}{arugula, chopped}
|
||||
\end{ingredients}
|
||||
|
||||
\begin{steps}
|
||||
\addStep{Preheat oven to \textbf{\ftemp{450}}.}
|
||||
\addStep{Place \ingredient{crust} on a baking sheet and bake for
|
||||
\textbf{3 minutes}. Remove from oven.}
|
||||
\addStep{Spread \ingredient{chutney} over \ingredient{crust}, leaving
|
||||
\textbf{\half inch} border.}
|
||||
\addStep{Top chutney with \ingredient{chicken}, \ingredient{tomato},
|
||||
\ingredient{cheese}, and \ingredient{onions}. Bake for
|
||||
\textbf{9 minutes}, or until cheese melts.}
|
||||
\addStep{Cut pizza into \textbf{6 wedges}.}
|
||||
\end{steps}
|
||||
|
||||
\addSuggestion{Sauce}{Quick Tomato Chutney.}
|
||||
\addReheating{Microwave on \textbf{high} for \textbf{1 -- 2 minutes}.}
|
||||
\end{document}
|
12
recipe.cls
12
recipe.cls
|
@ -23,6 +23,7 @@
|
|||
|
||||
% Preformatted fractions
|
||||
\newcommand{\fraction}[2] {\(\mathbf{\frac{#1}{#2}}\)\ }
|
||||
\newcommand{\third} {\fraction{1}{3}}
|
||||
\newcommand{\half} {\fraction{1}{2}}
|
||||
\newcommand{\twothirds} {\fraction{2}{3}}
|
||||
\newcommand{\quarter} {\fraction{1}{4}}
|
||||
|
@ -82,11 +83,14 @@
|
|||
\newcommand{\ingredient}[1] {\underline{\smash{#1}}}
|
||||
|
||||
|
||||
% Add a command for reheating instructions
|
||||
\newcommand{\addReheating}[1]
|
||||
% Add a command for other recipe notes
|
||||
\newcommand{\addNote}[2]
|
||||
{
|
||||
\section{Reheating}
|
||||
\section{#1}
|
||||
\begin{itemize}
|
||||
\item[]\large{#1}
|
||||
\item[]\large{#2}
|
||||
\end{itemize}
|
||||
}
|
||||
|
||||
\newcommand{\addReheating}[1] {\addNote{Reheating}{#1}}
|
||||
\newcommand{\addSuggestion}[2] {\addNote{Suggested #1}{#2}}
|
||||
|
|
Loading…
Reference in New Issue