aboutsummaryrefslogtreecommitdiff
path: root/latex/common_planning.tex
blob: a76e715bb2688839e2c6f5308feade6821b15a34 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
\RequirePackage{longtable}
% Workaround because hyperxmp complains that hyperref must be previously loaded
\RequirePackage{hyperref}
% Default License is CC BY-SA 4.0
\RequirePackage[
  type={CC},
  modifier={by-sa},
  version={4.0},
]{doclicense}

\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}
}

\newcommand{\PlanningOutro}{%
\vfill%
\doclicenseThis%
}