bier and sesh books for 2023

This commit is contained in:
Mark Shinwell
2023-06-03 12:17:26 +01:00
parent c49be565e1
commit 008a818092
5 changed files with 183 additions and 111 deletions

View File

@@ -6,16 +6,17 @@
\newcommand{\expotitle}{
% makes the title page
\thispagestyle{empty}
\centering
\
\vspace{3cm}\\
\begin{center}
{\Large Cambridge University Caving Club}
\vspace{3cm}\\
\vskip80pt
{\Huge \bf Expo \the\year}
\vspace{3cm}\\
{\fontsize{100}{120}\selectfont Bier Book}
\vspace{6 cm}\\
\vskip40pt
{\fontsize{100}{120}\selectfont\sc Bier}
\vskip24pt
{\fontsize{100}{120}\selectfont\sc Book}
\vskip190pt
{[}Stick obligatory G{\"o}sser label here{]}
\end{center}
\vfill
\clearpage
}
@@ -23,7 +24,7 @@
\newcommand{\expoheading}[1]{
% provides the formatting for a title of a section
\vspace{10pt}
{\LARGE #1}
{\LARGE\bf #1}
\vspace{20pt}
}
@@ -102,7 +103,7 @@
% boxes are a tikz grid
\begin{tikzpicture}
\pgfmathsetmacro{\wvar}{0.4}
\node at (0,0.6*\wvar) [anchor=east] {#1};
\node at (0,0.6*\wvar) [anchor=east] {\textbf{#1}};
\node at (0,0) {};
\node at (0,2*\wvar) {};
\end{tikzpicture}
@@ -143,7 +144,40 @@
/ = G{\"o}sser, X = Limo, R = Radler, W = Weissbier, D = Dunkelbier, L = Loserbier
}
\newcommand{\nightstally}[5]{
\newcommand{\nightstallyoneweek}[2]{
\addcontentsline{toc}{section}{#1}
\openin\namesread=names.txt
\setcounter{linecount}{0}
\begin{minipage}[l]{\textwidth}
{\LARGE\bf #1}\\
\vskip12pt
\textbf{This is for people arriving prior to Sunday 2nd July.}
\vskip12pt
\textbf{Where you spent the night:}
/ = basecamp, - = away from Expo.
\vskip12pt
\end{minipage}
\begin{longtable}{rc}
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & #2 \\
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & \weekdays \\
\endfirsthead
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & #2 \\
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & \weekdays \\
\endhead
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & \weekdays \\
\endfoot
\whiledo{\value{linecount}<\value{maxlines}}{
\stepcounter{linecount}
\read\namesread to \currentname
\nightstallyoneweekline{\currentname}
}
\end{longtable}
\clearpage
}
\newcommand{\nightstally}[4]{
% arguments are the title, subheading information, and dates for the three weeks
% longtable, generated from the list of names
% uses nightstallyline for each line
@@ -151,13 +185,18 @@
\addcontentsline{toc}{section}{#1}
\openin\namesread=names.txt
\setcounter{linecount}{0}
{\LARGE\bf #1}\\
\vskip12pt
\textbf{Top line} for where you spent the night:
/ = basecamp, S = stonebridge bivvy, B = bivvying elsewhere, - = away from Expo.
\vskip12pt
\textbf{Bottom line} for time spent underground.\\\vspace*{12pt}
\begin{longtable}{rccc}
\multicolumn{4}{l}{\expoheading{#1}} \\
\multicolumn{4}{p{14cm}}{#2} \\
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & #3 & #4 & #5 \\
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & #2 & #3 & #4 \\
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & \weekdays & \weekdays & \weekdays \\
\endfirsthead
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & #3 & #4 & #5 \\
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & #2 & #3 & #4 \\
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & \weekdays & \weekdays & \weekdays \\
\endhead
\tikz{\node at (0,0.5) {}; \node at (0,0) {};} & \weekdays & \weekdays & \weekdays \\
@@ -173,12 +212,35 @@
\clearpage
}
\newcommand{\nightstallyoneweekline}[1]{
% argument is the name on the line
% boxes are a tikz grid
\begin{tikzpicture}
\pgfmathsetmacro{\wvar}{0.4}
\node at (0,0.6*\wvar) [anchor=east] {\textbf{#1}};
\node at (0,0) {};
\node at (0,\wvar) {};
\end{tikzpicture}
\and
\begin{tikzpicture}
\pgfmathsetmacro{\wvar}{0.4}
\foreach \xvar in {0,1}
{
\foreach \yvar in {0,1,2,3,4,5,6}
{
\draw (\yvar*\wvar,\xvar*\wvar) -- ++ (0,\wvar) -- ++ (\wvar,0) -- ++ (0,-\wvar) -- cycle;
}
}
\end{tikzpicture}
\\
}
\newcommand{\nightstallyline}[1]{
% argument is the name on the line
% boxes are a tikz grid
\begin{tikzpicture}
\pgfmathsetmacro{\wvar}{0.4}
\node at (0,0.6*\wvar) [anchor=east] {#1};
\node at (0,0.6*\wvar) [anchor=east] {\textbf{#1}};
\node at (0,0) {};
\node at (0,\wvar) {};
\end{tikzpicture}
@@ -221,19 +283,13 @@
\newcommand{\weekdays}{
\begin{tikzpicture}
\pgfmathsetmacro{\wvar}{0.4}
\foreach \yvar/\zvar in {0/S,1/M,2/T,3/W,4/T,5/F,6/S}
\foreach \yvar/\zvar in {0/S{\tiny u},1/M,2/T,3/W,4/T,5/F,6/S}
{
\node at (\yvar*\wvar,0) [anchor=center] {\zvar};
}
\end{tikzpicture}
}
\newcommand{\nightssubtitle}{
Top line for where you spend the night:
/ = basecamp, S = stonebridge bivvy, B = bivvying elsewhere, - = not there.
Bottom line for time spent underground.
}
\newcommand{\expotransport}{
% longtable to spread over multiple pages
% method / departed / arrived / notes
@@ -272,13 +328,16 @@
% longtable to spread over multiple pages
% date / owed by / description
\addcontentsline{toc}{section}{#1}
\begin{longtable}{p{2cm}|p{2cm}|p{2cm}|p{8cm}}
\multicolumn{4}{l}{\expoheading{Money owed to #1}} \\
\multicolumn{4}{p{\textwidth}}{Please include each transaction only once, either as positive credit or a negative debit. \vspace{1cm}} \\
Date & Who & Amount & Notes \\
{\LARGE\bf Money owed to #1}\vspace*{12pt}
\begin{longtable}{p{2cm}|p{4cm}|p{3cm}|p{6cm}}
\multicolumn{4}{p{\textwidth}}{Write a \textbf{positive} sign if #1~\hspace*{-3pt}\textbf{spent money}} \\
\multicolumn{4}{p{\textwidth}}{Write a \textbf{negative} sign if #1~\hspace*{-3pt}\textbf{owes money}} \\
\multicolumn{4}{p{\textwidth}}{Only write on \textbf{one person's page} for a transaction. \textbf{Give currency if not Euros.}} \\
\multicolumn{4}{p{\textwidth}}{}\\
\textbf{Date} & \textbf{Who} & \textbf{Amount} & \textbf{Item} \\
\midrule
\endfirsthead
Date & Who & Amount & Notes \\
\textbf{Date} & \textbf{Who} & \textbf{Amount} & \textbf{Item} \\
\midrule
\endhead
\vspace{18.8cm} & & & \\
@@ -290,13 +349,13 @@
\newcommand{\moneyowedgasthof}{
% longtable to spread over multiple pages
% date / owed by / description
\addcontentsline{toc}{chapter}{Money owed to Karin (the Gasthof)}
\begin{longtable}{p{2cm}|p{2cm}|p{2cm}|p{8cm}}
\multicolumn{4}{l}{\expoheading{Money owed to Karin Wilpernig (the Gasthof)}} \\
Date & Who & Amount & Notes \\
\addcontentsline{toc}{chapter}{Money owed to Gasthof Staud'nwirt}
\begin{longtable}{p{2cm}|p{4cm}|p{3cm}|p{6cm}}
\multicolumn{4}{l}{\expoheading{Money owed to Gasthof Staud'nwirt}} \\
\textbf{Date} & \textbf{Who} & \textbf{Amount} & \textbf{Item} \\
\midrule
\endfirsthead
Date & Who & Amount & Notes \\
\textbf{Date} & \textbf{Who} & \textbf{Amount} & \textbf{Item} \\
\midrule
\endhead
\vspace{20.3cm} & & & \\
@@ -331,6 +390,7 @@
\newread\datesread
\openin\datesread=dates.txt
\read\datesread to \zeroweek
\read\datesread to \firstweek
\read\datesread to \secondweek
\read\datesread to \thirdweek
@@ -342,29 +402,25 @@
\printtoc
\addcontentsline{toc}{chapter}{Drinks}
\tallyeveryone{Drinks 1-50}{\drinksssubtitle}{0}
\tallyspares{Spare Drinks 51-100}{\drinksssubtitle}{50}{15}
\tallyeveryone{Drinks 1--50}{\drinksssubtitle}{0}
\tallyspares{More drinks 51--100}{\drinksssubtitle}{50}{15}
\addcontentsline{toc}{chapter}{Nights}
\nightstally{Nights and Time Underground, Weeks 1-3}{\nightssubtitle}{\firstweek}{\secondweek}{\thirdweek}
\nightstally{Nights and Time Underground, Weeks 4-6}{\nightssubtitle}{\fourthweek}{\fifthweek}{\sixthweek}
\cleardoublepage
this page intentionally left blank
\clearpage
\nightstallyoneweek{Nights, week zero}{\zeroweek}
\nightstally{Nights and time underground, weeks 1-3}{\firstweek}{\secondweek}{\thirdweek}
\nightstally{Nights and time underground, weeks 4-6}{\fourthweek}{\fifthweek}{\sixthweek}
\moneyowed
\moneyowedgasthof
\expotransport
\blankpage{Squashed Flies}
\blankpage{Toll road info}
\blankpage{Gear left up the hill}
\blankpage{Gear taken back to Cambridge}
\blankpage{Top camp food bought}
\blankpage{First Aid}
\blankpage{In Austria Jollies}
\blankpage{In-Austria jollies}
\blankpage{Suggestions for next year}
\blankpage{Quotes}