79 lines
2.8 KiB
TeX
79 lines
2.8 KiB
TeX
|
\renewcommand{\ferien}{%
|
||
|
% normal days are white
|
||
|
\tikzset{every day/.style={fill=white}}
|
||
|
|
||
|
% SOMMERFERIEN I
|
||
|
\ifdate{between=\jahrEins-08-1 and \jahrEins-08-23}{%
|
||
|
\tikzset{every day/.style={fill=gray!30}}}{}
|
||
|
% HERBST
|
||
|
\ifdate{between=\jahrEins-10-10 and \jahrEins-10-21}{%
|
||
|
\tikzset{every day/.style={fill=gray!30}}}{}
|
||
|
% WEIHNACHTEN
|
||
|
\ifdate{between=\jahrEins-12-23 and \jahrZwei-01-06}{%
|
||
|
\tikzset{every day/.style={fill=gray!30}}}{}
|
||
|
% OSTERN
|
||
|
\ifdate{between=\jahrZwei-04-10 and \jahrZwei-04-21}{%
|
||
|
\tikzset{every day/.style={fill=gray!30}}}{}
|
||
|
% SOMMERFERIEN II
|
||
|
\ifdate{between=\jahrZwei-07-17 and \jahrZwei-08-29}{%
|
||
|
\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-04-14}{\tikzset{every day/.style={fill=red!20}}}{}
|
||
|
\ifdate{equals=\jahrZwei-04-17}{\tikzset{every day/.style={fill=red!20}}}{}
|
||
|
\ifdate{equals=\jahrZwei-06-05}{\tikzset{every day/.style={fill=red!20}}}{}
|
||
|
\ifdate{equals=\jahrZwei-06-15}{\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-04-14}{Karfreitag}
|
||
|
\termin{\jahrZwei-04-16}{Ostersonntag}
|
||
|
\termin{\jahrZwei-04-17}{Ostermontag}
|
||
|
%\termin{2013-05-09}{Christi Himmelfahrt}
|
||
|
\termin{\jahrZwei-06-04}{Pfingstsonntag}
|
||
|
\termin{\jahrZwei-06-05}{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
|
||
|
}
|