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
|
|
|
|
}
|
|
|
|
|
|
|
|
\providecommand{\addchap}[2][]{%
|
|
|
|
\addcontentsline{toc}{chapter}{#2}
|
|
|
|
\huge{\bfseries #2}
|
|
|
|
}
|
|
|
|
|
2016-11-26 16:38:22 +01:00
|
|
|
\providecommand{\procOpts}{%
|
|
|
|
\ifthenelse{\boolean{printDraft}}{%
|
|
|
|
\setboolean{printKalendar}{false}
|
|
|
|
\setboolean{printWochen}{false}
|
|
|
|
}{
|
|
|
|
\setboolean{printKalendar}{true}
|
|
|
|
\setboolean{printWochen}{true}
|
|
|
|
}
|
|
|
|
}
|
2016-10-27 17:03:15 +02:00
|
|
|
|
|
|
|
\providecommand{\front}{%
|
|
|
|
\frontmatter
|
|
|
|
\chead{}
|
|
|
|
\ihead{\chaptermark}
|
|
|
|
\ohead{\normalfont\Title}
|
|
|
|
\cfoot{}
|
|
|
|
}
|
|
|
|
\providecommand{\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
|
|
|
}
|
|
|
|
\providecommand{\anhang}{%
|
|
|
|
\clearpage
|
|
|
|
\appendix
|
|
|
|
}
|
|
|
|
|
|
|
|
\providecommand{\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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
\WithSuffix\providecommand\mkUrl*[2][]{%
|
|
|
|
\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-11-26 01:41:54 +01:00
|
|
|
\providecommand{\printLogbuchTag}[2][]{%
|
|
|
|
\begin{minipage}{0.32\textwidth}
|
|
|
|
\centering
|
|
|
|
\begin{logbuchTag}{#2}
|
|
|
|
\faecher
|
|
|
|
\end{logbuchTag}
|
|
|
|
\end{minipage}
|
|
|
|
}
|
|
|
|
\providecommand{\printLogbuchTagDi}[2][]{%
|
|
|
|
\begin{minipage}{0.32\textwidth}
|
|
|
|
\centering
|
|
|
|
\begin{logbuchTag}{#2}
|
|
|
|
\faecher[4]
|
|
|
|
\end{logbuchTag}
|
|
|
|
\begin{logbuchZusatz}{Extras}
|
|
|
|
something awesome will appear here
|
|
|
|
\vspace{6.5cm}
|
|
|
|
\end{logbuchZusatz}
|
|
|
|
\end{minipage}
|
|
|
|
}
|
|
|
|
\providecommand{\printLogbuchSpalte}[2][6]{%
|
|
|
|
\begin{minipage}{0.32\textwidth}
|
|
|
|
\centering
|
|
|
|
\begin{logbuchTag}{#2}
|
|
|
|
something awesome will appear here
|
|
|
|
\vspace{0.9\textheight}
|
|
|
|
\end{logbuchTag}
|
|
|
|
\end{minipage}
|
|
|
|
}
|
2016-11-26 16:38:22 +01:00
|
|
|
\providecommand{\printLogbuchZiel}{%
|
|
|
|
%\vspace{-0.25em}%
|
|
|
|
\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,
|
|
|
|
fonttitle=\bfseries,
|
|
|
|
title={Mein Wochenziel:},
|
|
|
|
]{\hspace{0.95\linewidth} }%
|
|
|
|
\end{center}\vspace*{-3em}%
|
|
|
|
}
|
2016-11-26 01:41:54 +01:00
|
|
|
\newtcolorbox{logbuchZusatz}[1]{%
|
|
|
|
colback=white!98!black,%
|
|
|
|
left=1mm,
|
|
|
|
right=1mm,
|
|
|
|
fonttitle=\bfseries,
|
|
|
|
title={#1},
|
|
|
|
}
|
|
|
|
\newtcolorbox{logbuchTag}[1]{%
|
|
|
|
colback=white!98!black,%
|
|
|
|
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,
|
|
|
|
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,
|
|
|
|
}
|
|
|
|
\providecommand{\faecher}[1][6]{%
|
|
|
|
\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}
|
|
|
|
|
|
|
|
\usym{1F610}
|
|
|
|
|
|
|
|
\usym{1F642}
|
|
|
|
|
|
|
|
\usym{1F603}
|
2016-11-26 01:41:54 +01:00
|
|
|
\end{logbuchFach}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
\providecommand{\logbuchWoche}[6][3]{%
|
|
|
|
\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-10-27 18:59:50 +02:00
|
|
|
|
2016-11-25 18:56:00 +01:00
|
|
|
% **********************************************************************
|
|
|
|
% Macros für den Kalendar
|
|
|
|
% **********************************************************************
|
2016-10-27 18:59:50 +02:00
|
|
|
\providecommand{\ferien}{}
|
|
|
|
\providecommand{\feiertage}{}
|
|
|
|
\providecommand{\termine}{}
|
|
|
|
\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}
|
|
|
|
}
|
|
|
|
\providecommand{\schulkal}[3][0.96]{%
|
|
|
|
\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
|
|
|
|
\providecommand{\termin}[3][]{
|
|
|
|
\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}};
|
|
|
|
}
|
|
|
|
}
|