Skip to content

Commit 87bcd18

Browse files
committed
Added quotebox
1 parent 37d5afe commit 87bcd18

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

notex.cls

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
\RequirePackage{titletoc} % Package for customizing toc
3434
\RequirePackage{fancyhdr} % Package for the HDR
3535
\RequirePackage{hyperref} % Package for links
36+
\RequirePackage{csquotes} % Package for quotes
3637

3738
\RequirePackage[T1]{fontenc} % Package for font encoding
3839
\RequirePackage{fouriernc} % Package with the font
@@ -138,6 +139,8 @@
138139

139140
}
140141

142+
\setquotestyle{quotes}
143+
141144
\contentsmargin{0cm}
142145
\titlecontents{chapter}[3.7pc]
143146
{\addvspace{30pt}
@@ -483,6 +486,32 @@
483486
},
484487
}
485488

489+
\newtcolorbox{quotebox}[1]{
490+
title=$\sim$ \textit{#1},
491+
coltitle=black!70,
492+
halign title=left,
493+
attach boxed title to bottom right = {
494+
xshift=-6mm,
495+
yshift=5mm,
496+
},
497+
boxed title style = {
498+
colback=white,
499+
},
500+
colback=white,
501+
colframe=white,
502+
enhanced,
503+
breakable,
504+
leftrule=3mm,
505+
bottomrule=5mm,
506+
enlarge top initially by=1.5mm,
507+
skin first=enhanced,
508+
skin middle=enhanced,
509+
skin last=enhanced,
510+
borderline west={5pt}{0pt}{gray},
511+
coltext=black!70,
512+
fontupper=\itshape
513+
}
514+
486515

487516
% LSTListing Style
488517

0 commit comments

Comments
 (0)