X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=preamble%2Flistings.tex;h=e975b3de444f2b8be7847d1914a1cd3e48f8c613;hb=b8ed2f5d652345859c8cb9daf48116a2c1a32c48;hp=dd77b3eea4d54ccc026e917a8785aabc0a0075f9;hpb=5702796e5885e85b9e8dcc0d5160dccb9386b05f;p=phd-thesis.git diff --git a/preamble/listings.tex b/preamble/listings.tex index dd77b3e..e975b3d 100644 --- a/preamble/listings.tex +++ b/preamble/listings.tex @@ -20,13 +20,12 @@ backgroundcolor=\color{lstbg}, keepspaces=true, keywordstyle=\bf, - postbreak=\mbox{\textcolor{gray}{$\hookrightarrow$}\space}, showspaces=false, showstringspaces=false, showtabs=false, stringstyle=\it, tabsize=4, -% upquote=true, + upquote=true, numberstyle=\tiny, } \usepackage{preamble/lstlangclean} @@ -98,3 +97,11 @@ % Fix the algorithm font \renewcommand\AlCapFnt{\normalfont} +\makeatletter +\patchcmd{\lsthk@SelectCharTable}{% + \lst@ifbreaklines\lst@Def{`)}{\lst@breakProcessOther)}\fi + }{% + }{ + }{ + } +\makeatother