start document
This commit is contained in:
+29
-1
@@ -84,4 +84,32 @@ delim_0 ",\~"
|
||||
|
||||
\RequirePackage{minted}
|
||||
\setmonofont{JetBrains Mono}
|
||||
\usemintedstyle{monokai}
|
||||
\usemintedstyle{monokai}
|
||||
\definecolor{codeBg}{HTML}{282822} % Monokai's dark background color
|
||||
\setmintedinline{fontsize=\small, linenos, frame=single, framesep=2mm, bgcolor=codeBg}
|
||||
\setminted{fontsize=\small, framesep=2mm, lineos}
|
||||
|
||||
% Create the Nota environment
|
||||
\newtcolorbox{nota}{
|
||||
enhanced,
|
||||
breakable,
|
||||
colback = notaLight,
|
||||
colframe = notaFrame,
|
||||
colbacktitle = notaDark,
|
||||
coltitle = white,
|
||||
title = \textbf{Nota},
|
||||
fonttitle = \large\bfseries,
|
||||
attach boxed title to top left = {xshift=5mm, yshift=-2mm},
|
||||
boxed title style = {
|
||||
size = small,
|
||||
colback = notaDark,
|
||||
sharp corners,
|
||||
boxrule = 0pt,
|
||||
},
|
||||
sharp corners,
|
||||
boxrule = 1pt,
|
||||
left = 5mm,
|
||||
right = 5mm,
|
||||
top = 3mm,
|
||||
bottom = 3mm,
|
||||
}
|
||||
Reference in New Issue
Block a user