Text Formatting ⇒ Listing style for technical report
Listing style for technical report
Can anyone suggest some neat style of listing for technical report presenting source code snippets ? What kind of frames, and so on.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Listing style for technical report
http://tug.ctan.org/tex-archive/help/Ca ... tings.html
It is language "aware" and can, optionally, highlight keywords in
different languages (C++, Python and so on).
There are many options for frames around the code, different fonts.
Personally, I've been displaying the code snippets with a gray background,
and no frame around it.
HTH
Adrian