Found this topic: https://stackoverflow.com/questions/741985/latex-source-code-listing-like-in-professional-books and I'm very satisfied with this soulution, it looks just great in a generated pdf file. But how can I do the same for source code that I insert to my *.tex file with \lstinputlisting? Thanks
Asked
Active
Viewed 981 times
2
Brian Brown
- 425
-
1Welcome to TeX.sx! – texenthusiast Apr 04 '13 at 15:44
-
5that is already shown in the example. – Apr 04 '13 at 15:45
-
1@Herbert: thank you so much! I don't know why I haven't noticed it before :) Now it's all clear. Cheers! – Brian Brown Apr 04 '13 at 15:48
-
1You can also upvote this. – kiss my armpit Apr 04 '13 at 15:52