Update Diss_OrdinaryPackages.tex

Added to the listings package options to make code copy-pastable from the pdf with proper whitespaces
This commit is contained in:
2025-09-29 12:29:03 +00:00
parent f919da7fea
commit 7f6a43b0df

View File

@@ -203,6 +203,8 @@ style=chapter% no part page
commentstyle=\itshape\ttfamily\small, commentstyle=\itshape\ttfamily\small,
showspaces=false, showspaces=false,
showstringspaces=false, showstringspaces=false,
columns=flexible,%https://tex.stackexchange.com/questions/19949/how-to-make-listings-code-indentation-remain-unchanged-when-copied-from-pdf
keepspaces=true,%https://tex.stackexchange.com/questions/19949/how-to-make-listings-code-indentation-remain-unchanged-when-copied-from-pdf
breaklines=true, breaklines=true,
breakautoindent=true, breakautoindent=true,
frame=single frame=single