81 lines
2.9 KiB
TeX
81 lines
2.9 KiB
TeX
\renewcommand{\ferien}{%
|
|
% normal days are white
|
|
\tikzset{every day/.style={fill=white}}
|
|
|
|
% SOMMERFERIEN I
|
|
\ifdate{between=\jahrEins-08-1 and \jahrEins-08-29}{%
|
|
\tikzset{every day/.style={fill=gray!30}}}{}
|
|
% HERBST
|
|
\ifdate{between=\jahrEins-10-23 and \jahrEins-11-3}{%
|
|
\tikzset{every day/.style={fill=gray!30}}}{}
|
|
% WEIHNACHTEN
|
|
\ifdate{between=\jahrEins-12-27 and \jahrZwei-01-05}{%
|
|
\tikzset{every day/.style={fill=gray!30}}}{}
|
|
% OSTERN
|
|
\ifdate{between=\jahrZwei-03-26 and \jahrZwei-04-06}{%
|
|
\tikzset{every day/.style={fill=gray!30}}}{}
|
|
% PFINGSTEN
|
|
\ifdate{between=\jahrZwei-05-22 and \jahrZwei-05-25}{%
|
|
\tikzset{every day/.style={fill=gray!30}}}{}
|
|
% SOMMERFERIEN II
|
|
\ifdate{between=\jahrZwei-07-16 and \jahrZwei-08-28}{%
|
|
\tikzset{every day/.style={fill=gray!30}}}{}
|
|
}
|
|
|
|
\renewcommand{\feiertage}{%
|
|
% Saturdays and half holidays (Christma's and New year's eve)
|
|
\ifdate{equals=12-24}{\tikzset{every day/.style={fill=red!10}}}{}
|
|
\ifdate{equals=12-31}{\tikzset{every day/.style={fill=red!10}}}{}
|
|
% Sundays and full holidays
|
|
\ifdate{equals=01-01}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
\ifdate{equals=01-06}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
\ifdate{equals=05-01}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
\ifdate{equals=10-03}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
\ifdate{equals=11-01}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
\ifdate{equals=12-25}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
\ifdate{equals=12-26}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
% Christian holidays
|
|
\ifdate{equals=\jahrZwei-03-30}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
\ifdate{equals=\jahrZwei-04-02}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
\ifdate{equals=\jahrZwei-05-20}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
\ifdate{equals=\jahrZwei-05-21}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
% \ifdate{equals=\jahrZwei-05-30}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
}
|
|
|
|
\renewcommand{\termine}{%
|
|
\ifthenelse{\boolean{schulkalendarSeiteOne}}{%
|
|
% Print name of Holidays
|
|
\termin{\jahrEins-11-01}{Allerheiligen}
|
|
\termin{\jahrEins-12-24}{Heiligabend}
|
|
\termin{\jahrEins-12-25}{1.\,Weihnachtsfeiertag}
|
|
\termin{\jahrEins-12-26}{2.\,Weihnachtsfeiertag}
|
|
\termin{\jahrZwei-01-01}{Neujahr}
|
|
\termin{\jahrZwei-01-06}{Heilige Drei Könige}
|
|
}{%
|
|
\termin{\jahrZwei-05-01}{Tag der Arbeit}
|
|
|
|
\termin{\jahrZwei-03-30}{Karfreitag}
|
|
\termin{\jahrZwei-04-01}{Ostersonntag}
|
|
\termin{\jahrZwei-04-02}{Ostermontag}
|
|
%\termin{2013-05-09}{Christi Himmelfahrt}
|
|
\termin{\jahrZwei-05-20}{Pfingstsonntag}
|
|
\termin{\jahrZwei-05-21}{Pfingstmontag}
|
|
%\termin{2013-05-30}{Fronleichnam}
|
|
}
|
|
}
|
|
|
|
\ifthenelse{\boolean{printKalendar}}{%
|
|
\begin{schulkalendar}{Schulkalendar}
|
|
\schulkal{\jahrEins-08-01 to \jahrZwei-01-31}{first}
|
|
\schulkal{\jahrZwei-02-01 to \jahrZwei-07-31}{second}
|
|
\end{schulkalendar}
|
|
}{
|
|
\begin{center}
|
|
\Huge{Kalendar 1}
|
|
\end{center}
|
|
\clearpage
|
|
\begin{center}
|
|
\Huge{Kalendar 2}
|
|
\end{center}
|
|
\clearpage
|
|
}
|