Debian Codegraph @

texmf-dist/source/latex/meetingmins/meetingmins.dtx

raw
1 % \iffalse meta-comment
2 % !TEX program = pdfLaTeX
3 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4 % %
5 % CHANGE THESE VALUES WITH EACH NEW RELEASE: %
6 % %
7 %<class>\ProvidesClass{meetingmins}[2013/10/03 v1.6 Meeting minutes]
8 % %
9 %<*internal> %
10 \def\mtgminsVersionDate{2013/10/03}
11 \def\mtgminsVersionNumber{1.6}
12 % %
13 % %
14 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
15 \iffalse
16 %</internal>
17 %<*readme>
18 ----------------------------------------------------------------------
19
20 meetingmins - A LaTeX class for formatting minutes of meetings
21
22 Copyright (C) 2011-2013 by Brian D. Beitzel <[email protected]>
23
24 This work may be distributed and/or modified under the
25 conditions of the LaTeX Project Public License (LPPL), either
26 version 1.3c of this license or (at your option) any later
27 version. The latest version of this license is in the file:
28
29 http://www.latex-project.org/lppl.txt
30
31 Users may freely modify these files without permission, as long as the
32 copyright line and this statement are maintained intact.
33
34 ----------------------------------------------------------------------
35
36 This class is adapted from Jim Hefferon's mins class (2005-Sept-01).
37 The goal of both of these classes is to produce minutes of meetings
38 quickly in an appealing printed format. The principal difference
39 between this class and the mins class is that each section of the
40 document in this class is structured as a section rather than an
41 environment. This structure is more intuitive when writing LaTeX
42 documents. An additional feature of this class is that an agenda can
43 also be produced for distribution prior to the meeting, with certain
44 user-selected portions suppressed from printing.
45 %</readme>
46 %<*internal>
47 \fi
48 \def\nameofplainTeX{plain}
49 \ifx\fmtname\nameofplainTeX\else
50 \expandafter\begingroup
51 \fi
52 %</internal>
53 %<*install>
54 \input docstrip.tex
55 \keepsilent
56 \askforoverwritefalse
57 \preamble
58 ----------------------------------------------------------------------
59
60 meetingmins - A LaTeX class for formatting minutes of meetings
61
62 Copyright (C) 2011-2013 by Brian D. Beitzel <[email protected]>
63
64 This work may be distributed and/or modified under the
65 conditions of the LaTeX Project Public License (LPPL), either
66 version 1.3c of this license or (at your option) any later
67 version. The latest version of this license is in the file:
68
69 http://www.latex-project.org/lppl.txt
70
71 Users may freely modify these files without permission, as long as the
72 copyright line and this statement are maintained intact.
73
74 ----------------------------------------------------------------------
75
76 \endpreamble
77 \postamble
78
79 Copyright (C) 2011-2013 by Brian D. Beitzel <[email protected]>
80
81 This work may be distributed and/or modified under the
82 conditions of the LaTeX Project Public License (LPPL), either
83 version 1.3c of this license or (at your option) any later
84 version. The latest version of this license is in the file:
85
86 http://www.latex-project.org/lppl.txt
87
88 Users may freely modify these files without permission, as long as the
89 copyright line and this statement are maintained intact.
90
91
92
93 This work is "maintained" (as per LPPL maintenance status) by
94 Brian D. Beitzel.
95
96 This work consists of the file meetingmins.dtx
97 and the derived files meetingmins.cls,
98 sampleminutes.tex,
99 department.min,
100 README.txt, and
101 meetingmins.pdf.
102
103 \endpostamble
104 \usedir{tex/latex/meetingmins}
105 \generate{
106 \file{\jobname.cls}{\from{\jobname.dtx}{class}}
107 }
108 \usedir{tex/latex/meetingmins/samples}
109 \generate{
110 \file{./samples/department.min}{\from{\jobname.dtx}{sampledepartment}}
111 \file{./samples/agenda.tex}{\from{\jobname.dtx}{agenda}}
112 \file{./samples/chair.tex}{\from{\jobname.dtx}{chair}}
113 \file{./samples/minutes.tex}{\from{\jobname.dtx}{minutes}}
114 }
115 %</install>
116 %<install>\endbatchfile
117 %<*internal>
118 \usedir{source/latex/meetingmins}
119 \generate{
120 \file{\jobname.ins}{\from{\jobname.dtx}{install}}
121 }
122 \nopreamble\nopostamble
123 \usedir{doc/latex/meetingmins}
124 \generate{
125 \file{README.txt}{\from{\jobname.dtx}{readme}}
126 }
127 \ifx\fmtname\nameofplainTeX
128 \expandafter\endbatchfile
129 \else
130 \expandafter\endgroup
131 \fi
132 %</internal>
133 %<class>\NeedsTeXFormat{LaTeX2e}
134 %<*driver>
135 \documentclass{ltxdoc}
136 \usepackage[T1]{fontenc}
137 \usepackage{lmodern}
138 \usepackage{hyperref}
139 \usepackage{graphicx}
140 \EnableCrossrefs
141 \CodelineIndex
142 \OnlyDescription
143 \RecordChanges
144 \begin{document}
145 \DocInput{\jobname.dtx}
146 \end{document}
147 %</driver>
148 % \fi
149 %
150 %\DoNotIndex{\#,\$,\%,\&,\@,\\,\{,\},\^,\_,\~,\ }
151 %\DoNotIndex{\@ne}
152 %\DoNotIndex{\advance,\begingroup,\catcode,\closein}
153 %\DoNotIndex{\closeout,\day,\def,\edef,\else,\empty,\endgroup}
154 %\DoNotIndex{\newcommand,\renewcommand}
155 %
156 % \ifpdf
157 % \hypersetup{%
158 % pdfauthor = {Brian D. Beitzel <[email protected]>},
159 % pdftitle = {The meetingmins class},
160 % pdfsubject = {Documentation of LaTeX class meetingmins},
161 % pdfkeywords = {LaTeX, minutes}
162 % }%
163 % \fi
164 %
165 %\title{^^A
166 % Formatting meeting minutes\\^^A
167 % with the \textsf{meetingmins} \LaTeX\ class^^A
168 % \thanks{This file describes version ^^A
169 % \mtgminsVersionNumber, last revised \mtgminsVersionDate.}^^A
170 %}
171 %\author{Brian D. Beitzel\thanks{E-mail: [email protected]}}
172 %\date{Released \mtgminsVersionDate}
173 %
174 %\maketitle
175 %
176 %\changes{v1.0}{2011/10/27}{Initial release}
177 %\changes{v1.5}{2012/09/24}{Added the `hiddentext' environment}
178 %\changes{v1.6}{2013/10/03}{Added the `notes' option}
179 %
180 % \begin{abstract}
181 % The \textsf{meetingmins} class formats written minutes of group
182 % meetings quickly, in a way that corresponds well with \LaTeX\
183 % document-writing conventions. Additional features of the
184 % \textsf{meetingmins} class include generation of an agenda for
185 % distribution prior to the meeting, the ability to suppress
186 % user-selected portions of the agenda, and a chair's agenda (to
187 % track meeting attendance).
188 % \end{abstract}
189 %
190 % \section{Background}
191 %
192 % Many professionals are required to produce written minutes of group
193 % meetings. The \textsf{meetingmins} class provides an intuitive way
194 % to do this quickly, in a manner that corresponds well with standard
195 % \LaTeX\ conventions. Specifically, each segment of the meeting
196 % (e.g., ``Old Business'') is indicated with |\section| commands,
197 % rather than using |\begin| and |\end| environment commands like the
198 % \textsf{mins} class from which the \textsf{meetingmins} class was
199 % derived.
200 %
201 % \section{New Features}
202 %
203 % The \textsf{meetingmins} class duplicates and extends the
204 % functionality provided by Jim Hefferon's \textsf{mins} class. As
205 % stated previously, the \textsf{meetingmins} class utilizes the
206 % \DescribeMacro{\section}
207 % \DescribeMacro{\subsection}
208 % \DescribeMacro{\subsubsection}
209 % |\section| commands (down to the level of |\subsubsection|) rather
210 % than using environments. Remembering to open and close an
211 % environment is not as intuitive, efficient, or convenient as
212 % invoking the |\section| commands that all \LaTeX\ users are
213 % accustomed to. Additionally, in editors such as Emacs, syntax
214 % highlighting typically makes section names more salient than
215 % environment names, providing a clearer visual distinction of where
216 % the user is within the document while editing. Furthermore,
217 % environment titles must be typed twice (without typographical
218 % errors), whereas section titles are typed only once (and may be
219 % permitted the odd typo, as far as \LaTeX\ is concerned). Perhaps
220 % most importantly, using the |\section| commands allows the document
221 % to convey a hierarchical structure (which is the reason I undertook
222 % this project).
223 %
224 % \DescribeMacro{\begin\{items\}}
225 % \DescribeMacro{\end\{items\}}
226 % \DescribeMacro{\begin\{subitems\}}
227 % \DescribeMacro{\end\{subitems\}}
228 % We cannot entirely escape the use of environments, however,
229 % because that is how numbered lists are created in \LaTeX.
230 % Therefore, if numbered agenda items are desired, one needs to
231 % begin the numbered list with |\begin{items}| and end it with
232 % |\end{items}|. For |\subsection| and |\subsubsection| sections,
233 % use |\begin{subitems}| and |\end{subitems}|.\footnote{This use of
234 % the |subitems| environment will remain a limitation until someone
235 % can show me how to capture the current section level for
236 % non-numbered sections. I have exhausted my capabilities in this
237 % pursuit.}
238 %
239 % By specifying \DescribeMacro{agenda}|agenda| as an option in the
240 % |\documentclass| command, the document heading will read ``Agenda
241 % for [date]'' rather than ``Minutes for [date]'' and the group
242 % members will not be listed. This option is intended to help
243 % faciliate the dissemination of meeting agendas.
244 %
245 % \DescribeMacro{\begin\{hiddenitems\}}
246 % \DescribeMacro{\end\{hiddenitems\}}
247 % \DescribeMacro{\begin\{hiddensubitems\}}
248 % \DescribeMacro{\end\{hiddensubitems\}}
249 % \DescribeMacro{\begin\{hiddentext\}}
250 % \DescribeMacro{\end\{hiddentext\}}
251 % There is one additional feature of the |agenda| option: numbered
252 % lists that are bracketed by |\begin{hiddenitems}| and
253 % |\end{hiddenitems}| are suppressed from the printed agenda
254 % (|\begin{hiddensubitems}| and |\end{hiddensubitems}| are also
255 % available). The |\begin{hiddentext}| and |\end{hiddentext}|
256 % commands will suppress non-enumerated text (i.e., standard
257 % paragraphs) from being printed on an agenda. The purpose of this
258 % feature is primarily for announcements; why would they be sent out
259 % in advance for all to read and then re-announced at the meeting?
260 % Any portion of the agenda can be suppressed in this way if desired.
261 % Please note that there is no need to change the name of these
262 % environments when the final minutes are produced; in the absence of
263 % the |agenda| option, all text will be printed.
264 %
265 % Specifying the \DescribeMacro{chair}|chair| option (instead of
266 % |agenda|) annotates the document as a ``Chair's Agenda for [date]'';
267 % in addition, the Chair's Agenda lists the members' names along with
268 % handy checkboxes so the chair can more easily track attendance (and
269 % be reminded of who has not yet arrived.) Also, no text is hidden on
270 % the Chair's Agenda. Just to be clear: Use either the |chair|
271 % \textit{or} the |agenda| options, not both simultaneously. The
272 % \DescribeMacro{notes}|notes| option formats minutes (not an agenda)
273 % with the header ``Notes for [date].''
274 %
275 %
276 % \section{Usage}
277 %
278 % Sample documents are included with this class; look in the
279 % ``samples'' subfolder of your installation. The source and output
280 % are reproduced on the following pages for quick reference.
281 %
282 % \newpage
283 %
284 %
285 % \subsection{Agenda (sample source code)}
286 %
287 % \begin{multicols*}{2}
288 % \begin{verbatim}
289 % \documentclass[11pt,agenda]{meetingmins}
290 %
291 % \setcommittee{Department of Instruction}
292 %
293 % \setmembers{
294 % \chair{B.~Smart},
295 % B.~Brave,
296 % D.~Claire,
297 % B.~Gone
298 % }
299 %
300 % \setdate{October 5, 2011}
301 %
302 % \begin{document}
303 % \maketitle
304 %
305 % \section{Announcements}
306 % \begin{hiddenitems}
307 % \item
308 % The dean is coming today.
309 %
310 % \item
311 % The dean has canceled.
312 %
313 % \end{hiddenitems}
314 %
315 % \section{Committee Reports}
316 %
317 % \subsection{College-wide Committees}
318 % \subsubsection{Library}
319 %
320 % \subsubsection{Curriculum}
321 % \begin{hiddensubitems}
322 % \item
323 % There is widespread interest in reforming
324 % the curriculum.
325 %
326 % \item
327 % Unfortunately, no one seems interested
328 % in participating on the curriculum
329 % reform committee.
330 % \end{hiddensubitems}
331 %
332 % \subsection{Department Committees}
333 % \subsubsection{Personnel}
334 %
335 % \subsubsection{Assistant Professor Search}
336 %
337 %
338 %
339 %
340 % \section{Old Business}
341 % \begin{items}
342 % \item
343 % \priormins
344 % \end{items}
345 %
346 % \section{New Business}
347 % \begin{items}
348 % \item
349 % Discuss class schedules for next semester.
350 %
351 % \item
352 % Discuss research plans for next semester.
353 % \end{items}
354 %
355 % \vspace{1em}
356 % \nextmeeting{Wednesday, October 19, at 3:00}
357 %
358 % \end{document}
359 % \end{verbatim}
360 % \end{multicols*}
361 %
362 % \subsection{Agenda (printed version)}
363 % \IfFileExists{samples/agenda.pdf}%
364 % {\includegraphics[scale=0.8, trim = 1in 1.5in 1in 0.8in]{samples/agenda.pdf}}%
365 % {PRINTED AGENDA WILL BE DISPLAYED HERE \newpage}
366 %
367 % \subsection{Chair's Agenda (sample source code)}
368 %
369 % \begin{multicols*}{2}
370 % \begin{verbatim}
371 % \documentclass[11pt,chair]{meetingmins}
372 %
373 % \setcommittee{Department of Instruction}
374 %
375 % \setmembers{
376 % \chair{B.~Smart},
377 % B.~Brave,
378 % D.~Claire,
379 % B.~Gone
380 % }
381 %
382 % \setdate{October 5, 2011}
383 %
384 % \begin{document}
385 % \maketitle
386 %
387 % \section{Announcements}
388 % \begin{hiddenitems}
389 % \item
390 % The dean is coming today.
391 %
392 % \item
393 % The dean has canceled.
394 %
395 % \end{hiddenitems}
396 %
397 % \section{Committee Reports}
398 %
399 % \subsection{College-wide Committees}
400 % \subsubsection{Library}
401 %
402 % \subsubsection{Curriculum {\rm (D.~Claire)}}
403 % \begin{hiddensubitems}
404 % \item
405 % There is widespread interest in reforming
406 % the curriculum.
407 %
408 % \item
409 % Unfortunately, no one seems interested
410 % in participating on the curriculum
411 % reform committee.
412 % \end{hiddensubitems}
413 %
414 % \subsection{Department Committees}
415 % \subsubsection{Personnel}
416 %
417 % \subsubsection{Assistant Professor Search}
418 %
419 %
420 %
421 %
422 % \section{Old Business}
423 % \begin{items}
424 % \item
425 % \priormins
426 % \end{items}
427 %
428 % \section{New Business}
429 % \begin{items}
430 % \item
431 % Discuss class schedules for next semester.
432 %
433 % \item
434 % Discuss research plans for next semester.
435 % \end{items}
436 %
437 % \vspace{1em}
438 % \nextmeeting{Wednesday, October 19, at 3:00}
439 %
440 % \end{document}
441 % \end{verbatim}
442 % \end{multicols*}
443 %
444 % \subsection{Chair's Agenda (printed version)}
445 % \IfFileExists{samples/chair.pdf}%
446 % {\includegraphics[scale=0.8, trim = 1in 1.5in 1in 0.8in]{samples/chair.pdf}}%
447 % {PRINTED CHAIR'S AGENDA WILL BE DISPLAYED HERE \newpage}
448 %
449 % \subsection{Minutes (sample source code)}
450 %
451 % \begin{multicols*}{2}
452 % \begin{verbatim}
453 % \documentclass[11pt]{meetingmins}
454 %
455 % \setcommittee{Department of Instruction}
456 %
457 % \setmembers{
458 % \chair{B.~Smart},
459 % B.~Brave,
460 % D.~Claire,
461 % B.~Gone
462 % }
463 %
464 % \setdate{October 5, 2011}
465 %
466 % \setpresent{
467 % \chair{B.~Smart},
468 % B.~Brave,
469 % D.~Claire
470 % }
471 %
472 % \absent{B.~Gone \textit{(sabbatical)}}
473 %
474 % \alsopresent{B.~There}
475 %
476 % \begin{document}
477 % \maketitle
478 %
479 % \section{Announcements}
480 % \begin{hiddenitems}
481 % \item
482 % The dean is coming today.
483 %
484 % \item
485 % The dean has canceled.
486 %
487 % \end{hiddenitems}
488 %
489 % \section{Committee Reports}
490 %
491 % \subsection{College-wide Committees}
492 % \subsubsection{Library}
493 % The library still has books that no one has read.
494 %
495 % \subsubsection{Curriculum {\rm (D.~Claire)}}
496 % \begin{hiddensubitems}
497 % \item
498 % There is widespread interest in reforming
499 % the curriculum.
500 %
501 %
502 %
503 %
504 % \item
505 % Unfortunately, no one seems interested
506 % in participating on the curriculum
507 % reform committee.
508 % \end{hiddensubitems}
509 %
510 % \subsection{Department Committees}
511 % \subsubsection{Personnel}
512 %
513 % \subsubsection{Assistant Professor Search}
514 %
515 % \section{Old Business}
516 % \begin{items}
517 % \item
518 % \priormins
519 % \end{items}
520 %
521 % \section{New Business}
522 % \begin{items}
523 % \item
524 % We will teach classes next semester.
525 %
526 % \item
527 % We will do research next semester.
528 % \end{items}
529 %
530 % \vspace{1em}
531 % \nextmeeting{Wednesday, October 19, at 3:00}
532 %
533 % \end{document}
534 % \end{verbatim}
535 % \end{multicols*}
536 %
537 % \subsection{Minutes (printed version)}
538 % \IfFileExists{samples/minutes.pdf}%
539 % {\includegraphics[scale=0.8, trim = 1in 1.5in 1in 0.8in]{samples/minutes.pdf}}%
540 % {PRINTED MINUTES WILL BE DISPLAYED HERE \newpage}
541 %
542 %
543 %\StopEventually{^^A
544 % \PrintChanges
545 % \PrintIndex
546 %}
547 %
548 % \begin{macrocode}
549 %<*class>
550 % \end{macrocode}
551 %
552 %\begin{macro}{\examplemacro}
553 %\changes{v1.0}{2009/10/06}{Some change from the previous version}
554 % \begin{macrocode}
555 %
556 %
557
558 % specify whether this is an agenda or a minutes file
559 \DeclareOption{agenda}{%
560 \def\@agenda{\@agendamode}
561 }
562
563 % the chair's agenda has extra information on it
564 \DeclareOption{chair}{%
565 \def\@chair{\@chairmode}
566 }
567
568 % the notes option contains extra meeting notes that are not part of
569 % the official minutes
570 \DeclareOption{notes}{%
571 \def\@notes{\@notesmode}
572 }
573
574 % what group is meeting?
575 \def\@committeename{}
576 \newcommand{\setcommittee}[1]{\def\@committee{#1}}
577 \newcommand{\show@committee}{\@committee}
578
579 % which persons are meeting?
580 \def\@members{None}
581 \newcommand{\setmembers}[1]{\def\@members{#1}}
582 \newcommand{\show@members}{\@members}
583
584 % what role do they have (e.g., chair)?
585 \newcommand{\role}[2]{#1~(#2)}
586 \newcommand{\chair}[1]{\role{#1}{Chair}}
587 \newcommand{\secretary}[1]{\role{#1}{Secretary}}
588
589 % who is absent?
590 \global\let\@absent\@empty
591 \newcommand{\setabsent}[1]{\def\@absent{#1}}
592 \let\absent\setabsent %
593 \newcommand{\show@absent}{\@absent}
594
595 % who is present?
596 \global\let\@present\@empty
597 \newcommand{\setpresent}[1]{\def\@present{#1}}
598 \newcommand{\show@present}{\@present}
599
600 % who is also present?
601 \global\let\@alsopresent\@empty
602 \newcommand{\setalsopresent}[1]{\def\@alsopresent{#1}}
603 \let\alsopresent\setalsopresent %
604 \newcommand{\show@alsopresent}{\@alsopresent}
605
606 % what day is it?
607 \def\@date{\today}
608 \newcommand{\setdate}[1]{\def\@date{#1}}
609 \newcommand{\show@date}{\@date}
610
611
612 % Read all the documentclass options; pass them to article, unless the file
613 % named "<currentoption>.min" exists, in which case it is loaded
614 \DeclareOption*{\InputIfFileExists{\CurrentOption.min}{}{%
615 \PassOptionsToClass{\CurrentOption}{article}}}
616
617 \ProcessOptions \relax
618
619 \LoadClass{article}
620
621
622 % Page layout
623 \RequirePackage[margin=1in]{geometry}
624
625 \RequirePackage[T1]{fontenc}
626 \RequirePackage{lmodern}
627
628
629 \RequirePackage{fancyhdr}
630 \fancypagestyle{firstpage}{%
631 \fancyhf{} % clear all six fields
632 \renewcommand{\headrulewidth}{0pt}
633 \renewcommand{\footrulewidth}{0pt}
634 }
635 \fancypagestyle{followingpage}{%
636 \fancyhf{} % clear all six fields
637 \lhead{\show@committee, \show@date}
638 \rhead{\thepage}
639 \renewcommand{\headrulewidth}{1pt}
640 \renewcommand{\footrulewidth}{0pt}
641 }
642
643 \pagestyle{followingpage}
644 \AtBeginDocument{\thispagestyle{firstpage}}
645
646
647 \RequirePackage{enumitem}
648
649 \@ifundefined{@chair}{% minutes/agenda
650 }{% chair's agenda
651 \RequirePackage{mathabx}
652 \RequirePackage{xstring}
653 }
654
655
656 % material heading the minutes
657 \newcommand{\member@list}{
658 \begin{description}
659 \item[Members:] \show@members
660 \end{description}
661 }
662
663 \newcommand{\member@table}{
664 \begin{description}
665 \raggedright
666 \item[Members:] \StrSubstitute{$\Box$~\show@members}{,}{,\ \ \ $\Box$~}
667 \end{description}
668 }
669
670 \newcommand{\head@list}{
671 \begin{description}
672 \item[Present:] \show@present
673 \ifx\@absent\@empty
674 \relax
675 \else
676 \item[Absent:] \show@absent
677 \fi %
678 \ifx\@alsopresent\@empty
679 \relax
680 \else
681 \item[Also present:] \show@alsopresent
682 \fi %
683 \end{description}
684 }
685
686 % maketitle
687 \renewcommand{\maketitle}{%
688 \begin{center}
689 {\large\textbf{\show@committee}} \\[1ex]
690 \@ifundefined{@agenda}{%
691 \@ifundefined{@chair}{% minutes
692 \@ifundefined{@notes}{%
693 Minutes for \show@date
694 }{% minutes with notes
695 Notes for \show@date
696 }
697 }{% chair's agenda
698 Chair's Agenda for \show@date
699 }%
700 }{% agenda only
701 Agenda for \show@date
702 }%
703 \end{center}
704 \vspace{0.5ex}
705 \@ifundefined{@agenda}{% minutes
706 \@ifundefined{@chair}{% minutes
707 \head@list
708 \vspace{0.1ex}
709 }{% chair's agenda
710 \member@table
711 }
712 }{% agenda only
713 % \member@list
714 % \vspace{1pt}
715 }
716 }{%
717 }
718
719
720 % section formatting
721 \setcounter{secnumdepth}{0}
722 \renewcommand{\section}{\@startsection {section}{1}{\z@}%
723 {1\baselineskip \@plus 0.2ex \@minus 0.2ex\leftskip=0in}%
724 {0.8\baselineskip \@plus .2ex}%
725 {\normalfont\normalsize\bfseries}}
726 \renewcommand{\subsection}{\@startsection{subsection}{2}{0.5in}%
727 {1\baselineskip \@plus 0.2ex \@minus 0.2ex\leftskip=0in}%
728 {0.5\baselineskip \@plus 0.2ex}%
729 {\normalfont\normalsize\bfseries\itshape}}
730
731 \@ifundefined{@agenda}{%
732 \@ifundefined{@chair}{% minutes
733 \renewcommand{\subsubsection}[1]{\@startsection{subsubsection}{3}{0in}%
734 {0.4\baselineskip \@plus 0.2ex \@minus 0.2ex\leftskip=0.5in}%
735 {-\z@}%
736 {\normalfont\normalsize\itshape}{#1} \hspace{0.2em} ---\hspace{0.2em}}
737 }{% chair's agenda
738 \renewcommand{\subsubsection}[1]{\@startsection{subsubsection}{3}{0in}%
739 {0.4\baselineskip \@plus 0.2ex \@minus 0.2ex\leftskip=0.5in}%
740 {-\z@}%
741 {\normalfont\normalsize\itshape}{#1} \hspace{0.2em} ---\hspace{0.2em}}
742 }
743 }{% agenda only
744 \renewcommand{\subsubsection}[1]{\@startsection{subsubsection}{3}{0in}%
745 {0.4\baselineskip \@plus 0.2ex \@minus 0.2ex\leftskip=0.5in}%
746 {-\z@}%
747 {\normalfont\normalsize\itshape}{#1}}
748 }
749
750 \RequirePackage{environ}
751
752 \newenvironment{emptysection}{\Collect@Body\@gobble}{}
753
754 % top-level items (under \section commands)
755 \newenvironment{items}{%
756 \begin{itemlist}
757 }{%
758 \end{itemlist}
759 }
760
761 \newenvironment{itemlist}{%
762 \begin{enumerate}[leftmargin=0.5in]
763 }{%
764 \end{enumerate}
765 }
766
767 \@ifundefined{@agenda}{% minutes
768 \newenvironment{hiddenitems}{\begin{enumerate}[leftmargin=0.5in]}{\end{enumerate}}
769 }{% agenda only
770 \let\hiddenitems\emptysection
771 }
772
773
774 \@ifundefined{@agenda}{% minutes
775 \newenvironment{hiddentext}{}{}
776 }{% agenda only
777 \let\hiddentext\emptysection
778 }
779
780
781 % second-level items (under \subsection commands)
782 \newenvironment{subitems}{%
783 \begin{subitemlist}
784 }{%
785 \end{subitemlist}
786 }
787
788 \newenvironment{subitemlist}{%
789 \begin{enumerate}[leftmargin=1in]
790 }{%
791 \end{enumerate}
792 }
793
794 \@ifundefined{@agenda}{% minutes
795 \newenvironment{hiddensubitems}{\begin{enumerate}[leftmargin=1in]}{\end{enumerate}}
796 }{% agenda only
797 \let\hiddensubitems\emptysection
798 }
799
800
801 % third-level items (under \subsubsection commands)
802 \newenvironment{subsubitems}{%
803 \begin{subsubitemlist}
804 }{%
805 \end{subsubitemlist}
806 }
807
808 \newenvironment{subsubitemlist}{%
809 \begin{enumerate}[leftmargin=1in]
810 }{%
811 \end{enumerate}
812 }
813
814 \@ifundefined{@agenda}{% minutes
815 \newenvironment{hiddensubsubitems}{\begin{enumerate}[leftmargin=1in]}{\end{enumerate}}
816 }{% agenda only
817 \let\hiddensubsubitems\emptysection
818 }
819
820
821 % Statement of approval of previous minutes
822 \newcommand{\priormins}{The minutes of the previous meeting were approved.}
823
824
825 % when is the next meeting?
826 \newcommand{\nextmeeting}[1]{%
827 \@ifundefined{@agenda}{% minutes
828 \par\noindent\textbf{Next Meeting:} #1\par
829 }{% agenda only
830 %\par\noindent\textbf{Next Meeting:} #1\par
831 }
832 }
833
834 % \end{macrocode}
835 %\end{macro}
836 %
837 % \begin{macrocode}
838 %</class>
839 % \end{macrocode}
840 %
841 %
842 % %%%%%%%%%%% SAMPLE FILES %%%%%%%%%%%%
843 %
844 %\begin{macro}{department.min}
845 % \begin{macrocode}
846 %<*sampledepartment>
847
848 \setcommittee{Department of Instruction}
849
850 \setmembers{
851 \chair{B.~Smart},
852 B.~Brave,
853 D.~Claire,
854 B.~Gone
855 }
856
857 %</sampledepartment>
858 % \end{macrocode}
859 %\end{macro}
860 %
861 %\begin{macro}{agenda.tex}
862 % \begin{macrocode}
863 %<*agenda>
864 \documentclass[11pt,agenda]{meetingmins}
865
866 %% Optionally, the following text could be set in the file
867 %% department.min in this folder, then add the option 'department'
868 %% in the \documentclass line of this .tex file:
869 %%\setcommittee{Department of Instruction}
870 %%
871 %%\setmembers{
872 %% \chair{B.~Smart},
873 %% B.~Brave,
874 %% D.~Claire,
875 %% B.~Gone
876 %%}
877
878 \setcommittee{Department of Instruction}
879
880 \setmembers{
881 \chair{B.~Smart},
882 B.~Brave,
883 D.~Claire,
884 B.~Gone
885 }
886
887 \setdate{October 5, 2011}
888
889 \begin{document}
890 \maketitle
891
892 \section{Announcements}
893 \begin{hiddenitems}
894 \item
895 The dean is coming today.
896
897 \item
898 The dean has canceled.
899
900 \end{hiddenitems}
901
902 \section{Committee Reports}
903
904 \subsection{College-wide Committees}
905 \subsubsection{Library}
906
907 \subsubsection{Curriculum}
908 \begin{hiddensubitems}
909 \item
910 There is widespread interest in reforming the curriculum.
911
912 \item
913 Unfortunately, no one seems interested in participating on the
914 curriculum reform committee.
915 \end{hiddensubitems}
916
917 \subsection{Department Committees}
918 \subsubsection{Personnel}
919
920 \subsubsection{Assistant Professor Search}
921
922 \section{Old Business}
923 \begin{items}
924 \item
925 \priormins
926 \end{items}
927
928 \section{New Business}
929 \begin{items}
930 \item
931 Discuss class schedules for next semester.
932
933 \item
934 Discuss research plans for next semester.
935 \end{items}
936
937 \vspace{1em}
938 \nextmeeting{Wednesday, October 19, at 3:00}
939
940 \end{document}
941 %</agenda>
942 % \end{macrocode}
943 %\end{macro}
944 %
945 %
946 %
947 %\begin{macro}{chair.tex}
948 % \begin{macrocode}
949 %<*chair>
950 \documentclass[11pt,chair]{meetingmins}
951
952 %% Optionally, the following text could be set in the file
953 %% department.min in this folder, then add the option 'department'
954 %% in the \documentclass line of this .tex file:
955 %%\setcommittee{Department of Instruction}
956 %%
957 %%\setmembers{
958 %% \chair{B.~Smart},
959 %% B.~Brave,
960 %% D.~Claire,
961 %% B.~Gone
962 %%}
963
964 \setcommittee{Department of Instruction}
965
966 \setmembers{
967 \chair{B.~Smart},
968 B.~Brave,
969 D.~Claire,
970 B.~Gone
971 }
972
973 \setdate{October 5, 2011}
974
975 \begin{document}
976 \maketitle
977
978 \section{Announcements}
979 \begin{hiddenitems}
980 \item
981 The dean is coming today.
982
983 \item
984 The dean has canceled.
985
986 \end{hiddenitems}
987
988 \section{Committee Reports}
989
990 \subsection{College-wide Committees}
991 \subsubsection{Library}
992
993 \subsubsection{Curriculum {\rm (D.~Claire)}}
994 \begin{hiddensubitems}
995 \item
996 There is widespread interest in reforming the curriculum.
997
998 \item
999 Unfortunately, no one seems interested in participating on the
1000 curriculum reform committee.
1001 \end{hiddensubitems}
1002
1003 \subsection{Department Committees}
1004 \subsubsection{Personnel}
1005
1006 \subsubsection{Assistant Professor Search}
1007
1008 \section{Old Business}
1009 \begin{items}
1010 \item
1011 \priormins
1012 \end{items}
1013
1014 \section{New Business}
1015 \begin{items}
1016 \item
1017 Discuss class schedules for next semester.
1018
1019 \item
1020 Discuss research plans for next semester.
1021 \end{items}
1022
1023 \vspace{1em}
1024 \nextmeeting{Wednesday, October 19, at 3:00}
1025
1026 \end{document}
1027 %</chair>
1028 % \end{macrocode}
1029 %\end{macro}
1030 %
1031 %
1032 %
1033 %\begin{macro}{minutes.tex}
1034 % \begin{macrocode}
1035 %<*minutes>
1036 \documentclass[11pt]{meetingmins}
1037
1038 %% Optionally, the following text could be set in the file
1039 %% department.min in this folder, then add the option 'department'
1040 %% in the \documentclass line of this .tex file:
1041 %%\setcommittee{Department of Instruction}
1042 %%
1043 %%\setmembers{
1044 %% \chair{B.~Smart},
1045 %% B.~Brave,
1046 %% D.~Claire,
1047 %% B.~Gone
1048 %%}
1049
1050 \setcommittee{Department of Instruction}
1051
1052 \setmembers{
1053 \chair{B.~Smart},
1054 B.~Brave,
1055 D.~Claire,
1056 B.~Gone
1057 }
1058
1059 \setdate{October 5, 2011}
1060
1061 \setpresent{
1062 \chair{B.~Smart},
1063 B.~Brave,
1064 D.~Claire
1065 }
1066
1067 \absent{B.~Gone \textit{(sabbatical)}}
1068
1069 \alsopresent{B.~There}
1070
1071 \begin{document}
1072 \maketitle
1073
1074 \section{Announcements}
1075 \begin{hiddenitems}
1076 \item
1077 The dean is coming today.
1078
1079 \item
1080 The dean has canceled.
1081
1082 \end{hiddenitems}
1083
1084 \section{Committee Reports}
1085
1086 \subsection{College-wide Committees}
1087 \subsubsection{Library}
1088 The library still has books that no one has read.
1089
1090 \subsubsection{Curriculum {\rm (D.~Claire)}}
1091 \begin{hiddensubitems}
1092 \item
1093 There is widespread interest in reforming the curriculum.
1094
1095 \item
1096 Unfortunately, no one seems interested in participating on the
1097 curriculum reform committee.
1098 \end{hiddensubitems}
1099
1100 \subsection{Department Committees}
1101 \subsubsection{Personnel}
1102 No one can have a raise this year.
1103
1104 \subsubsection{Assistant Professor Search}
1105 We are looking for someone who will do a lot for very little money.
1106
1107 \section{Old Business}
1108 \begin{items}
1109 \item
1110 \priormins
1111 \end{items}
1112
1113 \section{New Business}
1114 \begin{items}
1115 \item
1116 We will teach classes next semester.
1117
1118 \item
1119 We will do research next semester.
1120 \end{items}
1121
1122 \vspace{1em}
1123 \nextmeeting{Wednesday, October 19, at 3:00}
1124
1125 \end{document}
1126 %</minutes>
1127 % \end{macrocode}
1128 %\end{macro}
1129 %
1130 %
1131 %\Finale