Convert Pancakes recipe to TeX
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
fc8762a020
commit
2049bc97ea
|
@ -0,0 +1,41 @@
|
|||
%
|
||||
% Copyright 2016 (c) Anna Schumaker.
|
||||
%
|
||||
\documentclass{recipe}
|
||||
|
||||
\recipeName{Pancakes}
|
||||
\recipeServes{4}
|
||||
\recipeServingSize{3 pancakes}
|
||||
\recipeSourceWeb{Fluffy Pancakes}{AllRecipes.com}
|
||||
|
||||
\begin{document}
|
||||
\begin{ingredients}
|
||||
\addIngredient{\threequarters cup}{milk}
|
||||
\addIngredient{2 tablespoons}{white vinegar}
|
||||
\addIngredient{1 cup}{all-purpose flour}
|
||||
\addIngredient{2 tablespoons}{white sugar}
|
||||
\addIngredient{1 teaspoon}{baking powder}
|
||||
\addIngredient{\half teaspoon}{baking soda}
|
||||
\addIngredient{\half teaspoon}{salt}
|
||||
\addIngredient{1}{egg}
|
||||
\addIngredient{2 tablespoons}{butter, melted}
|
||||
\addIngredient{\half cup}{applesauce (optional)}
|
||||
\addIngredientName{Cooking Spray}
|
||||
\end{ingredients}
|
||||
|
||||
\begin{steps}
|
||||
\addStep{Combine \ingredient{milk} and \ingredient{vinegar} in a large bowl
|
||||
and let sit for \textbf{5 minutes}.}
|
||||
\addStep{Combine \ingredient{flour}, \ingredient{sugar},
|
||||
\ingredient{baking powder}, \ingredient{baking soda}, and
|
||||
\ingredient{salt} in a medium mixing bowl.}
|
||||
\addStep{Whisk \ingredient{egg} and \ingredient{butter} into milk. Add
|
||||
\ingredient{flour mixture} and stir until smooth. (Optional) stir in
|
||||
\ingredient{applesauce}.}
|
||||
\addStep{Heat a large, nonstick skillet over \textbf{medium} heat. Coat with
|
||||
\ingredient{cooking spray}.}
|
||||
\addStep{Pour \textbf{\quarter cupfuls} of batter onto the skillet and cook
|
||||
until bubbles appear on the surface. Flip with a spatula and cook
|
||||
until the other side has browned.}
|
||||
\end{steps}
|
||||
\end{document}
|
11
recipe.cls
11
recipe.cls
|
@ -21,10 +21,12 @@
|
|||
\newcommand{\recipeSourceWeb}[2] {\recipeSource{{\em #1}. Source: #2}}
|
||||
|
||||
% Preformatted fractions
|
||||
\newcommand{\half} {\(\mathbf{\frac{1}{2}}\)\ }
|
||||
\newcommand{\twothirds} {\(\mathbf{\frac{2}{3}}\)\ }
|
||||
\newcommand{\quarter} {\(\mathbf{\frac{1}{4}}\)\ }
|
||||
\newcommand{\eighth} {\(\mathbf{\frac{1}{8}}\)\ }
|
||||
\newcommand{\fraction}[2] {\(\mathbf{\frac{#1}{#2}}\)\ }
|
||||
\newcommand{\half} {\fraction{1}{2}}
|
||||
\newcommand{\twothirds} {\fraction{2}{3}}
|
||||
\newcommand{\quarter} {\fraction{1}{4}}
|
||||
\newcommand{\threequarters} {\fraction{3}{4}}
|
||||
\newcommand{\eighth} {\fraction{1}{8}}
|
||||
|
||||
% Format a Fahrenheit temperature
|
||||
\newcommand{\ftemp}[1] {#1\degree F}
|
||||
|
@ -40,6 +42,7 @@
|
|||
{
|
||||
\centering{
|
||||
\Huge{\textbf{\recipe@name}}\LARGE{\recipe@source} \\
|
||||
\vspace{5pt}
|
||||
\LARGE{\em{Serves: \textbf{\recipe@serves}, %
|
||||
serving size: \textbf{\recipe@servingsize}}}
|
||||
} \\
|
||||
|
|
Loading…
Reference in New Issue