add recap env to style file
This commit is contained in:
parent
e7e392af44
commit
d23ddcc33c
1 changed files with 9 additions and 0 deletions
|
@ -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);
|
||||
}}
|
||||
|
|
Loading…
Reference in a new issue