diff options
author | Soispha <soispha@vhack.eu> | 2023-08-21 01:22:57 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-21 01:22:57 +0200 |
commit | 45de8092565c7dad945f80169aaa8883c9c2237f (patch) | |
tree | 8a321fbfaf3d49c140781a3ba9a4843a1e7d2dd2 /latex/headers | |
parent | Fix(rust/flake.nix): Add better interface to switch to nightly (diff) | |
download | flake-templates-45de8092565c7dad945f80169aaa8883c9c2237f.tar.gz flake-templates-45de8092565c7dad945f80169aaa8883c9c2237f.zip |
Fix(latex): Remove state full chapter files
Diffstat (limited to 'latex/headers')
-rw-r--r-- | latex/headers/preamble.tex | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/latex/headers/preamble.tex b/latex/headers/preamble.tex index 78903ef..9620808 100644 --- a/latex/headers/preamble.tex +++ b/latex/headers/preamble.tex @@ -201,7 +201,14 @@ \newcommand\hdsolution[1]{L\"osung versteckt} }{% \declaretheorem[numbered=no, style=thmsolution, name=L\"osung]{replacementSolution} - \newenvironment{solution}[1][]{\vspace{-1em}\begin{replacementSolution}[#1]}{\end{replacementSolution}} + + \NewEnviron{solution}[1][]{ + \vspace{-1em} + \begin{replacementSolution}[#1] + \ + \BODY + \end{replacementSolution} + } \newcommand\hdsolution[1]{#1} } \makeatother |