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.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
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