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.
26 lines
653 B
26 lines
653 B
7 years ago
|
%Usage \begin{quotebox}[options][color]
|
||
|
\DeclareTColorBox{quotebox}{O{} O{quoteboxcolor}}{%
|
||
|
before upper={\nottoggle{justified}{\RaggedRight}},
|
||
|
code={\linespread{1.25}},
|
||
|
enhanced jigsaw,
|
||
|
frame hidden,
|
||
|
boxrule=0pt,
|
||
|
breakable,
|
||
|
enhanced,
|
||
|
before skip=10pt plus 1pt,
|
||
|
boxsep=0.25ex,
|
||
|
left=8pt,
|
||
|
right=8pt,
|
||
|
colback={#2},
|
||
|
arc=0mm,
|
||
|
parbox=false,
|
||
|
borderline west={1pt}{-0.5pt}{titlered},
|
||
|
borderline east={1pt}{-0.5pt}{titlered},
|
||
|
fontupper=\jebba@BoxBodyFont,
|
||
|
overlay={%
|
||
|
\foreach\n in {north east,north west,south east,south west}
|
||
|
{\draw[titlered, fill=titlered] (frame.\n) circle (2pt); }; },
|
||
|
after={\vspace{7.5pt plus 1pt}\noindent},
|
||
|
#1
|
||
|
}
|