From 3fd5f8fa221ad0e4ccdffbdef39d0a0088bd9937 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 20 Mar 2024 19:13:05 +0100 Subject: add common planning class options declaring the debug toggle --- latex/common_planning_options.tex | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 latex/common_planning_options.tex (limited to 'latex/common_planning_options.tex') 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 +}{} -- cgit v1.2.3