2016-10-27 17:03:15 +02:00
|
|
|
\renewcommand{\maketitle}[1][top=6cm,bottom=4cm,inner=1.5cm,outer=1.5cm]{%
|
|
|
|
\begin{titlepage}
|
|
|
|
\newgeometry{#1}
|
|
|
|
\begin{center}
|
|
|
|
\Huge{\bfseries\Title}
|
|
|
|
|
|
|
|
\vspace{3em}
|
|
|
|
|
|
|
|
\begin{minipage}{0.7\textwidth}
|
|
|
|
\Large{Name:} \luecke{8cm}
|
|
|
|
|
|
|
|
\vspace{2em}
|
|
|
|
|
|
|
|
\Large{Klasse:} \luecke{4cm}
|
|
|
|
\end{minipage}
|
|
|
|
|
|
|
|
\vspace{2em}
|
|
|
|
|
|
|
|
\Large{Schuljahr \Schuljahr}
|
|
|
|
\end{center}
|
|
|
|
|
|
|
|
\vfil
|
|
|
|
\hrule
|
|
|
|
\vspace{2em}
|
|
|
|
|
|
|
|
\begin{minipage}{0.5\textwidth}
|
|
|
|
\includegraphics[width=\textwidth]{\LogoFront}
|
|
|
|
\end{minipage}
|
|
|
|
\hfil
|
|
|
|
\begin{minipage}{0.45\textwidth}
|
2016-11-25 18:56:00 +01:00
|
|
|
\huge{\bfseries \GenordForm\linebreak \GenordName}
|
2016-10-27 17:03:15 +02:00
|
|
|
\end{minipage}
|
|
|
|
\end{titlepage}
|
|
|
|
\restoregeometry
|
|
|
|
}
|
|
|
|
|
2016-12-15 17:23:50 +01:00
|
|
|
\renewcommand{\addchap}[2][]{%
|
2016-10-27 17:03:15 +02:00
|
|
|
\addcontentsline{toc}{chapter}{#2}
|
|
|
|
\huge{\bfseries #2}
|
|
|
|
}
|
|
|
|
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\procOpts}{%
|
2016-11-26 16:38:22 +01:00
|
|
|
\ifthenelse{\boolean{printDraft}}{%
|
|
|
|
\setboolean{printKalendar}{false}
|
|
|
|
\setboolean{printWochen}{false}
|
|
|
|
}{
|
|
|
|
\setboolean{printKalendar}{true}
|
|
|
|
\setboolean{printWochen}{true}
|
|
|
|
}
|
|
|
|
}
|
2016-10-27 17:03:15 +02:00
|
|
|
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\front}{%
|
2016-10-27 17:03:15 +02:00
|
|
|
\frontmatter
|
|
|
|
\chead{}
|
|
|
|
\ihead{\chaptermark}
|
|
|
|
\ohead{\normalfont\Title}
|
|
|
|
\cfoot{}
|
|
|
|
}
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\hauptteil}{%
|
2016-11-26 01:41:54 +01:00
|
|
|
%\clearpage
|
|
|
|
{
|
|
|
|
\let\cleardoublepage\relax
|
|
|
|
\let\clearpage\relax
|
|
|
|
\mainmatter
|
|
|
|
}
|
2016-10-27 17:03:15 +02:00
|
|
|
}
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\anhang}{%
|
2016-10-27 17:03:15 +02:00
|
|
|
\clearpage
|
|
|
|
\appendix
|
|
|
|
}
|
|
|
|
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\wochen}[2][]{%
|
2016-11-26 01:41:54 +01:00
|
|
|
%\clearpage
|
2016-10-27 17:03:15 +02:00
|
|
|
\addcontentsline{toc}{chapter}{Wochenübersichten}
|
|
|
|
\input{#2}
|
|
|
|
}
|
2016-10-27 18:59:50 +02:00
|
|
|
|
2016-11-26 01:41:54 +01:00
|
|
|
\ProvideDocumentCommand{\mkUrl}{O{} m o}{%
|
2016-11-25 18:56:00 +01:00
|
|
|
\url{#1#2} \marginpar{%
|
|
|
|
\qrcode[height=4em,nolinks]{#1#2}
|
|
|
|
\IfNoValueF{#3}{
|
|
|
|
\tiny #3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-15 17:23:50 +01:00
|
|
|
\WithSuffix\newcommand\mkUrl*[2][]{%
|
2016-11-25 18:56:00 +01:00
|
|
|
\hyperlink{#1#2}{#2}
|
|
|
|
}
|
2016-11-26 16:38:22 +01:00
|
|
|
\ProvideDocumentCommand{\mkUrlCode}{O{} m o O{5em} O{4em}}{%
|
|
|
|
\begin{minipage}{#4}
|
2016-11-25 18:56:00 +01:00
|
|
|
\centering
|
2016-11-26 16:38:22 +01:00
|
|
|
\qrcode[height=#5,nolinks]{#1#2}
|
2016-11-25 18:56:00 +01:00
|
|
|
\IfNoValueF{#3}{
|
|
|
|
\tiny #3
|
|
|
|
}
|
|
|
|
\end{minipage}
|
|
|
|
}
|
2016-11-26 16:38:22 +01:00
|
|
|
% **********************************************************************
|
|
|
|
% Macros für Kontakt
|
|
|
|
% **********************************************************************
|
|
|
|
\newtcolorbox{kontaktbox}[2][]{%
|
|
|
|
left=2mm,
|
|
|
|
fonttitle=\bfseries,
|
|
|
|
title={#2},
|
|
|
|
#1
|
|
|
|
}
|
2016-11-25 18:56:00 +01:00
|
|
|
|
|
|
|
% **********************************************************************
|
2016-11-26 01:41:54 +01:00
|
|
|
% Macros für Wochenübersicht
|
2016-11-25 18:56:00 +01:00
|
|
|
% **********************************************************************
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\printWochenuebersicht}[3][Wochenübersicht]{%
|
|
|
|
\ifthenelse{\boolean{printWochen}}{%
|
|
|
|
\newgeometry{%includefoot,includehead,
|
|
|
|
top=0.75cm,
|
|
|
|
bottom=0.5cm,
|
|
|
|
inner=1.5cm,
|
|
|
|
outer=1cm,
|
|
|
|
}
|
|
|
|
\pagestyle{empty}
|
|
|
|
|
|
|
|
%\printLogbuchWoche{\jahrEins-09-04}{\jahrEins-09-09}
|
|
|
|
\pgfcalendar{}{#2}{#3}
|
|
|
|
{\ifdate{Monday}{\printLogbuchTagMo{%
|
|
|
|
\pgfcalendarweekdayname{\pgfcalendarcurrentweekday},%
|
|
|
|
\pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
|
|
|
|
}\hfil%
|
|
|
|
}{}%
|
|
|
|
\ifdate{Tuesday}{\printLogbuchTagDi{%
|
|
|
|
\pgfcalendarweekdayname{\pgfcalendarcurrentweekday},%
|
|
|
|
\pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
|
|
|
|
}\hfil%
|
|
|
|
}{}%
|
|
|
|
\ifdate{Wednesday}{\printLogbuchTagMi{%
|
|
|
|
\pgfcalendarweekdayname{\pgfcalendarcurrentweekday},%
|
|
|
|
\pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
|
|
|
|
}\pagebreak%
|
|
|
|
}{}%
|
|
|
|
\ifdate{Thursday}{\printLogbuchTagDo{%
|
|
|
|
\pgfcalendarweekdayname{\pgfcalendarcurrentweekday},%
|
|
|
|
\pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
|
|
|
|
}\hfil%
|
|
|
|
}{}%
|
|
|
|
\ifdate{Friday}{\printLogbuchTagFr{%
|
|
|
|
\pgfcalendarweekdayname{\pgfcalendarcurrentweekday},%
|
|
|
|
\pgfcalendarcurrentday.\pgfcalendarcurrentmonth%
|
|
|
|
}%
|
|
|
|
}{}%
|
|
|
|
}
|
|
|
|
|
|
|
|
\clearpage
|
|
|
|
\pagestyle{scrheadings}
|
|
|
|
\restoregeometry
|
|
|
|
}{
|
|
|
|
\clearpage
|
|
|
|
\begin{center}
|
|
|
|
\Huge{#1 1}
|
|
|
|
\end{center}
|
|
|
|
\clearpage
|
|
|
|
\begin{center}
|
|
|
|
\Huge{#1 2}
|
|
|
|
\end{center}
|
|
|
|
\clearpage
|
|
|
|
}
|
2016-11-26 21:43:06 +01:00
|
|
|
}
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\printLogbuchTagMo}[2][]{%
|
2016-11-26 21:43:06 +01:00
|
|
|
\begin{minipage}{\textwidth}
|
|
|
|
\printLogbuchZiel
|
|
|
|
\end{minipage}\\[0.5em]
|
2016-12-15 17:23:50 +01:00
|
|
|
\begin{minipage}[t]{0.32\textwidth}
|
2016-11-26 01:41:54 +01:00
|
|
|
\centering
|
|
|
|
\begin{logbuchTag}{#2}
|
|
|
|
\faecher
|
|
|
|
\end{logbuchTag}
|
|
|
|
\end{minipage}
|
|
|
|
}
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\printLogbuchTagDi}[2][]{%
|
|
|
|
\begin{minipage}[b]{0.32\textwidth}
|
2016-11-26 01:41:54 +01:00
|
|
|
\centering
|
|
|
|
\begin{logbuchTag}{#2}
|
2016-11-26 21:43:06 +01:00
|
|
|
\faecher[5]
|
2016-11-26 01:41:54 +01:00
|
|
|
\end{logbuchTag}
|
|
|
|
\begin{logbuchZusatz}{Extras}
|
|
|
|
something awesome will appear here
|
2016-11-26 21:43:06 +01:00
|
|
|
\vspace{1.6cm}
|
2016-11-26 01:41:54 +01:00
|
|
|
\end{logbuchZusatz}
|
|
|
|
\end{minipage}
|
|
|
|
}
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\printLogbuchTagMi}[2][]{%
|
|
|
|
\begin{minipage}[t]{0.32\textwidth}
|
|
|
|
\centering
|
|
|
|
\begin{logbuchTag}{#2}
|
|
|
|
\faecher
|
|
|
|
\end{logbuchTag}
|
|
|
|
\end{minipage}
|
|
|
|
}
|
|
|
|
\newcommand{\printLogbuchTagDo}[2][]{%
|
|
|
|
\begin{minipage}[b]{0.32\textwidth}
|
|
|
|
\centering
|
|
|
|
\begin{logbuchTag}{#2}
|
|
|
|
\faecher
|
|
|
|
\end{logbuchTag}
|
|
|
|
\begin{logbuchZusatz}[height=1.5cm,]{Kenntnissnahme}
|
|
|
|
%\textbf{Wochenziel:}
|
|
|
|
|
|
|
|
%\arbeitshaltungEmojis
|
|
|
|
%\tcblower
|
|
|
|
%\vspace{0.6cm}
|
|
|
|
|
|
|
|
\vspace{0.5cm}
|
|
|
|
|
|
|
|
\begin{minipage}{0.31\textwidth}
|
|
|
|
\centering
|
|
|
|
\luecke{\linewidth}
|
|
|
|
|
|
|
|
\footnotesize Schüler\_in
|
|
|
|
\end{minipage}\hfil
|
|
|
|
\begin{minipage}{0.31\textwidth}
|
|
|
|
\centering
|
|
|
|
\luecke{\linewidth}
|
|
|
|
|
|
|
|
\footnotesize Lehrkraft
|
|
|
|
\end{minipage}\hfil
|
|
|
|
\begin{minipage}{0.31\textwidth}
|
|
|
|
\centering
|
|
|
|
\luecke{\linewidth}
|
|
|
|
\footnotesize Eltern
|
|
|
|
\end{minipage}
|
|
|
|
\end{logbuchZusatz}
|
2016-11-26 21:43:06 +01:00
|
|
|
\end{minipage}
|
|
|
|
}
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\printLogbuchTagFr}[2][]{%
|
|
|
|
\begin{minipage}[b]{0.32\textwidth}
|
|
|
|
\centering
|
|
|
|
\begin{logbuchTag}{#2}
|
|
|
|
\faecher[5]
|
|
|
|
\end{logbuchTag}
|
|
|
|
\begin{logbuchZusatz}[width=2.05\textwidth]{Wochenfeedback}
|
|
|
|
\feldLin[0.77cm]{6}
|
|
|
|
\end{logbuchZusatz}
|
|
|
|
\end{minipage}\hfil
|
|
|
|
\printLogbuchSpalte
|
|
|
|
}
|
|
|
|
\newcommand{\printLogbuchSpalte}{%
|
|
|
|
\begin{minipage}[b]{0.32\textwidth}
|
2016-11-26 01:41:54 +01:00
|
|
|
\centering
|
2016-11-26 21:43:06 +01:00
|
|
|
\begin{logbuchZusatz}{Mitteilungen Eltern}
|
|
|
|
\feldLin[0.8cm]{8}
|
|
|
|
\vspace{-0.4cm}
|
|
|
|
\chb\ Weitere Mitteilungen S.\,\pageref{mitteilungen}
|
|
|
|
\vspace{0.4cm}
|
|
|
|
\end{logbuchZusatz}
|
|
|
|
|
|
|
|
\begin{logbuchZusatz}{Vereinbarungen Logbuchgespräch}
|
2016-12-15 17:23:50 +01:00
|
|
|
\feldLin[0.8cm]{6}
|
2016-11-26 21:43:06 +01:00
|
|
|
\vspace{-0.5cm}
|
|
|
|
\end{logbuchZusatz}
|
|
|
|
|
|
|
|
\begin{logbuchZusatz}{Feedback}
|
|
|
|
\begin{smallitemize}
|
|
|
|
\item Arbeitshaltung
|
|
|
|
|
|
|
|
\arbeitshaltungEmojis
|
|
|
|
\item Freundlich und Fair
|
|
|
|
|
|
|
|
\arbeitshaltungEmojis
|
|
|
|
\item Material
|
|
|
|
|
|
|
|
\arbeitshaltungEmojis
|
|
|
|
% \item Logbuch
|
|
|
|
%
|
|
|
|
% \arbeitshaltungEmojis
|
|
|
|
\end{smallitemize}
|
|
|
|
\end{logbuchZusatz}
|
2016-12-15 17:23:50 +01:00
|
|
|
\begin{logbuchZusatz}[upperbox=invisible,tikz={opacity=0,transparency group}]{Wochenfeedback}
|
|
|
|
\feldLin[0.77cm]{6}
|
|
|
|
\end{logbuchZusatz}
|
2016-11-26 01:41:54 +01:00
|
|
|
\end{minipage}
|
2016-11-26 21:43:06 +01:00
|
|
|
}
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\arbeitshaltungEmojis}{%
|
2016-11-26 21:43:06 +01:00
|
|
|
\usym{1F641} \hspace{0.5em} \usym{1F610} \hspace{0.5em} \usym{1F642} \hspace{0.5em} \usym{1F603}
|
2016-11-26 01:41:54 +01:00
|
|
|
}
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\printLogbuchZiel}{%
|
2016-11-26 16:38:22 +01:00
|
|
|
\begin{center}
|
|
|
|
\tcbox[%
|
|
|
|
enhanced,
|
|
|
|
attach boxed title to top left = {xshift=2mm,yshift=-2mm},
|
|
|
|
colback=white!98!black,%
|
|
|
|
height=1.5cm,
|
|
|
|
left=1mm,
|
|
|
|
right=1mm,
|
2016-11-26 21:43:06 +01:00
|
|
|
drop lifted shadow,
|
2016-11-26 16:38:22 +01:00
|
|
|
fonttitle=\bfseries,
|
|
|
|
title={Mein Wochenziel:},
|
2016-11-26 21:43:06 +01:00
|
|
|
]{\hspace{0.95\linewidth}}%
|
|
|
|
\end{center}
|
|
|
|
}
|
|
|
|
\newtcolorbox{logbuchZusatz}[2][]{%
|
|
|
|
enhanced,
|
|
|
|
attach boxed title to top left = {xshift=2mm,yshift=-2mm},
|
|
|
|
colback=white!98!black,%
|
|
|
|
drop lifted shadow,
|
2016-11-26 01:41:54 +01:00
|
|
|
left=1mm,
|
|
|
|
right=1mm,
|
|
|
|
fonttitle=\bfseries,
|
2016-11-26 21:43:06 +01:00
|
|
|
center title,
|
|
|
|
minipage boxed title=3.5cm,
|
|
|
|
%colback=white!98!black,%
|
|
|
|
fonttitle=\bfseries,
|
|
|
|
title={#2},
|
|
|
|
#1
|
2016-11-26 01:41:54 +01:00
|
|
|
}
|
|
|
|
\newtcolorbox{logbuchTag}[1]{%
|
2016-11-26 21:43:06 +01:00
|
|
|
colback=white!98!black,%
|
|
|
|
drop shadow southeast,
|
2016-11-26 01:41:54 +01:00
|
|
|
left=1mm,
|
|
|
|
right=1mm,
|
|
|
|
fonttitle=\bfseries,
|
|
|
|
title={#1},
|
|
|
|
}
|
|
|
|
\newtcolorbox{logbuchFach}[1]{%
|
|
|
|
enhanced,
|
|
|
|
attach boxed title to top left = {xshift=2mm,yshift=-2mm},
|
|
|
|
sharp corners=downhill,
|
2016-11-26 21:43:06 +01:00
|
|
|
drop small lifted shadow,
|
2016-11-26 01:41:54 +01:00
|
|
|
colback=white!93!black,
|
2016-11-26 16:38:22 +01:00
|
|
|
sidebyside=true,
|
|
|
|
righthand width=0.8cm,
|
|
|
|
sidebyside gap=3mm,
|
|
|
|
flushright lower,
|
2016-11-26 01:41:54 +01:00
|
|
|
left=1mm,
|
|
|
|
right=1mm,
|
|
|
|
top=4mm,
|
|
|
|
skin=bicolor,
|
|
|
|
colbacklower=white!85!black,
|
|
|
|
halign lower=center,
|
|
|
|
leftlower=4mm,
|
|
|
|
rightlower=4mm,
|
|
|
|
title=#1,
|
|
|
|
}
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\faecher}[1][6]{%
|
2016-11-26 01:41:54 +01:00
|
|
|
\foreach\n in {1,...,#1}{%
|
|
|
|
\begin{logbuchFach}{\n.\,Stunde}
|
|
|
|
\textbf{Fach:}
|
2016-10-27 18:59:50 +02:00
|
|
|
|
2016-11-26 16:38:22 +01:00
|
|
|
\feldLin[0.6cm]{3}
|
|
|
|
\vspace{-0.5cm}
|
2016-11-26 01:41:54 +01:00
|
|
|
\tcblower
|
2016-11-26 16:38:22 +01:00
|
|
|
\usym{1F641}
|
2016-11-26 21:43:06 +01:00
|
|
|
|
|
|
|
\vspace{0.5em}
|
|
|
|
|
2016-11-26 16:38:22 +01:00
|
|
|
\usym{1F610}
|
|
|
|
|
2016-11-26 21:43:06 +01:00
|
|
|
\vspace{0.5em}
|
|
|
|
|
2016-11-26 16:38:22 +01:00
|
|
|
\usym{1F642}
|
|
|
|
|
2016-11-26 21:43:06 +01:00
|
|
|
\vspace{0.5em}
|
|
|
|
|
2016-11-26 16:38:22 +01:00
|
|
|
\usym{1F603}
|
2016-11-26 01:41:54 +01:00
|
|
|
\end{logbuchFach}
|
|
|
|
}
|
|
|
|
}
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\logbuchWoche}[6][3]{%
|
2016-11-26 01:41:54 +01:00
|
|
|
\newcounter{logbuchTagNummer}
|
|
|
|
\setcounter{logbuchTagNummer}{0}
|
|
|
|
\foreach\name in {#2,#3,#4,#5,#6}{%
|
|
|
|
\refstepcounter{logbuchTagNummer}
|
|
|
|
\begin{minipage}{0.32\textwidth}
|
|
|
|
\centering
|
|
|
|
\begin{logbuchTag}{\name}
|
|
|
|
\faecher
|
|
|
|
\end{logbuchTag}
|
|
|
|
\end{minipage}
|
|
|
|
\ifthenelse{\value{logbuchTagNummer}<#1\OR\(\value{logbuchTagNummer}>#1\AND\value{logbuchTagNummer}<5\)}{%
|
|
|
|
\hfil
|
|
|
|
}{}
|
|
|
|
}
|
|
|
|
}
|
2016-12-15 17:46:14 +01:00
|
|
|
% **********************************************************************
|
2016-12-15 18:06:53 +01:00
|
|
|
% Macros für Mitteilungen
|
|
|
|
% **********************************************************************
|
|
|
|
\newcommand{\mitteilungen}[1][20cm]{%
|
|
|
|
\begin{center}
|
|
|
|
\renewcommand{\arraystretch}{1.75}
|
|
|
|
\begin{tabular}{p{3cm}|p{3cm}|p{8cm}}
|
|
|
|
\textbf{Datum} & \textbf{Lehrkraft} & \textbf{Mitteilung}\\\hline
|
|
|
|
\begin{minipage}{2cm} \vspace{#1} \end{minipage} & & \\
|
|
|
|
\end{tabular}
|
|
|
|
\renewcommand{\arraystretch}{1}
|
|
|
|
\end{center}
|
|
|
|
}
|
|
|
|
% **********************************************************************
|
2016-12-15 17:46:14 +01:00
|
|
|
% Macros für Entschuldigungen
|
|
|
|
% **********************************************************************
|
|
|
|
\newcommand{\abwesenheitBox}[1][11]{%
|
|
|
|
\foreach\lauf in {1,...,#1}{%
|
|
|
|
\begin{tcolorbox}[%
|
|
|
|
%left=2mm,
|
|
|
|
]
|
|
|
|
\centering\doublespacing
|
|
|
|
Mein Kind war/wird vom \luecke{2.6cm} bis \luecke{2.6cm} aus folgendem Grund
|
|
|
|
|
|
|
|
\luecke{0.9\linewidth}
|
|
|
|
|
|
|
|
abwesend (sein).
|
|
|
|
\hfil
|
|
|
|
\begin{minipage}{0.5\textwidth}
|
|
|
|
\centering
|
|
|
|
\vspace{2.25em}
|
|
|
|
\luecke{\linewidth}
|
|
|
|
\footnotesize Unterschrift Erziehungsberechtigte(r), Datum
|
|
|
|
\end{minipage}
|
|
|
|
\end{tcolorbox}
|
|
|
|
|
|
|
|
\vfil
|
|
|
|
}
|
|
|
|
}
|
2016-10-27 18:59:50 +02:00
|
|
|
|
2016-11-25 18:56:00 +01:00
|
|
|
% **********************************************************************
|
|
|
|
% Macros für den Kalendar
|
|
|
|
% **********************************************************************
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\ferien}{}
|
|
|
|
\newcommand{\feiertage}{}
|
|
|
|
\newcommand{\termine}{}
|
2016-10-27 18:59:50 +02:00
|
|
|
\newenvironment{schulkalendar}[2][top=0.5cm,bottom=0.5cm,outer=1.5cm]{%
|
|
|
|
\newgeometry{#1}
|
|
|
|
\pagestyle{empty}
|
|
|
|
\addcontentsline{toc}{chapter}{#2}
|
|
|
|
\newboolean{schulkalendarSeiteOne}
|
|
|
|
\setboolean{schulkalendarSeiteOne}{true}
|
|
|
|
\newcommand{\calName}{}
|
|
|
|
}{%
|
|
|
|
\restoregeometry
|
|
|
|
\pagestyle{scrheadings}
|
|
|
|
}
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\schulkal}[3][0.96]{%
|
2016-10-27 18:59:50 +02:00
|
|
|
\rotatebox{90}{%
|
|
|
|
\scalebox{#1}{%
|
|
|
|
\begin{tikzpicture}[every day/.style={anchor = north}]
|
|
|
|
\ifthenelse{\boolean{schulkalendarSeiteOne}}{%
|
|
|
|
\renewcommand{\calName}{first}
|
|
|
|
}{%
|
|
|
|
\renewcommand{\calName}{scnd}
|
|
|
|
}
|
|
|
|
\calendar[%
|
|
|
|
dates=#2,
|
|
|
|
name=\calName,
|
|
|
|
day yshift = 3em,
|
|
|
|
day code=
|
|
|
|
{
|
|
|
|
\node[name=\pgfcalendarsuggestedname,every day,shape=rectangle,
|
|
|
|
minimum height= .53cm, text width = 4.4cm, draw = gray]{\tikzdaytext};
|
|
|
|
\draw (-1.8cm, -.1ex) node[anchor = west]{\footnotesize%
|
|
|
|
\pgfcalendarweekdayshortname{\pgfcalendarcurrentweekday}};
|
|
|
|
},
|
|
|
|
execute before day scope=
|
|
|
|
{
|
|
|
|
\ifdate{day of month=1}
|
|
|
|
{
|
|
|
|
% Shift right
|
|
|
|
\pgftransformxshift{4.8cm}
|
|
|
|
% Print month name
|
|
|
|
\draw (0,0)node [shape=rectangle, minimum height= .53cm,
|
|
|
|
text width = 4.4cm, fill = red, text= white, draw = red, text centered]
|
|
|
|
{\textbf{\pgfcalendarmonthname{\pgfcalendarcurrentmonth}}};
|
|
|
|
}{}
|
|
|
|
\ifdate{workday}
|
|
|
|
{
|
|
|
|
\ferien
|
|
|
|
}{}
|
|
|
|
\ifdate{Saturday}{\tikzset{every day/.style={fill=red!10}}}{}
|
|
|
|
\ifdate{Sunday}{\tikzset{every day/.style={fill=red!20}}}{}
|
|
|
|
\feiertage
|
|
|
|
},
|
|
|
|
execute at begin day scope=
|
|
|
|
{
|
|
|
|
% each day is shifted down according to the day of month
|
|
|
|
\pgftransformyshift{-.53*\pgfcalendarcurrentday cm}
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
\termine
|
|
|
|
\end{tikzpicture}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
\setboolean{schulkalendarSeiteOne}{false}
|
|
|
|
\clearpage
|
|
|
|
}
|
|
|
|
% Names of Holidays are inserted by employing this macro
|
2016-12-15 17:23:50 +01:00
|
|
|
\newcommand{\termin}[3][]{
|
2016-10-27 18:59:50 +02:00
|
|
|
\ifthenelse{\boolean{schulkalendarSeiteOne}}{%
|
|
|
|
\node [anchor=north west, text width= 3.4cm] at
|
|
|
|
($(first-#2.north west)+(3em, 0em)$) {\tiny{#3}};
|
|
|
|
}{%
|
|
|
|
\node [anchor=north west, text width= 3.4cm] at
|
|
|
|
($(scnd-#2.north west)+(3em, 0em)$) {\tiny{#3}};
|
|
|
|
}
|
|
|
|
}
|