Hi, Recently I am trying to put some VHDL codes in a report written by Latex. Although I have found some information about how to do it I could not apply it in the report. My aim is not to use the Verbatim style, I want to write some piece of code and add caption to it. For that purpose listing package seems to be the most suitable package for doing it but it does not truly represent the code. I wonder how you guys are doing such things. The page which I mostly used about this was http://en.wikibooks.org/wiki/LaTeX/Packages/Listings and if you are interested, I can also send my "wrong compiling" piece of writing. Thanks in advance, Enes.