This commit is contained in:
Domipoke
2026-07-29 16:19:18 +02:00
parent ebfb2ea8a3
commit 5914265dc5
2 changed files with 5 additions and 3 deletions
-3
View File
@@ -33,9 +33,6 @@ jobs:
entrypoint: sh
args: >-
-c "mkdir -p pdf aux .texcache/texmf-var .texcache/xdg &&
apt-get update -y &&
apt-get install -y pipx &&
pipx install pygments &&
for f in ${{ steps.roots.outputs.roots }}; do
echo Building $f;
latexmk -xelatex -shell-escape -interaction=nonstopmode -halt-on-error -outdir=pdf -auxdir=aux \"$f\" || exit 1;
+5
View File
@@ -82,12 +82,17 @@ delim_0 ",\~"
\renewcommand*{\sectionformat}{\colorbox{black}{\textcolor{white}{\thesection\autodot}}\enskip}
\renewcommand*{\sectionlinesformat}[4]{\makebox[0pt][l]{\rule[-\fboxsep-\fboxrule]{\textwidth}{\fboxrule}}#3\parbox[b]{0.85\textwidth}{\linespread{1}\selectfont#4}}
% minted
\RequirePackage{minted}
\setmonofont{JetBrains Mono}
\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, linenos, bgcolor=codeBg}
\AtBeginEnvironment{minted}{%
\color{monokaitext}%
}
% Define purple colors
\definecolor{notaDark}{RGB}{106, 27, 154} % Dark purple for header