%%% brew-sheet.tex
%%%
%%% 1990 Jan 24  Wed 16:19    Chris Shenton  (chris@asylum.GSFC.NASA.GOV)
%%% Moved amount columns to beginning of tables.
%%% Created batch name header.
%%% Added `dry' box to extracts.
%%%
%%% 1990 Jan 25  Thu 16:15    Chris Shenton  (chris@asylum.GSFC.NASA.GOV)
%%% Deleted grain names from Malts, Grains, and Adjuncts -- too much space.
%%% Added Acid rest to Procedure.
%%%
%%% 1990 Feb 28  Wed 15:23    Chris Shenton  (chris@asylum.GSFC.NASA.GOV)
%%% Tweaked number of lines in some of the entry sections.
%%% Instead of including `macros', define the commands here; this way,
%%% remote users can use the file.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentstyle[twocolumn,twoside]{article}

\pagestyle{myheadings}


%%%
%%% Commands
%%%

\newcommand{\degree}{$^{\circ}$}
\newcommand{\degrees}[2]{#1\degree #2}
\newcommand{\setnewlength}[2]{\newlength{#1}\setlength{#1}{#2}}


%%%
%%% Page size and style
%%%

\setlength{\footheight}{0in}
\setlength{\oddsidemargin}{-0.25in} % ?? also evensidemargin ??
\setlength{\textwidth}{7.5in}
\setlength{\textheight}{10.0in}
\setlength{\topmargin}{-0.5in}

\setlength{\parindent}{0in}

\markright{Batch name:}

\raggedbottom

\renewcommand{\thepage}{}	% Prevent page numbers


%%%
%%% Various widths for lines, blanks, and so on
%%%

\setnewlength{\underblank}{-0.02in}
\setnewlength{\blankwidth}{0.25in}
\setnewlength{\thinline}{0.005in}
\setnewlength{\onecolumnwidth}{0.5\textwidth}
\addtolength{\onecolumnwidth}{-\columnsep}


%%%
%%% Command macros for the various sections and section entries.
%%%

\newcommand{\mysec}[1]{\section*{#1}}

\newcommand{\ledgerline}{\rule{\onecolumnwidth}{\thinline}\\}

\newcommand{\extract}[4]{#1 & #2 & #3 & #4 \\}
\newcommand{\extractentry}{\extract{}{}{$\Box$}{$\Box$} \hline}

\newcommand{\malt}[5]{#1 & #2 & #3 & #4 & #5 \\}
\newcommand{\maltentry}{\malt{}{}{}{}{} \hline} % color (#3) not used

\newcommand{\hop}[6]{#1 & #2 & #3 & #4 & #5 & #6 \\}
\newcommand{\hopentry}{\hop{}{}{}{$\Box$\rule[\underblank]{\blankwidth}{\thinline}}{$\Box$}{$\Box$} \hline}

\newcommand{\yeast}[6]{#1 & #2 & #3 & #4 & #5 & #6 \\}
\newcommand{\yeastentry}{\yeast{}{}{$\Box$}{$\Box$}{$\Box$}{$\Box$} \hline}

\newcommand{\adjunct}[4]{#1 & #2 & #3 & #4 \\}
\newcommand{\adjunctentry}{\adjunct{}{}{}{} \hline}

\newcommand{\procedure}[5]{#1 & #2 & #3 & #4 & #5 \\}
\newcommand{\procedureentry}[5]{\procedure{#1}{#2}{#3}{#4}{#5} \hline}

\newcommand{\record}[3]{#1 & #2 & #3 \\}
\newcommand{\recordentry}{\record{}{}{} \hline}

\newcommand{\blankentry}[1]{#1 \rule[\underblank]{\blankwidth}{\thinline}}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}


\mysec{Extracts and Kits}

\begin{tabular}{|l||l|c|c|}
\hline
\extract{Lb}{\makebox[2.0in][l]{Brand and Name}}{Hopped}{Dry}
\hline
\hline
\extractentry			% 1
\extractentry			% 2
\extractentry			% 3
\extractentry			% 4
\end{tabular}



\mysec{Malts, Grains and Adjuncts}
\begin{tabular}{|l||l|c|l|l|}
\hline
\malt{Lb [oz]}{\makebox[1.25in][l]{Variety}}{\degrees{}{L}}{Brand}{Country}
\hline
\hline
\maltentry			% 1
\maltentry			% 2
\maltentry			% 3
\maltentry			% 4
\maltentry			% 5
\maltentry			% 6
\maltentry			% 7
\maltentry			% 8
\maltentry			% 9
\end{tabular}



\mysec{Hops}

\begin{tabular}{|l||l|l|ccc|}
\hline
\hop{AAU}{\makebox[1in][l]{Variety}}{Form}{Boil}{Steep}{Dry}
\hop{   }{                         }{    }{(min)}{    }{   }
\hline
\hline
\hopentry			% 1
\hopentry			% 2
\hopentry			% 3
\hopentry			% 4
\hopentry			% 5
\hopentry			% 6
\hopentry			% 7
\hopentry			% 8
\hopentry			% 9
\end{tabular}



\mysec{Yeast}

\begin{tabular}{|l||l|cc|cc|}
\hline
\yeast{Amount}{Brand and style}{Ale}{Lager}{Dry}{Liquid}
\hline
\hline
\yeastentry
\yeastentry
\yeastentry
\end{tabular}



\mysec{Additives and Other Ingredients}

\begin{tabular}{|l||l|c|l|}
\hline
\adjunct{Amount}{Ingredient}{Boil}{Procedure Description}
\adjunct{      }{          }{(min)}{                    }
\hline
\adjunct{}{}{---}{Priming}
\hline
\adjunctentry
\adjunctentry
\adjunctentry
\adjunctentry
\adjunctentry
\end{tabular}



\mysec{Procedure}

\begin{tabular}{lll}
Mash water		& \blankentry{Temperature}	& \blankentry{Amount} \\
Mash-in			& \blankentry{Temperature}	& \blankentry{pH} \\
Protein Rest		& \blankentry{Temperature}	& \blankentry{Time} \\
Acid Rest		& \blankentry{Temperature}	& \blankentry{Time} \\
Starch Conversion	& \blankentry{Temperature}	& \blankentry{Time} \\
Mash-out		& \blankentry{Temperature}	& \blankentry{Time} \\
Sparge Water		& \blankentry{Temperature}	& \blankentry{Amount} \\
Boil			& \blankentry{Time} \\
Yeast Pitch		& \blankentry{Temperature}	& \blankentry{pH} \\
\end{tabular}



\mysec{Notes}

\ledgerline			% underfull \hbox (badness 10000)
\ledgerline
\ledgerline
\ledgerline
\ledgerline
\ledgerline
\ledgerline
\ledgerline
\ledgerline
\ledgerline
\ledgerline
\ledgerline
\ledgerline
\ledgerline
\ledgerline
\ledgerline



\mysec{Record}

\begin{tabular}{|l|l|l|}
\hline
\record{Date}{SG}{\makebox[2.7in][l]{Action or Observation}}
\hline
\hline
\record{    }{  }{Original gravity} 
\hline
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\recordentry
\end{tabular}

\end{document}

