more scripts

This commit is contained in:
2025-02-20 14:39:53 +01:00
parent 2ad7ef62df
commit 763bb52070
4 changed files with 50 additions and 0 deletions

24
listings-setup.tex Normal file
View File

@@ -0,0 +1,24 @@
\usepackage{xpatch,realboxes}
\usepackage{xcolor}
\definecolor{Light}{HTML}{F4F4F4}
\lstset{
basicstyle=\ttfamily,
extendedchars=true
numbers=left,
numberstyle=\tiny\ttfamily,
backgroundcolor=\color[RGB]{248,197,196},
showstringspaces=false,
tabsize=2,
columns=fixed,
frame=trbl,
frameround=tttt,
framesep=7pt,
breaklines=true, postbreak=\raisebox{0ex}[0ex][0ex]{\ensuremath{\color{red}\hookrightarrow\space}}
}
\makeatletter
\xpretocmd\lstinline{\Colorbox{Light}\bgroup\appto\lst@DeInit{\egroup}}{}{}
\makeatother