Upload files to repo

This commit is contained in:
2021-10-28 22:25:11 +01:00
parent 109dd6b8ae
commit e510932764
4 changed files with 198 additions and 0 deletions

View File

@ -0,0 +1,57 @@
%% Action Tracker
\RequirePackage{mathabx}% Allows the use of checkboxes in all environments of the meetingmins package.
\usepackage{multido}
\newcounter{personcntr}% Keep track of number of persons
\makeatletter
\newcommand{\action}[2][All]{% \action[<name>]{<time>}{<duty>}
{
\noindent $\Box$~~\textbf{Action (#1)}: #2}
\@ifundefined{person@#1}{% If person doesn't exist
\stepcounter{personcntr}% Next person
\expandafter\xdef\csname person@#1\endcsname{1}% One time/duty
\expandafter\xdef\csname person@bynumber@\thepersoncntr\endcsname{#1}% Number person
}{% Person already exists
\expandafter\xdef\csname person@#1\endcsname{%
\number\numexpr\csname person@#1\endcsname+1}% Step number of time/duty
}%
% \expandafter\xdef\csname person@#1@\csname person@#1\endcsname @time\endcsname{#2}% Store time
\expandafter\xdef\csname person@#1@\csname person@#1\endcsname @duty\endcsname{$\Box$~~#2}% Store duty with checkbox
\ignorespaces
}
\gdef\newpar{\par}% \multido doesn't enjoy \par
\newcommand\printactions{% Print actions
\section*{Action Tracker}% Action Tracker Heading
\newcommand{\oldindent}{\itemindent}% Remember old value for indent
\setlength{\baselineskip}{6pt}% Condense vertical spacing
\def\descriptionBODY{}% Empty descriptionBODY
{\let\item\relax% Prevent expansion of \item
\let\newpar\relax% Prevent expansion of \newpar
\multido{\iPerson=1+1}{\value{personcntr}}{% Step through all persons
% Extract person name
\expandafter\xdef\expandafter\thisperson\expandafter{\csname person@bynumber@\iPerson\endcsname}%
\protected@xdef\descriptionBODY{%
\descriptionBODY%
\item[\thisperson] \leavevmode\newpar}% Add person name to descriptionBODY
% Extract person number
\expandafter\xdef\expandafter\thispersonnum\expandafter{\csname person@\thisperson\endcsname}%
\multido{\iDuty=1+1}{\thispersonnum}{%
\protected@xdef\descriptionBODY{%
\descriptionBODY%
\csname person@\thisperson @\iDuty @duty\endcsname% Add person duty to descriptionBODY
\newpar
}%
}%
}%
}%
% Print person time/duty
\begin{description}
\descriptionBODY
\end{description}
}
\makeatother%

59
structure/preamble.tex Normal file
View File

@ -0,0 +1,59 @@
\usepackage{ebgaramond}
\usepackage[british]{babel}
\usepackage{type1cm}
\usepackage{enumitem} % Customized lists
\setlist[itemize]{noitemsep} % Make itemize lists more compact
%% Additional Committee Roles
\newcommand{\president}[1]{\role{#1}{President}}
\newcommand{\treasurer}[1]{\role{#1}{Treasurer}}
\newcommand{\minutes}[1]{\role{#1}{Recording Minutes}}
\setcounter{secnumdepth}{2} % Allows two levels of titles to be enumeratred
\renewcommand{\thesection}{\arabic{section}} % arabic numerals for subsections
\renewcommand\thesubsection{\roman{subsection}} % small roman numerals for subsections
%% Mods for added functionality.
\newcommand{\prevdate}[1]{%
\newcommand{\prevmeet}{held on #1}
}
\newcommand{\mem}[1]{\textbf{#1}} % Style for marking member names in bold.
\renewcommand{\priormins}[3][]{The #1 Minutes of the previous meeting \prevmeet~were approved as an accurate record, proposed by \mem{#2} and seconded by \mem{#3}.} % Adapted prior mins functionality
\newcommand{\approval}{Approval of the Minutes of the previous meeting \prevmeet.}
% \newcommand{\apologies}[1]{\textbf{Apologies}: #1}
\newcommand{\decision}[1]{
\noindent $\bullet$~\textbf{Decision}: #1} % Command for noting decisions taken.
\renewcommand{\nextmeeting}[1]{
\vspace{1em}
\noindent\textbf{Next Meeting}: #1}
% Display document status for draft version
% Date in UK Format
\usepackage[UKenglish]{datetime}
\let\dateUKenglish\relax
\newdateformat{dateUKenglish}{\THEDAY~\monthname[\THEMONTH] \THEYEAR}
\makeatletter
\renewcommand{\head@list}{
\begin{description}
\item[Present:] \show@present
\ifx\@absent\@empty
\relax
\else
\item[Apologies:] \show@absent
\fi %
\ifx\@alsopresent\@empty
\relax
\else
\item[Also present:] \show@alsopresent
\fi %
\end{description}
}
\makeatother