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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user