% \changes{v1.0}{21 Jan 96}{First release} % \changes{v1.0a}{22 Jan 96}{Added \texttt{subheading} command.} % \changes{v1.0b}{17 May 2005}{Changed for Blaxcell St School Council.} % \CheckSum{301} % % \iffalse meta-comment % % File: minutes-new.dtx % For meeting minutes % Options: draftver. % Written by Nick Urbanik, 21-1-96 % % $Header: /usr/local/share/texmf/tex/latex/nick/RCS/minutes-new.dtx,v 1.1 2005/05/16 20:06:09 nicku Exp nicku $ % % $Log: minutes-new.dtx,v $ % Revision 1.1 2005/05/16 20:06:09 nicku % Initial revision % % Revision 1.2 1997/05/27 06:06:03 Nick % Have finally found the right solution to sections in minutes! % Good solutions are often the simplest! % The main section headers were simplest; I used mdwlist suspend and % resume for the subheaders. % % Revision 1.1 1997/05/27 05:38:40 Nick % Initial revision % % Revision 1.1 1996/01/22 11:06:14 Nick % Initial revision % % % \fi % % \begin{abstract} % This is a quick hack to make writing minutes for meetings easier. % In particular it was designed for the Communications and Digital Systems % Teaching Group. % \end{abstract} % % \tableofcontents % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \section{How to use this class} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % The best way to see how to use this is by example. See the file % |minutest.tex| for a complete example. % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Mandatory macros} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % There are a number of mandatory macros that must be called by the % user in the preamble, or this won't work. These are |\meetingDate|, % |\meetingTime| and |\meetingMonth|. % % \DescribeMacro{\meetingDate} % The macro |\meetingDate| takes one mandatory argument, which is the % date of the meeting. This can be entered in any format you like. I % write it as ``21~January~1996''. % % \DescribeMacro{\meetingTime} % The macro |\meetingTime| takes one mandatory argument, which is the % time of the meeting. This can be entered in any format you like. I % write it like this: ``8.30--9.30\,am''. % % \DescribeMacro{\meetingMonth} % The macro |\meetingMonth| takes one mandatory argument, which is the % month that the meeting was held. This can be entered in any format % you like. I call it like this: % \begin{verbatim} % \meetingMonth{January} % \end{verbatim} % The value is used in the heading on the front page and on the top % header of every page after the first. % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Optional Macros} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \DescribeMacro{\meeting} % The |\meeting| command sets a counter |meetingNum| to the value of % its argument. I don't use it with the Blaxcell Street Public School % Council minutes, but I left the code there in case it might come in % handy later. You can access it with |\arabic{meetingNum}|. % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{What must follow the \cmd{\begin{document}}} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % After the |\begin{document}| you need the following: % % \begin{itemize} % \item A list of all the participants. I usually present this in a % tabular form like this: % \begin{verbatim} % \begin{tabular}{@{}l@{\hspace{8mm}}l@{}} % Nigel Montague (chairman) & Kin Cheong, Chu \\ % Tze Shan, Lam & Lawrence Wong \\ % Albert Ho & Michael Chan \\ % Nick Urbanik % \end{tabular} % \end{verbatim} % % \item A suitable skip to separate the participant list from the minutes. % \begin{verbatim} % \vspace{3ex} % \end{verbatim} % This is probably not essential, but that's what I use. % % \item A heading for the \emph{action} column: % \begin{verbatim} % \marginlabel{\textbf{Action}} % \end{verbatim} % % \item An \cmd{enumerate} environment to enclose the minutes % % \item \DescribeMacro{\heading}Before the first item in the minutes, % there needs to be a |\heading|, otherwise the first items in the % minutes will be preceeded by a zero digit and a full stop: % \textbf{0.}\ldots % \begin{verbatim} % \heading{The first heading...} % \end{verbatim} % \end{itemize} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Comands to use in minute items} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \DescribeMacro{\heading} % The \cmd{\heading} macro is used to create a heading (a numbered % section) within an enumerate environment. All the items have a % counter that is numbered within this heading number; the item number % is reset to zero at the beginning of each new heading. % % \DescribeMacro{\subheading} % The \cmd{\subheading} macro is used to create a subheading (an unnumbered % subsection) within an enumerate environment. The item number % is \emph{not} reset to zero at the beginning of each new % |\subheading|; only at the start of each |\heading|. % % \DescribeMacro{\action} % The \cmd{\action} macro takes one argument which is the name of a % person. The name is set in bold in the action column to the right % of the place where this macro is called. % % \DescribeMacro{\actioni} % The macro \cmd{\actioni} is the same as |\action| but the argument % is also printed at the current position. This is simply to save % typing. % % \DescribeMacro{\marginlabel} % The |\marginlabel| command is copied from page 74 of \emph{The % \LaTeX{} Companion}. It overcomes the problem with lack of % hyphenation of the first word in an ordinary |\marginpar| text. % I haven't used this command, but have used most of the idea of it % when writing the |\action| and |\actioni| macros. % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Options available} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % There is a \cmd{draftver} option which adds the word ``draft'' to % headers and main title, and puts a diagonal word in soft grey across % the document if it is printed as postscript. % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Bugs} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % The heading is hardwired into this class. It means that it requires % a lot of modification to use this for some other purpose other than % writing minutes for Blaxcell Street Public School Council. % Need to make a macro that lets you choose the logo, and other such % stuff. Should probably have defaults set using a configuration % file, but should be able to override them within the document. % %\StopEventually{} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \section{The implementation} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Producing the documentation} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Here is a short driver program that can be extracted with the \LaTeXe % \textsf{docstrip} program. It is not necessary to create a separate % driver file from this, however; you can just run \emph{this} % file, \texttt{minutes-new.dtx} through \LaTeXe. % % % % \begin{macrocode} % % %<*driver> % % \ProvidesFile{minutes-new.drv} \documentclass[twoside]{ltxdoc} % % \usepackage{fancyhdr} % % % \end{macrocode} % % % I have had problems with getting the correct |\filedate| and |\fileversion| % % % from this file. I keep getting them from the file \texttt{a4.sty}. % % % I believe the next line is supposed to fix such a problem, but it % % % leaves them undefined. % % % \begin{macrocode} % % % \GetFileInfo{minutes-new.dtx} % % % \end{macrocode} % % % This is definitely the wrong place to put |\fileversion|, % % % |\fileversion| and |\docdate|, since it is hard % % % to find them here, but at the moment it's the only place where I can get % % % them to work! % % % \begin{macrocode} % % \def\fileversion{1.0b} % % \def\filedate{17 May 2005} % % \def\docdate{17 May 2005} % % % \end{macrocode} % % % These depend on the package |fancyhdr|. If you don't have it, you % % % may want to comment out these lines. You may prefer to comment out the % % % line |\thispagestyle{empty}| further down. % % % \begin{macrocode} % % \pagestyle{fancy} % % \lhead[\textbf{\upshape The file \texttt{minutes-new.dtx}, % % a class to write meeting minutes with \LaTeXe}]% % % {\textbf{\thepage}} % % \rhead[\textbf{\thepage}]{\textbf{\upshape The file % % \texttt{minutes-new.dtx}, a class to write meeting minutes with % % \LaTeXe}} % % \cfoot{} % % % \end{macrocode} % % % \begin{macrocode} % % \EnableCrossrefs % Make a full index. % % %\DisableCrossrefs % Make no index. % % \CodelineIndex % Index by line numbers rather than by page. % % \PageIndex % index commands using page numbers. % % \DoNotIndex{\textbf,\texttt,bfseries,\renewcommand,\providescommand} % % \DoNotIndex{\filedate,\filename,\fileversion} % % \DoNotIndex{\DoNotIndex,\arabic} \DoNotIndex{\NeedsTeXFormat} % % \RecordChanges % Show change history. % % %\OnlyDescription % uncomment this to not format the code. % % \title{The file \texttt{minutes-new.dtx}, a class to write meeting minutes % % with \LaTeXe.\thanks{This file has version number \fileversion, % % dated \filedate.}\\[2pt] It contains the code for % % \texttt{minutes-new.cls}} \author{Nick Urbanik} \date{\filedate} % % \begin{document} % % \thispagestyle{empty} \maketitle % % \providecommand{\Lenv}[1]{\textsf{#1}} % % \providecommand{\pkg}[1]{\texttt{#1}} % % \providecommand{\file}[1]{\texttt{#1}} % % \DocInput{minutes-new.dtx} % % \PrintIndex% % % \PrintChanges % % % \end{macrocode} % % % Now tell the people what they need to do next to get the index and % % % change list: % % % \begin{macrocode} % % \typeout{Next, to make the index and changes list for this % % documentation:}% % % \typeout{2. makeindex -s gind.ist minutes-new}% % % \typeout{3. makeindex -s gglo.ist -o minutes-new.gls minutes-new.glo}% % % \typeout{Finally, run this file through LaTeX once more.} % % % \end{macrocode} % % % % % % \begin{macrocode} % % \end{document} % % % % % % \end{macrocode} % \begin{macrocode} %<*driver> \documentclass{ltxdoc} \usepackage{fancyhdr} % These depend on the package |fancyhdr|. If you don't have it, you % may want to comment out these lines. You may prefer to comment out the % line |\thispagestyle{empty}| further down. % \begin{macrocode} \pagestyle{fancy} \lhead[\textbf{\upshape The file \texttt{minutes-new.dtx}, a class to write meeting minutes with \LaTeXe}]% {\textbf{\thepage}} \rhead[\textbf{\thepage}]{\textbf{\upshape The file \texttt{minutes-new.dtx}, a class to write meeting minutes with \LaTeXe}} \cfoot{} % \end{macrocode} % \begin{macrocode} \EnableCrossrefs % Make a full index. %\DisableCrossrefs % Make no index. \CodelineIndex % Index by line numbers rather than by page. %\PageIndex % index commands using page numbers. \RecordChanges % Show change history. \DoNotIndex{\textbf,\texttt,bfseries,\renewcommand,\providescommand} \DoNotIndex{\filedate,\filename,\fileversion} \DoNotIndex{\DoNotIndex,\arabic} \DoNotIndex{\NeedsTeXFormat} %\OnlyDescription % uncomment this to not format the code. \begin{document} \DocInput{minutes-new.dtx} % \end{macrocode} % Now tell the people what they need to do next to get the index and % change list: % \begin{macrocode} \typeout{Next, to make the index and changes list for this documentation:}% \typeout{2. makeindex -s gind.ist minutes-new}% \typeout{3. makeindex -s gglo.ist -o minutes-new.gls minutes-new.glo}% \typeout{Finally, run this file through LaTeX once more.} % \end{macrocode} % % \begin{macrocode} \end{document} % % \end{macrocode} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Identification part} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \begin{macrocode} %<*class> \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesClass{minutes-new}[2005/05/17 For School Council meeting minutes.] % \end{macrocode} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Declaration of options} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \begin{macrocode} \DeclareOption{draftver}{% \AtEndOfClass% {% % Want DRAFT diagonally across the first page, then at the bottom % of subsequent pages. The options for the draftcopy package were: % light,first,bottomafter. \def\draft{DRAFT version for comment\\\relax}% \draftcopySetGrey{0.85}% .90 is light, .85 is dark. .975 seemed okay.. \draftcopyLastPage{9999}% \draftcopy@bottomAftertrue }% } % \end{macrocode} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsubsection{Pass all other options unchanged to \texttt{article.cls}} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \begin{macrocode} \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} % \end{macrocode} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Execution of options} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \begin{macrocode} \ProcessOptions % \end{macrocode} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Special class file commands} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \begin{macrocode} \LoadClass[a4paper,12pt]{article} % \end{macrocode} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Package loading} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % \begin{macrocode} \RequirePackage{% fancyhdr,% calc,% xspace,% graphicx,% varioref,% vmargin,% mdwlist,% For suspend, resume. nick,% rcs} % \end{macrocode} % % Want to be able to use the \texttt{draftcopy} package. Use the % \texttt{none} option so that by default, there will be no DRAFT % message displayed on the minutes. % \begin{macrocode} \RequirePackage[none]{draftcopy} % \end{macrocode} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \subsection{Commands to make things work} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % These macros come from the \pkg{vmargin} package. % \begin{macrocode} \setpapersize{A4} \shiftmargins \setmarginsrb{20mm}% left {20mm}% top {37mm}% right {15mm}% bottom {15pt}% headheight---increase to stop fancyhdr warn {11mm}% headsep {0pt}% footheight {11mm}% footskip %\setmarginsrb{20mm}% left % {20mm}% top % {37mm}% right % {10mm}% bottom % {15pt}% headheight---increase to stop fancyhdr warn % {7mm}% headsep % {0pt}% footheight % {5mm}% footskip % \end{macrocode} % Now it would be nice to have the header rule have the same % protrusion on both the left and right side fo the page. We refer % to page~99 of \emph{The \LaTeX\ Companion} to see how to do it. The % left margin was set above at 20\,mm, the right at 37\,mm, so add a % further 17\,mm to the width of the head rule on the right hand side. % \begin{macrocode} \addtolength{\headwidth}{17mm} % \end{macrocode} % This defines the stuff for the actions. I just used the marginpar % macros. First we define a font for writing the actions. This can % be changed by the user in the preamble. % \begin{macro}{\actionFont} % \begin{macrocode} \newcommand{\actionFont}[1]{\textbf{\footnotesize#1}} % \end{macrocode} % \end{macro} % This is from page 74 of the Companion\@. I haven't found a use for % it in the minutes, but the idea is used to define |\action| and % |\actioni|. % \begin{macrocode} \newcommand{\marginlabel}[1] {\mbox{}\marginpar{\raggedright\hspace{0pt}#1}} % \end{macrocode} % % \begin{macro}{\action} % \begin{macro}{\actioni} % \begin{macrocode} \newcommand{\action}[1] {\mbox{}\marginpar{\raggedright\hspace{0pt}{\actionFont{#1}}}} \newcommand{\actioni}[1] {#1\marginpar{\raggedright\hspace{0pt}{\actionFont{#1}}}} % \end{macrocode} % \end{macro} % \end{macro} % We want the actions 4.5\,mm to the right of the minute items, and % set in a box that is 28\,mm wide. % \begin{macrocode} \setlength{\marginparsep}{4.5mm} \setlength{\marginparwidth}{28mm} % \end{macrocode} % This is the stuff from \pkg{fancyhdr.sty} for the heading % at the top of each page: % \begin{macrocode} \pagestyle{fancyplain} %\lhead{\fancyplain{File: \fileNumber}{\bfseries \draft\thisOrganisation{} % \hspace*{2ex} Meeting~\Month}} \lhead{\fancyplain{}{\bfseries \draft\thisOrganisation{} \hspace{2ex}\thisMeetingMonth~Meeting}} \rhead{\fancyplain{}{\rmfamily\bfseries\thepage}} \cfoot{} \lfoot{} %\lfoot{\fancyplain{}{File: \fileNumber}} % \end{macrocode} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \section{The heading, and meeting number} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % These macros are not meant to be called by the user; rather, they % simply give a default value to these names that is used % automatically at the beginning of the document. The user should % change the name with the macros |\department| and |\organisation|. % \begin{macro}{\thisDepartment} % \begin{macro}{\thisOrganisation} % \begin{macro}{\fileNumber} % \begin{macro}{\draft} % \begin{macrocode} \newcommand{\thisDepartment}% {} \newcommand{\thisOrganisation}% {Blaxcell Street Public School Council} \newcommand*{\fileNumber}{} \newcommand*{\draft}{} % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % \begin{macrocode} \newcommand*{\department}% [1][]% {\def\thisDepartment{#1}\relax} % \end{macrocode} % \begin{macro}{\organisation} % \begin{macrocode} \newcommand*{\organisation}% [1][Blaxcell Street Public School Council]% {\renewcommand*{\protect\thisOrganisation}{#1}\relax} %{\def\thisOrganisation{#1}\relax} % \end{macrocode} % \end{macro} % \begin{macro}{\meetingDate} % \begin{macro}{\meetingTime} % \begin{macro}{\meetingMonth} % \begin{macro}{\meeting} % \begin{macrocode} \newcommand*{\meetingDate}[1]{\def\thisMeetingDate{#1}\relax} \newcommand*{\meetingTime}[1]{\def\thisMeetingTime{#1}\relax} \newcommand*{\meetingMonth}[1]{\def\thisMeetingMonth{#1}\relax} \newcommand{\meeting}[1]% {% \setcounter{meetingNum}{#1}% } % \end{macrocode} % \end{macro} % \end{macro} % \end{macro} % \end{macro} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \section{Numbered headings within the minutes} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % This is based on code from my \pkg{result.sty}: %\begin{verbatim} % \newlength{\itemIndent} % \newcommand{\heading}[1]{{% % \setlength{\itemIndent}{\linewidth} % \addtolength{\indentLen}{-\textwidth}% % \hspace*{\indentLen}% % \parbox[t]{\textwidth}{% % \noindent% % ... % } % }} %\end{verbatim} % \ldots but I can do better: % \begin{macro}{\heading} % \begin{macrocode} %\newcommand{\heading}[1]{{% % \item[]\hspace*{-\leftmargin}% % \parbox[t]{\textwidth}% % {% % \section{#1}% % }% %}} % \end{macrocode} % Well, that's okay, but there can be too much space before or after % the heading. Maybe better to use a simpler approach, something like this: % \begin{macrocode} \newcommand{\heading}[1]{% \end{enumerate}% \section{#1}% \begin{enumerate}% \partopsep=1pt% \itemsep = 2pt% \parskip = 0pt\relax } % \end{macrocode} % \end{macro} % Now here is a macro to do subheadings. This does not reset the item % counter, and it is not numbered, to avoid confusion with the items of % the meeting. % \begin{macro}{\subheading} % \begin{macrocode} %\newcommand{\subheading}[1]{{% % \item[]\hspace*{-\leftmargin}% % \parbox[t]{\textwidth}% % {% % \subsection*{#1}% % }% %}} % \end{macrocode} % Well, that's okay, but there can be too much space before or after % the heading. Maybe better to use the mdwlist.sty, something like this: % \begin{macrocode} \newcommand{\subheading}[1]{% \suspend{enumerate}% \subsection*{#1}% \resume{enumerate}% \partopsep=1pt% \itemsep = 2pt% \parskip = 0pt\relax } % \end{macrocode} % \end{macro} % This is the number for the meeting---a value must be supplied by the user % using the |\meeting| macro. % \begin{macro}{meetingNum} % \begin{macrocode} \newcounter{meetingNum} % \end{macrocode} %\end{macro} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \section{Numbering the minute items within each heading} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % Now I want to have the minute items numbered within each section. % The |\@addtoreset| macro is described on page 22 of the Companion. % \begin{macrocode} \def\labelenumi{{\bfseries \thesection.\theenumi.}} \@addtoreset{enumi}{section} % \end{macrocode} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \section{The stuff automatically inserted at the beginning of the minutes} % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % % This gets inserted at the beginning of each set of minutes. The % format is rather rigid. It needs a list of participants as the % first thing. It also needs the line % \begin{verbatim} % \marginlabel{\textbf{Action}} % \end{verbatim} % at the beginning of the enumerated environment. % % \begin{macrocode} \AtBeginDocument% {% \newlength{\logowidth}% \newlength{\sideWidth}% \newlength{\logoSep}% \setlength{\logowidth}{31.5mm}% \setlength{\logoSep}{0em}% \setlength{\sideWidth}{\textwidth}% \addtolength{\sideWidth}{-\logowidth}% \addtolength{\sideWidth}{-\logoSep}% \thispagestyle{plain} \vspace*{-20mm} \noindent% \includegraphics[width=\logowidth]{blaxcell-logo}% \hspace{\logoSep}% \begin{minipage}[b][\logowidth-2em][c]{\sideWidth}% \centering% \noindent% \bfseries% %\thisDepartment %\vfill \large \draft \vfill \thisOrganisation{}\\ \thisMeetingMonth~Meeting \vfill \mbox{} \end{minipage}\\[2ex] % \begin{center} % \large\bfseries \thisDepartment % \draft % \thisOrganisation{} Meeting~\arabic{meetingNum} % \end{center} \vspace{1ex} \begin{tabular}{@{}ll@{}} Date held: & \thisMeetingDate\\ Time: & \thisMeetingTime \end{tabular} \vspace{2ex} Participants:\par } % \end{macrocode} % \begin{macrocode} % % \end{macrocode} % % \begin{macrocode} \endinput % \end{macrocode} % %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% % \Finale