From 585d105e905744802b40b3a7f6c9ba6d87a1f3ad Mon Sep 17 00:00:00 2001 From: mjkwiatkowski Date: Fri, 3 Jul 2026 16:46:07 +0200 Subject: feat: added the lslistings for source and sinks for confluent kafka --- style/style.tex | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'style/style.tex') diff --git a/style/style.tex b/style/style.tex index 032d0ed..87990f6 100644 --- a/style/style.tex +++ b/style/style.tex @@ -1,7 +1,7 @@ \usepackage[T1]{fontenc} \usepackage[inline]{enumitem} \usepackage[dvipsnames]{xcolor} -\usepackage{xspace,hyperref, lipsum, booktabs, caption, fancyhdr, footmisc, nomencl, rotating, setspace, subfigure,tocbibind, vmargin, watermark, graphicx, pifont, float, array, ipsum, circledsteps, inconsolata} +\usepackage{xspace,hyperref, lipsum, booktabs, caption, fancyhdr, footmisc, nomencl, rotating, setspace, subfigure,tocbibind, vmargin, watermark, graphicx, pifont, float, array, ipsum, circledsteps, inconsolata, listings} \hypersetup { hidelinks=false, @@ -31,4 +31,28 @@ \newcommand{\BibTeX}{\textsc{B\kern-0.1emi\kern-0.017emb}\kern-0.15em\TeX\xspace} +\definecolor{codegreen}{rgb}{0,0.6,0} +\definecolor{codegray}{rgb}{0.2,0.2,0.2} +\definecolor{codepurple}{rgb}{0.58,0,0.82} +\definecolor{backcolour}{rgb}{1.2,1.2,0.95} +\lstdefinestyle{mystyle}{ + backgroundcolor=\color{backcolour}, + commentstyle=\color{codegreen}, + keywordstyle=\color{magenta}, + numberstyle=\tiny\color{codegray}, + stringstyle=\color{codepurple}, + basicstyle=\ttfamily\footnotesize, + breakatwhitespace=false, + breaklines=true, + captionpos=b, + keepspaces=true, + numbers=left, + numbersep=5pt, + showspaces=false, + showstringspaces=false, + showtabs=false, + tabsize=2 +} + +\lstset{style=mystyle} -- cgit v1.2.3