aboutsummaryrefslogtreecommitdiff
path: root/latex/handout.cls
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-04-24 11:31:31 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-04-24 11:31:31 +0200
commit35d739edafcfdecfb4f02bebc5a8e41201d55a88 (patch)
tree93fd820c1f29625eef768f37117b7053499d40b7 /latex/handout.cls
parenteca6267ce15a94a9013d3b793550ea72fc2d524b (diff)
downloadunterricht-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.cls10
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}{