When I compile this:
\documentclass{article}
\usepackage{listings}
\lstset{language=[R/3 6.10]ABAP,
breaklines=true,}
\begin{document}
\lstinline|METHODS print_number IMPORTING VALUE(iv_number) TYPE i.|
\end{document}
The space between (iv_number)
and TYPE
is gobbled. It is not even there when copy & pasting. This seems to be related to the breaklines option. For my actual document I would need that option. Is there some global method to solve the problem? I would prefer that to writing \lstinline[breaklines=f]|METHODS print_number IMPORTING VALUE(iv_number) TYPE i.|
everytime.
minted
instead oflistings
. I usedlistings
before and had to manually set a lot of things thatminted
does out of the box.listings
problem may have been the better solution ;D