add recap env to style file

This commit is contained in:
Maximilian Keßler 2022-02-17 13:26:42 +01:00
parent e7e392af44
commit d23ddcc33c

View file

@ -13,3 +13,12 @@
\newcommand{\gkl}[1]{\left\{ #1 \right\}}
\newcommand{\kl}[1]{\left( #1 \right) }
\usepackage[skins]{tcolorbox}
\newtcolorbox{recap}{before skip = 0.5cm, after skip = 0.5cm, enhanced, sharp corners = all, colback = white, colframe = gray, toprule=0pt, bottomrule=0pt, leftrule=0pt,rightrule=0pt, overlay = {
\draw[gray, line width = 2pt] (frame.north west) -- ++(0.5cm, 0pt);
\draw[gray, line width=2pt] (frame.south east) -- ++(-0.5cm, 0pt);
\draw[gray, line width=2pt] (frame.north west) -- ++ (0pt, -0.5cm);
\draw[gray, line width=2pt] (frame.south east) -- ++(0pt, 0.5cm);
}}