You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
489 B

%Usage \begin{commentbox}[options]{title}[color]
\DeclareTColorBox{commentbox}{O{} m O{commentboxcolor}}{%
before upper={\nottoggle{justified}{\RaggedRight}},
frame hidden,
boxrule=0pt,
breakable,
enhanced,
before skip=8pt plus 1pt,
toptitle=3mm,
boxsep=0.25ex,
left=8pt,
right=8pt,
arc=0mm,
fonttitle=\jebba@BoxTitleFont\color{black},
fontupper=\jebba@BoxBodyFont,
title={#2},
parbox=false,
colback={#3},
colbacktitle={#3},
after={\vspace{5pt plus 1pt}\noindent},
#1
}