%%
%%  CUCC Expo Sesh Book
%%

\documentclass[a5paper,10pt]{bb}

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

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

%\setlength{\unitlength}{9.5pt}

\usepackage{color}
\definecolor{hrulecol}{gray}{0.5}
\definecolor{textcol}{gray}{0}

\usepackage{colortbl}
\arrayrulecolor{hrulecol}

\newcommand{\seshattendees}{%
    \renewcommand{\arraystretch}{1.5}
    \begin{tabularx}{\textwidth}{X|l|l}
        {\bf Attendee}&{\bf Amount owed}&{\bf Amount paid}\\\hline\hline
        &&\\\hline&&\\\hline&&\\\hline&&\\\hline&&\\\hline&&\\\hline&&\\\hline
        &&\\\hline&&\\\hline&&\\\hline&&\\\hline&&\\\hline&&\\\hline&&\\\hline
        &&\\\hline&&\\\hline&&\\\hline&&\\\hline&&\\\hline&&\\\hline&&\\\hline
        &&\\\hline\hline\raggedleft{\bf Totals}&&
    \end{tabularx}}
    \color{textcol}
    
\newcommand{\seshdetails}{%

Please record details of who consumed what, and costs, below.

\color{hrulecol}
\vspace{7.8ex} \hrule \vspace{6ex} \hrule \vspace{6ex} \hrule \vspace{6ex} \hrule
\vspace{6ex} \hrule \vspace{6ex} \hrule \vspace{6ex} \hrule \vspace{6ex} \hrule
\vspace{6ex} \hrule \vspace{6ex} \hrule \vspace{6ex} \hrule \vspace{6ex} \hrule
\vspace{6ex} \hrule \vspace{6ex} \hrule \vspace{6ex} \hrule \vspace{6ex} \hrule
\vspace{6ex} \hrule \vspace{6ex} \hrule
\color{textcol}
}
%    \begin{tabularx}{\textwidth}{p{2.5cm}|X|l}
%    {\bf Who}&{\bf What}&{\bf Cost}\\\hline
%    &&\\&&\\&&\\&&\\&&\\&&\\&&\\&&\\&&\\
%    &&\\&&\\&&\\&&\\&&\\&&\\&&\\&&\\&&\\
%    &&\\&&\\&&\\&&\\&&\\&&\\&&\\&&\\&&
%    \end{tabularx}}

\newcommand{\sesh}[1]{\chapter{Sesh #1 ~ --- ~ ~.~.~/~.~.~.~/2014}
    \seshattendees\newpage\seshdetails}

\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 Sesh Book}\\
\vspace{4cm}
\vfill
\end{center}

\newpage

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

\ \vspace{6 cm}\\
The Sesh Book is intended to be taken to every sesh at the Gasthof, so the Bier Book can
remain in the Potato Hut. 

For each sesh, the table recording attendees, amount owed and amount paid is the primary reference
for the treasurer and should be completed accurately. The totals give a quick check that everything
has been accounted for.

The space on the opposite page can be used for recording the details of what each person had, and
for tallies etc. Any other details that might make it easier for the treasurer to decipher the receipt
should also be noted.

\sesh{1}
\sesh{2}
\sesh{3}
\sesh{4}
\sesh{5}
\sesh{6}
\sesh{7}
\sesh{8}
\sesh{9}
\sesh{10}
\sesh{11}
\sesh{12}
\sesh{13}
\sesh{14}
\sesh{15}
\sesh{16}
\sesh{17}
\sesh{18}
\sesh{19}
\sesh{20}

\chapter{Sesh Quotes}

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