Debian Codegraph @

texmf-dist/doc/latex/yplan/yplan00a.tex

raw
1 %% yplan00a.tex
2 %% Vertical year-planner calendar (January to June 2000)
3 %% ---------------------
4 %% Date: August 4th, 1999
5 %% -----------------------------------------------
6 %% Copyright 1999 RWD Nickalls & Harald Harders
7 %% This program can be redistributed and/or modified
8 %% under the terms of the LaTeX Project Public License
9 %% Distributed from CTAN archives in directory
10 %% macros/latex/base/lppl.txt; either version 1 of
11 %% the License, or any later version.
12 %% -----------------------------------------------
13 %% Dr RWD Nickalls,
14 %% Department of Anaesthesia,
15 %% City Hospital,
16 %% Nottingham, UK.
17 %% [email protected]
18 %% TEL: +44-(0)-115-9691169 Ext:45637
19 %% FAX: +44-(0)-115-9627713
20 %%
21 %% Harald Harders
22 %% [email protected]
23 %% ---------------------
24 %% This year planner is for everyone who does not
25 %% have a decent year planner in their diary.
26 %% As usual, Necessity was the Mother of this invention.
27 %% International support added by Harald Harders, 1999.
28 %% ...enjoy!
29 %% ---------------------
30 %% Designed for LaTeX 2e, although it can be easily adapted for
31 %% use with LaTeX 2.09, since it is only a big table.
32 %% However when using yplan.sty the adaption to LaTeX 2.09
33 %% is not possible anymore.
34 %%
35 %% The vertical size can be adjusted by changing \datestrut.
36 %%
37 %% You can switch the language to either
38 %% english, german, french, spanish, italian, portuguese
39 %% by inserting the line \usepackage[<language>]{yplan}
40 %% immediately after the \documentclass command.
41 %% You have to replace <language> by your language name.
42 %% In addition, you may use month names in lowercase letters (With an
43 %% uppercase first letter) by adding the keyword lowercase to the
44 %% optional parameters of the \usepackage command, e.g.
45 %% \usepackage[german,lowercase]{yplan}
46 %% Default: english with uppercase months
47 %%
48 %%------------------------------------
49 \documentclass[a4paper]{article}
50 %\usepackage[german,lowercase]{yplan}
51 %%------------------------------------
52 \setlength{\topmargin}{-1cm}
53 \setlength{\oddsidemargin}{-13.5mm}
54 \setlength{\textwidth}{18.5cm}
55 %%
56 \def\January{JANUARY}
57 \def\February{FEBRUARY}
58 \def\March{MARCH}
59 \def\April{APRIL}
60 \def\May{MAY}
61 \def\June{JUNE}
62 \def\July{JULY}
63 \def\August{AUGUST}
64 \def\September{SEPTEMBER}
65 \def\October{OCTOBER}
66 \def\November{NOVEMBER}
67 \def\December{DECEMBER}
68 \def\Mo{Mo}
69 \def\Tu{Tu}
70 \def\We{We}
71 \def\Th{Th}
72 \def\Fr{Fr}
73 \def\Sa{Sa}
74 \def\Su{Su}
75 \def\leapyear{\textsc{leap year}}
76 %%
77 %%
78 \newcommand{\monthstrut}{\rule{0pt}{12pt}}
79 %% \monthstrut controls the white space above the month.
80 %%
81 \newcommand{\datestrut}{\rule{0pt}{12pt}}
82 %% \datestrut controls the white space above the date.
83 %%--------------------------------------
84 \begin{document}
85 %---------------
86 %% no pagenumbering
87 \thispagestyle{empty}
88 %--------------------
89 \begin{table}
90 \hspace{1cm}{\LARGE 2000}\hspace{8mm}\leapyear\\
91 {\ } \\
92 \begin{tabular}{|c||p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|}
93 \hline
94 \multicolumn{1}{|c||}{\monthstrut} &
95 \multicolumn{1}{|c|}{\January} &
96 \multicolumn{1}{|c|}{\February} &
97 \multicolumn{1}{|c|}{\March} &
98 \multicolumn{1}{|c|}{\April} &
99 \multicolumn{1}{|c|}{\May} &
100 \multicolumn{1}{|c|}{\June} \\
101 \hline
102 \hline
103 %% Jan Feb Mar Apr May June
104 \datestrut \Mo & & & & & 1 & \\
105 \cline{1-1}\cline{3-3}\cline{6-6}
106 \datestrut \Tu & &1 & & & 2 & \\
107 \cline{1-1}\cline{3-4}\cline{6-6}
108 \datestrut \We & &2 & 1 & & 3 & \\
109 \cline{1-1}\cline{3-4}\cline{6-7}
110 \datestrut \Th & &3 & 2 & & 4 & 1 \\
111 \cline{1-1}\cline{3-4}\cline{6-7}
112 \datestrut \Fr & &4 & 3 & & 5 & 2 \\
113 \hline
114 \datestrut \Sa & 1 &5 & 4 & 1 & 6 & 3 \\
115 \hline
116 \datestrut \Su & 2 &6 & 5 & 2 & 7 & 4 \\
117 \hline\hline
118 \datestrut \Mo & 3 &7 & 6 & 3 & 8 & 5 \\
119 \hline
120 \datestrut \Tu & 4 &8 & 7 & 4 & 9 & 6 \\
121 \hline
122 \datestrut \We & 5 &9 & 8 & 5 & 10 & 7 \\
123 \hline
124 \datestrut \Th & 6 &10 & 9 & 6 & 11 & 8 \\
125 \hline
126 \datestrut \Fr & 7 &11 & 10 & 7 & 12 & 9 \\
127 \hline
128 \datestrut \Sa & 8 &12 & 11 & 8 & 13 & 10 \\
129 \hline
130 \datestrut \Su & 9 &13 & 12 & 9 & 14 & 11 \\
131 \hline \hline
132 \datestrut \Mo & 10 &14 & 13 & 10 & 15 & 12 \\
133 \hline
134 \datestrut \Tu & 11 &15 & 14 & 11 & 16 & 13 \\
135 \hline
136 \datestrut \We & 12 &16 & 15 & 12 & 17 & 14 \\
137 \hline
138 \datestrut \Th & 13 &17 & 16 & 13 & 18 & 15 \\
139 \hline
140 \datestrut \Fr & 14 &18 & 17 & 14 & 19 & 16 \\
141 \hline
142 \datestrut \Sa & 15 &19 & 18 & 15 & 20 & 17 \\
143 \hline
144 \datestrut \Su & 16 &20 & 19 & 16 & 21 & 18 \\
145 \hline \hline
146 \datestrut \Mo & 17 &21 & 20 & 17 & 22 & 19 \\
147 \hline
148 \datestrut \Tu & 18 &22 & 21 & 18 & 23 & 20 \\
149 \hline
150 \datestrut \We & 19 &23 & 22 & 19 & 24 & 21 \\
151 \hline
152 \datestrut \Th & 20 &24 & 23 & 20 & 25 & 22 \\
153 \hline
154 \datestrut \Fr & 21 &25 & 24 & 21 & 26 & 23 \\
155 \hline
156 \datestrut \Sa & 22 &26 & 25 & 22 & 27 & 24 \\
157 \hline
158 \datestrut \Su & 23 &27 & 26 & 23 & 28 & 25 \\
159 \hline \hline
160 \datestrut \Mo & 24 &28 & 27 & 24 & 29 & 26 \\
161 \hline
162 \datestrut \Tu & 25 &29 & 28 & 25 & 30 & 27 \\
163 \hline
164 \datestrut \We & 26 & & 29 & 26 & 31 & 28 \\
165 \cline{1-2}\cline{4-7}
166 \datestrut \Th & 27 & & 30 & 27 & & 29 \\
167 \cline{1-2}\cline{4-5}\cline{7-7}
168 \datestrut \Fr & 28 & & 31 & 28 & & 30 \\
169 \cline{1-2}\cline{4-5}\cline{7-7}
170 \datestrut \Sa & 29 & & & 29 & & \\
171 \cline{1-2}\cline{5-5}
172 \datestrut \Su & 30 & & & 30 & & \\
173 \hline\hline
174 \datestrut \Mo & 31 & & & & & \\
175 \hline
176 \end{tabular}
177 {\ } \\
178 \textsc{ctan}/macros/latex/contrib/other/yplan/%
179 yplan00A.tex% \hfill\hbox{\copyright\ 2000\ RWD Nickalls}
180 \end{table}
181 %-----------------
182 \end{document}