so I'm working on some kind of home doc about git, and I want to insert some console output examples. I am working with TextMate. I have indented LaTeX code like any other normal source code to make it more readable. My question now is why get listings in my indented pdf and how do I prevent this.
Code example:
\begin{lstlisting}
$ git ls-files
README
TU_Logo_SW.pdf
beleg.pdf
beleg.tex
\end{lstlisting}
My file has one tab in front of \ begin and two in the following lines. When I run pdflatex, the code will be indented with two tabs in pdf. Quickfix - format all lists without indentation in my tex file, but this is pretty ugly; - (
paraa source
share