Skip to content

Commit 2fb76a8

Browse files
committed
Added longproof box
1 parent 0ba22e5 commit 2fb76a8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

notex.cls

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,24 @@
361361
},
362362
}
363363

364+
\newtcolorbox{longproof}{
365+
colback=proofBG!25,
366+
colframe=proofBG!90,
367+
enhanced,
368+
breakable,
369+
rounded corners=all,
370+
arc=1mm,
371+
sharp corners=north,
372+
leftrule=3mm,
373+
skin first=enhanced,
374+
skin middle=enhanced,
375+
skin last=enhanced,
376+
enlarge top by=-3.5mm,
377+
overlay={
378+
\node[rotate=90, anchor=east] at ([xshift=1.5mm, yshift=-1.1mm]frame.north west) {\boxdesc{Proof}};
379+
},
380+
}
381+
364382
\newtcolorbox{exercise}{
365383
title=\fontfamily{ppl}\selectfont{{\fontsize{8}{8}\selectfont \faPencil*} \; \thesection.\theexercisecounter \addtocounter{exercisecounter}{1}},
366384
coltitle=black,

0 commit comments

Comments
 (0)