%% MINTED \usepackage{minted} % code listings \usepackage{xpatch,letltxmacro} \LetLtxMacro{\cminted}{\minted} \let\endcminted\endminted \xpretocmd{\cminted}{\RecustomVerbatimEnvironment{Verbatim}{BVerbatim}{}}{}{} \newminted{ini}{frame=leftline,autogobble=true,framesep=2mm} \newminted{python}{frame=leftline,autogobble=true,framesep=2mm} \newminted{c}{frame=leftline,autogobble=true,framesep=2mm} \newminted{matlab}{frame=leftline,autogobble=true,framesep=2mm}