cheese: Add a macro with the standard "Gel Development" section

These rows are duplicated across all of my cheeses, with only a few
differences.  Let's just pass the differences as arguments so we can
control formatting from a single place.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2016-02-11 08:18:24 -05:00
parent 6b5af57d08
commit 5277f43cb4
3 changed files with 13 additions and 5 deletions

View File

@ -23,11 +23,7 @@
& Ripening & 45 minutes & & \ftemp{86} & & & \_
& Cheese Color & 4 drops & & \gray & & & (Optional) \dilutemilk. \\
\newsection{Gel Devel}{4}
& Rennet & \half teaspoon & & \gray & & & Diluted in \quarter cup distilled water. Stir 1 minute. \\ \chline
& Setting & 45 minutes & & \gray & & & \\ \chline
& Onset of Flocculation & 3 - 3.5 & & \gray & \gray & & \\ \chline
& Clean Break & \gray & & \gray & \gray & & \\
\StandardCheeseGelDevelSection{\half teaspoon}{45 minutes}{3 - 3.5}
\newsection{Curd Processing}{6}
& Cutting & \quarter inch cubes & & \gray & & & \\ \chline

View File

@ -86,3 +86,13 @@
& Begin Heating & & & \gray & \gray & & \_
& Remove from Heat & \gray & & & & & \\
}
% Standard gel development section used by most cheeses
\newcommand{\StandardCheeseGelDevelSection}[3]
{
\newsection{Gel Devel}{4}
& Rennet & #1 & & \gray & & & \diluted. Stir 1 minute. \_
& Setting & #2 & & \gray & & & \_
& Onset of Flocculation & #3 & & \gray & \gray & & \_
& Clean Break & \gray & & \gray & \gray & & \\
}

View File

@ -14,5 +14,7 @@
& MM100 & \quarter teaspoon & & \ftemp{83} & & & \_
& Ripening & 45 minutes & & \ftemp{88} & & & \_
\StandardCheeseGelDevelSection{\half teaspoon}{45 minutes}{3.5}
\end{cheese}
\end{document}