Debian Codegraph @

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

raw
1 %% yplan00b.tex
2 %% Vertical Year planner calendar (July to December 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 %% Default language: english with uppercase months
57 \def\January{JANUARY}
58 \def\February{FEBRUARY}
59 \def\March{MARCH}
60 \def\April{APRIL}
61 \def\May{MAY}
62 \def\June{JUNE}
63 \def\July{JULY}
64 \def\August{AUGUST}
65 \def\September{SEPTEMBER}
66 \def\October{OCTOBER}
67 \def\November{NOVEMBER}
68 \def\December{DECEMBER}
69 \def\Mo{Mo}
70 \def\Tu{Tu}
71 \def\We{We}
72 \def\Th{Th}
73 \def\Fr{Fr}
74 \def\Sa{Sa}
75 \def\Su{Su}
76 \def\leapyear{\textsc{leap year}}
77 %%
78 %%
79 \newcommand{\monthstrut}{\rule{0pt}{12pt}}
80 %% \monthstrut controls the white space above the month.
81 %%
82 \newcommand{\datestrut}{\rule{0pt}{12pt}}
83 %% \datestrut controls the white space above the date.
84 %%--------------------------------------
85 \begin{document}
86 %%---------------
87 %% no pagenumbering
88 \thispagestyle{empty}
89 %%--------------------
90 \begin{table}
91 \hspace{1cm}{\LARGE 2000}\hspace{8mm}\leapyear\\
92 {\ } \\
93 \begin{tabular}{|c||p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|}
94 \hline
95 \multicolumn{1}{|c||}{\monthstrut\ } &
96 \multicolumn{1}{|c|}{\July} &
97 \multicolumn{1}{|c|}{\August} &
98 \multicolumn{1}{|c|}{\September} &
99 \multicolumn{1}{|c|}{\October} &
100 \multicolumn{1}{|c|}{\November} &
101 \multicolumn{1}{|c|}{\December} \\
102 \hline
103 \hline
104 %% July Aug Sept Oct Nov Dec
105 \datestrut \Mo & & & & & & \\
106 \cline{1-1}\cline{3-3}
107 \datestrut \Tu & & 1 & & & & \\
108 \cline{1-1}\cline{3-3}\cline{6-6}
109 \datestrut \We & & 2 & & & 1 & \\
110 \cline{1-1}\cline{3-3}\cline{6-6}
111 \datestrut \Th & & 3 & & & 2 & \\
112 \cline{1-1}\cline{3-4}\cline{6-7}
113 \datestrut \Fr & & 4 & 1 & & 3 & 1 \\
114 \cline{1-4}\cline{6-7}
115 \datestrut \Sa & 1 & 5 & 2 & & 4 & 2 \\
116 \hline
117 \datestrut \Su & 2 & 6 & 3 & 1 & 5 & 3 \\
118 \hline\hline
119 \datestrut \Mo & 3 & 7 & 4 & 2 & 6 & 4 \\
120 \hline
121 \datestrut \Tu & 4 & 8 & 5 & 3 & 7 & 5 \\
122 \hline
123 \datestrut \We & 5 & 9 & 6 & 4 & 8 & 6 \\
124 \hline
125 \datestrut \Th & 6 & 10 & 7 & 5 & 9 & 7 \\
126 \hline
127 \datestrut \Fr & 7 & 11 & 8 & 6 & 10 & 8 \\
128 \hline
129 \datestrut \Sa & 8 & 12 & 9 & 7 & 11 & 9 \\
130 \hline
131 \datestrut \Su & 9 & 13 & 10 & 8 & 12 & 10 \\
132 \hline\hline
133 \datestrut \Mo & 10 & 14 & 11 & 9 & 13 & 11 \\
134 \hline
135 \datestrut \Tu & 11 & 15 & 12 & 10 & 14 & 12 \\
136 \hline
137 \datestrut \We & 12 & 16 & 13 & 11 & 15 & 13 \\
138 \hline
139 \datestrut \Th & 13 & 17 & 14 & 12 & 16 & 14 \\
140 \hline
141 \datestrut \Fr & 14 & 18 & 15 & 13 & 17 & 15 \\
142 \hline
143 \datestrut \Sa & 15 & 19 & 16 & 14 & 18 & 16 \\
144 \hline
145 \datestrut \Su & 16 & 20 & 17 & 15 & 19 & 17 \\
146 \hline\hline
147 \datestrut \Mo & 17 & 21 & 18 & 16 & 20 & 18 \\
148 \hline
149 \datestrut \Tu & 18 & 22 & 19 & 17 & 21 & 19 \\
150 \hline
151 \datestrut \We & 19 & 23 & 20 & 18 & 22 & 20 \\
152 \hline
153 \datestrut \Th & 20 & 24 & 21 & 19 & 23 & 21 \\
154 \hline
155 \datestrut \Fr & 21 & 25 & 22 & 20 & 24 & 22 \\
156 \hline
157 \datestrut \Sa & 22 & 26 & 23 & 21 & 25 & 23 \\
158 \hline
159 \datestrut \Su & 23 & 27 & 24 & 22 & 26 & 24 \\
160 \hline\hline
161 \datestrut \Mo & 24 & 28 & 25 & 23 & 27 & 25 \\
162 \hline
163 \datestrut \Tu & 25 & 29 & 26 & 24 & 28 & 26 \\
164 \hline
165 \datestrut \We & 26 & 30 & 27 & 25 & 29 & 27 \\
166 \hline
167 \datestrut \Th & 27 & 31 & 28 & 26 & 30 & 28 \\
168 \hline
169 \datestrut \Fr & 28 & & 29 & 27 & & 29 \\
170 \cline{1-2}\cline{4-5}\cline{7-7}
171 \datestrut \Sa & 29 & & 30 & 28 & & 30 \\
172 \cline{1-2}\cline{4-5}\cline{7-7}
173 \datestrut \Su & 30 & & & 29 & & 31 \\
174 \hline\hline
175 \datestrut \Mo & 31 & & & 30 & & \\
176 \cline{1-2}\cline{5-5}
177 \datestrut \Tu & & & & 31 & & \\
178 \hline
179 \end{tabular}
180 {\ } \\
181 \textsc{ctan}/macros/latex/contrib/other/yplan/%
182 yplan00B.tex% \hfill\hbox{\copyright\ 2000\ RWD Nickalls}
183 \end{table}
184 %--------------
185 \end{document}