summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/termcal-de/termcal-de-doc-example2.dtx
blob: 2db1b07f380eac545df8709bcd76a441dfb3f8f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
%\iffalse
% Doc-Source file to use with LaTeX2e
% Copyright (C) 2017-18 Sebastian Friedl
%
% This work is subject to the LaTeX Project Public License, Version 1.3c or -- at
% your option -- any later version of this license.
% The work consists of the files termcal-de.dtx, termcal-de.ins,
% termcal-de-doc.dtx, termcal-de-doc-example1.dtx, termcal-de-doc-example2.dtx
% and the derived file termcal-de.sty
%
% This work has the LPPL maintenance status `maintained'.
% Current maintainer of the work is Sebastian Friedl.
%\fi
%    \begin{macrocode}
\begin{calendar}{10.12.2012}{3}
    \setlength{\calwidth}{.95\textwidth}
    \setlength{\calboxdepth}{1.25cm}

    \calday[*!@\$\#+]{\classday}
    \calday[Tuesday]{\weeklytext{It's Tuesday. \\ *!@\$\#+'s over!}}
    \skipday
    \calday[Thursday]{}
    \calday[Friday]{\classday}
    \skipday
    \skipday
    
    \options{18.12.2012}{\classday\weeklytext{}}
    \options{20.12.2012}{\classday}
    
    \options{21.12.2012}{\noclassday}
    \caltext{21.12.2012}{\textbf{Doomsday} \\ No class}
    
    \options{24.12.2012}{\noclassday}
    \caltext{24.12.2012}{Christmas Eve \\ No class}
    
    \caltext{C1}{First Class \\ Organisational matters}
    
    \caltexton{2}{Introduction to metasyntactical variables}
    \caltextnext{}
    \caltextnext{"bla"/"blub" vs. "foo"/"bar"}
    \caltextnext{"08/15", "42" and the mysterious "237"}
    \caltextnext{Coffee break}
\end{calendar}
%    \end{macrocode}