I am currently trying to insert a batch file programming code in my report. I am using the code listing. I am not able to add new lines to format my code! I have following code example yet:
\begin{lstlisting}[escapechar=ä]
ä\colorbox{white}{\color{RoyalBlue}\texttt{Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.}}ä
The output is like this in a single line which I don't prefer: Microsoft Windows Version 6.2.9200 2012 Microsoft Corporation. All rights reserved.
The output I desire should be:
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
I have tried to use inserting newline by using \\, \newline etc. after first line, nothing helped me.
Any suggestion from you are welcome. Please note that latex's code listing(Supported languages) doesn't support Batch file programming language syntax.

\colorbox– daleif Aug 16 '13 at 13:39