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

% etoolbox is needed for our common options
\RequirePackage{etoolbox}

\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}

\input{common_options.tex}

\LoadClass{scrartcl}

\input{common_packages.tex}
\input{common.tex}

\geometry{margin=1.5cm, nohead}

\pagestyle{empty}
\setlength\parindent{0pt}

\def\zz@title{\@latex@error{No \noexpand\title given}\@ehc}
\newcommand{\makedate}{\section*{
\ifx\zz@title\@title
% do nothing
\else
\@title
\fi
\hfill Datum: \phantom{1.1.1900}}}