Add possibility to hide proofs

This commit is contained in:
Anton Mosich 2022-06-15 19:33:18 +02:00
parent ef4bd6a1e9
commit 2dfb8db4a8
Signed by: Flugschwein
GPG Key ID: 9303E1C32E3A14A0
1 changed files with 10 additions and 0 deletions

View File

@ -87,6 +87,16 @@
\newcommand\ontop[2]{\genfrac{}{}{0pt}{0}{#1}{#2}}
\newcommand\abs[1]{\left\lvert #1 \right\rvert}
\newif\ifhideproofs
%\hideproofstrue
\ifhideproofs
\usepackage{environ}
\NewEnviron{hide}{}
\let\proof\hide
\let\endproof\endhide
\fi
\begin{document}
\tikzset{%