aboutsummaryrefslogtreecommitdiff
path: root/latex/sequence.cls
blob: 8592f44ca8ba770f958f6ca5905478dc4873ec31 (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
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{sequence}[muhq's simple sequence class]

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
\LoadClass{scrartcl}

\input{common_packages.tex}
\input{common_planning.tex}

\newenvironment{sequence}{
\PlanningIntro{Sequenzplan}

\begin{center}
\begin{longtable}{c c c c c}
Woche & Datum & LP-Abschnitt & Std. LP-A. & Unterrichtseinheit \\
\hline
}{
\end{longtable}
\end{center}
}

\newcommand{\Holiday}[3]{\HolidayRowColor #1 & #2 & \multicolumn{3}{c}{#3}}
\newcommand{\Section}[1]{\SectionRowColor\multicolumn{5}{c}{#1}}
\newcommand{\Cancellation}[2]{\CancellationRowColor #1 & #2 & \multicolumn{3}{c}{Ausfall}}