aboutsummaryrefslogtreecommitdiff
path: root/latex/common_planning_options.tex
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2024-03-20 19:13:05 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2024-03-20 19:13:05 +0100
commit3fd5f8fa221ad0e4ccdffbdef39d0a0088bd9937 (patch)
tree188c823ad3303aed3dfedc1a03f9ce65b5cf3d80 /latex/common_planning_options.tex
parentee334962c53fcb469015298878b46d40034008ae (diff)
downloadunterricht-3fd5f8fa221ad0e4ccdffbdef39d0a0088bd9937.tar.gz
unterricht-3fd5f8fa221ad0e4ccdffbdef39d0a0088bd9937.zip
add common planning class options declaring the debug toggle
Diffstat (limited to 'latex/common_planning_options.tex')
-rw-r--r--latex/common_planning_options.tex10
1 files changed, 10 insertions, 0 deletions
diff --git a/latex/common_planning_options.tex b/latex/common_planning_options.tex
new file mode 100644
index 00000000..5207ca72
--- /dev/null
+++ b/latex/common_planning_options.tex
@@ -0,0 +1,10 @@
+\RequirePackage{etoolbox}
+
+\newtoggle{debug}
+\DeclareOption{debug}{\toggletrue{debug}}
+
+\ProcessOptions\relax
+
+\iftoggle{debug}{
+ \RequirePackage{showframe} % Seitenlayout anzeigen
+}{}