aboutsummaryrefslogtreecommitdiff
path: root/latex/common_planning.tex
blob: cf50ba48d799632e754794abd23b303583a8b277 (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
\RequirePackage{longtable}

\geometry{a4paper, margin=2cm}
\pagestyle{empty}

\rowcolors{2}{gray!10}{gray!25}

\newcommand{\SectionColor}{green!30}
\newcommand{\HolidayColor}{blue!30}
\newcommand{\CancellationColor}{red!30}
\newcommand{\TestColor}{orange!30}
\newcommand{\HintColor}{yellow!30}

\newcommand{\SectionRowColor}{\rowcolor{\SectionColor}}
\newcommand{\HolidayRowColor}{\rowcolor{\HolidayColor}}
\newcommand{\CancellationRowColor}{\rowcolor{\CancellationColor}}
\newcommand{\TestRowColor}{\rowcolor{\TestColor}}
\newcommand{\HintRowColor}{\rowcolor{\HintColor}}

\newcommand{\PlanningKlasse}{X}
\newcommand{\PlanningLehrbuch}{?}
\newcommand{\PlanningStart}{?}
\newcommand{\PlanningEnd}{?}

\newcommand{\Klasse}[1]{\renewcommand{\PlanningKlasse}{#1}}
\newcommand{\Lehrbuch}[1]{\renewcommand{\PlanningLehrbuch}{#1}}
\newcommand{\Start}[1]{\renewcommand{\PlanningStart}{#1}}
\newcommand{\End}[1]{\renewcommand{\PlanningEnd}{#1}}

\newcommand{\PlanningIntro}[1]{%
\section*{#1 der Klasse \PlanningKlasse{}}
\begin{itemize}
	\item \textbf{Lehrbuch}: \PlanningLehrbuch
	\item \textbf{Start}: \PlanningStart
	\item \textbf{Ende}: \PlanningEnd
\end{itemize}
}