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