diff options
| -rw-r--r-- | latex/common_planning_options.tex | 10 | ||||
| -rw-r--r-- | latex/map.cls | 1 | ||||
| -rw-r--r-- | latex/sequence.cls | 1 |
3 files changed, 12 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 +}{} diff --git a/latex/map.cls b/latex/map.cls index 0e4b93e1..a3b164a2 100644 --- a/latex/map.cls +++ b/latex/map.cls @@ -5,6 +5,7 @@ \ProcessOptions\relax \LoadClass{scrartcl} +\input{common_planning_options.tex} \input{common_packages.tex} \input{common_planning.tex} diff --git a/latex/sequence.cls b/latex/sequence.cls index cc4e9fb0..4c28cc78 100644 --- a/latex/sequence.cls +++ b/latex/sequence.cls @@ -5,6 +5,7 @@ \ProcessOptions\relax \LoadClass{scrartcl} +\input{common_planning_options.tex} \input{common_packages.tex} \input{common_planning.tex} |
