Tuesday, 28 May 2013

lstlisting line wrapping

lstlisting line wrapping

How is it possible to let lstlisting wrapp lines?
I've trouble with follogin block:
\begin{lstlisting}[language=java]
public class MeasureStationControllerV0Test {  
MeasureStationControllerV0 controller; 
MeasureStation ms = new MeasureStation();  
MeasureStationConfiguration config = new MeasureStationConfiguration();    
DataServer dataserver = new DataServer();
In pdf there is an overflow:
Other code-snippets look horrible too.
So have i to manually wrap them or is lslistings able to handle that?
Why does Syntax hilightening isn't working?

No comments:

Post a Comment