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

closed as too localized by Gonzalo Medina, Mensch, Claudio Fiandrino, Werner, Speravir Apr 4 '13 at 18:38

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Welcome to TeX.sx! – texenthusiast Apr 4 '13 at 15:44
  • 5
    that is already shown in the example. – user2478 Apr 4 '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 4 '13 at 15:48
  • 1
    You can also upvote this. – kiss my armpit Apr 4 '13 at 15:52

Browse other questions tagged or ask your own question.