diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2023-04-24 11:31:31 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2023-04-24 11:31:31 +0200 |
| commit | 35d739edafcfdecfb4f02bebc5a8e41201d55a88 (patch) | |
| tree | 93fd820c1f29625eef768f37117b7053499d40b7 /latex/handout.cls | |
| parent | eca6267ce15a94a9013d3b793550ea72fc2d524b (diff) | |
| download | unterricht-35d739edafcfdecfb4f02bebc5a8e41201d55a88.tar.gz unterricht-35d739edafcfdecfb4f02bebc5a8e41201d55a88.zip | |
improve latex classes
* pass options to the underling KOMA script
* introduce new drawborder option for test
* fix test header always printing Mathematik
* increase \Ende shrinking if PlatzKnapp is defined
* add command to not include the shamrock image
Diffstat (limited to 'latex/handout.cls')
| -rw-r--r-- | latex/handout.cls | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/latex/handout.cls b/latex/handout.cls index 5943769a..8d9fb7b1 100644 --- a/latex/handout.cls +++ b/latex/handout.cls @@ -1,13 +1,19 @@ \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_options.tex} \input{common.tex} -\geometry{a4paper,margin=1cm,nohead} +\geometry{a4paper, margin=1cm, nohead} \newcommand{\solution}[1]{ \iftoggle{lehrerversion}{ |
