+
+% Pseudocode
+\usepackage[algochapter,linesnumbered,lined,boxed]{algorithm2e}
+% Fix the algorithm font
+\renewcommand\AlCapFnt{\normalfont}
+\setlength{\AlCapSkip}{1ex}
+
+\makeatletter
+\patchcmd{\lsthk@SelectCharTable}{%
+ \lst@ifbreaklines\lst@Def{`)}{\lst@breakProcessOther)}\fi
+ }{%
+ }{
+ }{
+ }
+\makeatother