%% ----------------------------------------------------------------------------
%%
%%  CUCC Expo Bier Book
%%
%% ----------------------------------------------------------------------------

\documentclass[a5paper,10pt,openany]{bb}

\usepackage{pstricks}
\usepackage{tabularx}
\usepackage{color}
\usepackage{calc}
\usepackage[left=15mm,right=15mm,top=8mm,bottom=20mm]{geometry}
\usepackage{palatino}
\usepackage{grid}
\usepackage{auto-pst-pdf}

\setlength{\parskip}{1.5ex}
\setlength{\parindent}{0pt}

\newcommand{\boxes}[1][35]{%
    \psgrid[gridlabels=0pt,gridlabelcolor=white,subgriddiv=1,xunit=12pt,yunit=14pt](0,0)(0,0)(#1,1)}

\setlength{\unitlength}{9.5pt}
\newlength\boxheight
\setlength{\boxheight}{\textheight-4cm}

\newcommand{\tallyA}{%
\medskip
\parbox[c][\boxheight]{1.5cm}{
\small
\setlength{\bigskipamount}{8.25pt}
Adam\bigskip\\
Aled\bigskip\\
Andrea\bigskip\\
Andrew\bigskip\\
Becka\bigskip\\
Chris\bigskip\\
David M\bigskip\\
David W\bigskip\\
Dour\bigskip\\
Elaine\bigskip\\
Fleur\bigskip\\
Gina\bigskip\\
Holly\bigskip\\
Jess\bigskip\\
Joe\bigskip\\
Julia\bigskip\\
Julian\bigskip\\
Juliet
}
\parbox[c][\boxheight]{\textwidth-5cm}{\graphpaper[1](0,0)(25,36)}
}

\newcommand{\tallyB}{%
\medskip
\parbox[c][\boxheight]{1.5cm}{
\small
\setlength{\bigskipamount}{8.25pt}
Katey\bigskip\\
Martin\bigskip\\
Matt\bigskip\\
Michael\bigskip\\
Mike\bigskip\\
Nathanael\bigskip\\
Neil\bigskip\\
Noel\bigskip\\
Pete\bigskip\\
Rob A\bigskip\\
Rob W\bigskip\\
Sam\bigskip\\
Sophie D\bigskip\\
Sophie H\bigskip\\
Wookey \bigskip\\
\ldots\ldots\ldots\bigskip\\
\ldots\ldots\ldots\bigskip\\
\ldots\ldots\ldots
}
\parbox[c][\boxheight]{\textwidth-5cm}{\graphpaper[1](0,0)(25,36)}
}

\newcommand{\datetallyfirst}{%
\renewcommand{\arraystretch}{1.25}
\begin{tabularx}{\textwidth}{lp{2.5cm}lp{2.5cm}lp{2.5cm}}
& {\bf 19-25 Jul} && {\bf 26 Jul - 1 Aug} && {\bf 2-8 Aug}\smallskip\\
{\bf Adam} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Aled} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Andrea} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Andrew} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Becka} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Chris} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf David M} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf David W} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Dour} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Elaine} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Fleur} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Gina} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Holly} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Jess} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Joe} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Julia} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Julian} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Juliet} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\



\end{tabularx}
\newpage
\begin{tabularx}{\textwidth}{lp{2.5cm}lp{2.5cm}lp{2.5cm}}
& {\bf 19-25 Jul} && {\bf 26 Jul - 1 Aug} && {\bf 2-8 Aug}\smallskip\\
{\bf Katey} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Martin} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Matt} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Michael} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Mike} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Nathanael} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Neil} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Noel} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Pete} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Rob A} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Rob W} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Sam} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Sophie D} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Sophie H} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf Wookey } & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf \ldots\ldots\ldots} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf \ldots\ldots\ldots} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
{\bf \ldots\ldots\ldots} & \boxes[7] && \boxes[7] && \boxes[7]\medskip\\
\end{tabularx}
\renewcommand{\arraystretch}{1}
}



\newcommand{\datetallysecond}{%
\renewcommand{\arraystretch}{1.25}
\begin{tabularx}{\textwidth}{lp{2.5cm}lp{2.5cm}lp{2.5cm}}
& {\bf 9-15 Aug} && {\bf 16-22 Aug} && {\bf 23-24 Aug} \smallskip\\
{\bf Adam} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Aled} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Andrea} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Andrew} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Becka} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Chris} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf David M} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf David W} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Dour} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Elaine} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Fleur} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Gina} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Holly} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Jess} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Joe} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Julia} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Julian} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Juliet} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
\end{tabularx}
\newpage
\begin{tabularx}{\textwidth}{lp{2.5cm}lp{2.5cm}lp{2.5cm}}
& {\bf 9-15 Aug} && {\bf 16-22 Aug} && {\bf 23-24 Aug}\smallskip\\
{\bf Katey} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Martin} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Matt} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Michael} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Mike} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Nathanael} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Neil} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Noel} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Pete} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Rob A} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Rob W} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Sam} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Sophie D} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Sophie H} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf Wookey } & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf \ldots\ldots\ldots} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf \ldots\ldots\ldots} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
{\bf \ldots\ldots\ldots} & \boxes[7] && \boxes[7] && \boxes[2]\medskip\\
\end{tabularx}
\renewcommand{\arraystretch}{1}
}

\newcommand{\transporttable}{%
    \begin{tabularx}{\textwidth}{l|l|l|X}
    {\bf Method}&{\bf Left UK}&{\bf Arrived}
    &{\bf Notes}\\\hline
	\rule{0pt}{13cm} &&&
    \end{tabularx}}
	
\newcommand{\transporttablelong}{%
    \begin{tabularx}{\textwidth}{l|l|l|X}
    {\bf Method}&{\bf Left UK}&{\bf Arrived}
    &{\bf Notes}\\\hline
	\rule{0pt}{16cm} &&&
    \end{tabularx}}

\newcommand{\karintable}{%
    \begin{tabularx}{\textwidth}{l|X|X}
    {\bf Creditor}&{\bf Date}&{\bf Amount}
    \\\hline
	\rule{0pt}{13cm} &&
    \end{tabularx}}

\newcommand{\seshtable}{%
    \begin{tabularx}{\textwidth}{l|l|X|l}
    {\bf Debtor(s)}&{\bf Creditor}&{\bf Description}&{\bf Cost}
    \\\hline
    \rule{0pt}{13cm} &&&
    \end{tabularx}}

\newcommand{\seshtabletwo}{%
    \begin{tabularx}{\textwidth}{l|l|X|l}
    {\bf Debtor(s)}&{\bf Creditor}&{\bf Description}&{\bf Cost}
    \\\hline
    \rule{0pt}{16cm} &&&
    \end{tabularx}}

\newcommand{\inaustriatranstable}{%
    \begin{tabularx}{\textwidth}{l|l|X|l}
    {\bf Driver}&{\bf Passengers}&{\bf Description}&{\bf Approx Dist}
    \\\hline
    \rule{0pt}{13cm} &&&
    \end{tabularx}}

\newcommand{\inaustriatranstabletwo}{%
    \begin{tabularx}{\textwidth}{l|l|X|l}
    {\bf Driver}&{\bf Passengers}&{\bf Description}&{\bf Approx Dist}
    \\\hline
    \rule{0pt}{16cm} &&&
    \end{tabularx}}


\newcommand{\moneytable}{%
    \begin{tabularx}{\textwidth}{l|l|X|l}
    {\bf Date}&{\bf Owed by}&{\bf Description}
    &{\bf Amount}\\\hline
    &&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\
    &&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\
    &&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\
    &&&\\&&&
    \end{tabularx}}

\newcommand{\moneytabletwo}{%
    \begin{tabularx}{\textwidth}{l|l|X|l}
    {\bf Date}&{\bf Owed by}&{\bf Description}
    &{\bf Amount}\\\hline
    &&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\
    &&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\
    &&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\
    &&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&\\&&&
    \end{tabularx}}

\newcommand{\money}[1]{\chapter{Money to be paid to #1} {\small Please enter
each transaction only once in this book; either a positive credit to one
account, or a negative debit to another. Record the currency for each
entry.}\bigskip\\
    \moneytable\newpage\moneytabletwo}

\begin{document}

\newfont{\gothic}{ygoth scaled \magstep5}
\thispagestyle{empty}
\begin{center}
\ \vspace{3cm}\\
{\Large Cambridge University Caving Club}\bigskip\\
\vspace{5mm}
{\Huge \bf Expo 2014}\\
\vspace{2cm}
{\Huge \sc \gothic Bier Book}\\
\vfill
\end{center}

\newpage

\ \vspace{12cm}\\
Revision 1, 10 July 2014.

\newpage


\tableofcontents

\clearpage
\thispagestyle{empty}
\hfill
\clearpage

\chapter{Bier Tally (1-50)}
\tallyA
\newpage
{\chapterfont Bier Tally (1-50) cont'd}

\tallyB


\chapter{More Bier (51-100)}
\setcounter{gridstart}{50}
\tallyA
\newpage
{\chapterfont More Bier (51-100) cont'd}

\setcounter{gridstart}{50}
\tallyB


\chapter{Even More Bier (101-150)}
\setcounter{gridstart}{100}
\tallyA
\newpage
{\chapterfont Even More Bier (101-150) cont'd}

\setcounter{gridstart}{100}
\tallyB


\chapter{Dunkel Bier (1-50)}
\setcounter{gridstart}{150}
\tallyA
\newpage
{\chapterfont Dunkel Bier (1-50) cont'd}

\setcounter{gridstart}{150}
\tallyB


\chapter{Limo Tally (1-50)}
\setcounter{gridstart}{0}
\tallyA
\newpage
{\chapterfont Limo Tally (1-50) cont'd}

\setcounter{gridstart}{0}
\tallyB


\chapter{More Limo (51-100)}
\setcounter{gridstart}{50}
\tallyA
\newpage
{\chapterfont More Limo (51-100) cont'd}

\setcounter{gridstart}{50}
\tallyB


\chapter{Notable Farts}
\setcounter{gridstart}{0}
\tallyA
\newpage
{\chapterfont Notable Farts cont'd}

\setcounter{gridstart}{0}
\tallyB


\chapter{Number of Showers}
\setcounter{gridstart}{0}
\tallyA
\newpage
{\chapterfont Number of Showers cont'd}

\setcounter{gridstart}{0}
\tallyB


\chapter{Expo Transport}
\transporttable
\newpage\transporttablelong
\newpage\transporttablelong


\chapter{Money paid to Karin}
\karintable


\chapter{Nights Tally (weeks 1 to 3)}
{\small {\bf /} = Base Camp; {\bf S} = stone bridge; {\bf B} = bivvying elsewhere.}

\datetallyfirst


\chapter{Nights Tally (weeks 4 and 5)}
{\small {\bf /} = Base Camp; {\bf S} = stone bridge; {\bf B} = bivvying elsewhere.}

\datetallysecond


\chapter{Time Underground Tally (weeks 1 to 3)}
\datetallyfirst


\chapter{Time Underground Tally (weeks 4 and 5)}
\datetallysecond


\chapter{Expo Weather}

\begin{tabularx}{\textwidth}{|l|X|}
\hline
Sat 19\textsuperscript{th} July & \\&\\\hline
Sun 20\textsuperscript{th} July & \\&\\\hline
Mon 21\textsuperscript{th} July & \\&\\\hline
Tue 22\textsuperscript{th} July & \\&\\\hline
Wed 23\textsuperscript{th} July & \\&\\\hline
Thu 24\textsuperscript{st} July & \\&\\\hline
Fri 25\textsuperscript{nd} July & \\&\\\hline\hline
Sat 26\textsuperscript{rd} July & \\&\\\hline
Sun 27\textsuperscript{th} July & \\&\\\hline
Mon 28\textsuperscript{th} July & \\&\\\hline
Tue 29\textsuperscript{th} July & \\&\\\hline
Wed 30\textsuperscript{th} July & \\&\\\hline
Thu 31\textsuperscript{th} July & \\&\\\hline
Fri 1\textsuperscript{th} August & \\&\\\hline\hline
Sat 2\textsuperscript{th} August & \\&\\\hline
Sun 3\textsuperscript{th} August & \\&\\\hline
Mon 4\textsuperscript{th} August & \\&\\\hline
\end{tabularx}

\newpage
\begin{tabularx}{\textwidth}{|l|X|}
\hline
Tue 5\textsuperscript{th} August & \\&\\\hline
Wed 6\textsuperscript{th} August & \\&\\\hline
Thu 7\textsuperscript{th} August & \\&\\\hline
Fri 8\textsuperscript{th} August & \\&\\\hline\hline
Sat 9\textsuperscript{th} August & \\&\\\hline
Sun 10\textsuperscript{th} August & \\&\\\hline
Mon 11\textsuperscript{th} August & \\&\\\hline
Tue 12\textsuperscript{th} August & \\&\\\hline
Wed 13\textsuperscript{st} August & \\&\\\hline
Thu 14\textsuperscript{nd} August & \\&\\\hline
Fri 15\textsuperscript{rd} August & \\&\\\hline\hline
Sat 16\textsuperscript{th} August & \\&\\\hline
Sun 17\textsuperscript{th} August & \\&\\\hline
Mon 18\textsuperscript{th} August & \\&\\\hline
Tue 19\textsuperscript{th} August & \\&\\\hline
Wed 20\textsuperscript{th} August & \\&\\\hline
Thu 21\textsuperscript{th} August & \\&\\\hline
Fri 22\textsuperscript{th} August & \\&\\\hline\hline
Sat 23\textsuperscript{st} August & \\&\\\hline
Sun 24\textsuperscript{st} August & \\&\\\hline
\end{tabularx}

\chapter{Toll Road Info}

\chapter{In Austria Jollies}

Please record details of all excursions over 10km.\\

\inaustriatranstable

\inaustriatranstabletwo

\inaustriatranstabletwo

\clearpage
\thispagestyle{empty}
\hfill
\clearpage

\chapter{Squashed Flies Page}


\money{Adam}
\money{Aled}
\money{Andrea}
\money{Andrew}
\money{Becka}
\money{Chris}
\money{David M}
\money{David W}
\money{Dour}
\money{Elaine}
\money{Fleur}
\money{Gina}
\money{Holly}
\money{Jess}
\money{Joe}
\money{Julia}
\money{Julian}
\money{Juliet}
\money{Katey}
\money{Martin}
\money{Matt}
\money{Michael}
\money{Mike}
\money{Nathanael}
\money{Neil}
\money{Noel}
\money{Pete}
\money{Rob A}
\money{Rob W}
\money{Sam}
\money{Sophie D}
\money{Sophie H}
\money{Wookey }
\money{\ldots\ldots\ldots}
\money{\ldots\ldots\ldots}
\money{\ldots\ldots\ldots}


\chapter{Dinner Choices}
\renewcommand{\arraystretch}{1.5}
\begin{tabularx}{\textwidth}{|l||X|X|X|c|}
   \hline
   {\bf Attendee}&{\bf Starter}&{\bf Main Course}&{\bf Dessert}&{\bf Cost} \\ \hline\hline
    Adam &&&& \\ \hline
	Aled &&&& \\ \hline
	Andrea &&&& \\ \hline
	Andrew &&&& \\ \hline
	Becka &&&& \\ \hline
	Chris &&&& \\ \hline
	David M &&&& \\ \hline
	David W &&&& \\ \hline
	Dour &&&& \\ \hline
	Elaine &&&& \\ \hline
	Fleur &&&& \\ \hline
	Gina &&&& \\ \hline
    Holly &&&& \\ \hline
	Jess &&&& \\ \hline
	Joe &&&& \\ \hline
	Julia &&&& \\ \hline
	Julian &&&& \\ \hline
	Juliet &&&& \\ \hline
\end{tabularx}
\newpage
\vspace{1cm}
\begin{tabularx}{\textwidth}{|l||X|X|X|c|}
   \hline 
   {\bf Attendee}&{\bf Starter}&{\bf Main Course}&{\bf Dessert}&{\bf Cost} \\ \hline\hline
	Katey &&&& \\ \hline
	Martin &&&& \\ \hline
	Matt &&&& \\ \hline
	Michael &&&& \\ \hline
	Mike &&&& \\ \hline
	Nathanael &&&& \\ \hline
	Neil &&&& \\ \hline
	Noel &&&& \\ \hline
	Pete &&&& \\ \hline
	Rob A &&&& \\ \hline
	Rob W &&&& \\ \hline
	Sam &&&& \\ \hline
	Sophie D &&&& \\ \hline
	Sophie H &&&& \\ \hline
	Wookey  &&&& \\ \hline
	&&&& \\ \hline
	&&&& \\ \hline
    &&&& \\ \hline     
\end{tabularx}
\renewcommand{\arraystretch}{1}


\chapter{Gear taken up the hill}
\newpage\

\chapter{Stuff left in Austria}
\newpage\ \newpage\ \newpage\


\chapter{Expo Suggestions}
\newpage\ \newpage\ 

\chapter{Quotes}

\newpage\ \newpage
\newpage\ \newpage
\newpage\ \newpage
\newpage\ \newpage
\newpage\ \newpage
\newpage\ \newpage
\newpage\ \newpage
\newpage\ \newpage
\newpage\ \newpage
\newpage\ \newpage
\newpage\ \newpage
\newpage\ \newpage
\newpage\ \newpage
\end{document}
