Quantcast
Channel: What's the best way to typeset C++ codes in latex? - TeX - LaTeX Stack Exchange
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by G. Poore for What's the best way to typeset C++ codes in latex?

Here's how I'd do it with my PythonTeX package, which uses the Python Pygments library for highlighting. The PythonTeX package provides a listings environment, using newfloat. I've created a command...

View Article



Image may be NSFW.
Clik here to view.

Answer by Thanos for What's the best way to typeset C++ codes in latex?

Recently I have finished my thesis, and I added an appendix with some CINT (C/C++) code. I used listings package, adding those lines on my...

View Article

What's the best way to typeset C++ codes in latex?

I'm participating in a programming contest and we are allowed to prepare a team reference document which must not exceed 25 pages. Typically we will prepare many code templates and this year I'm trying...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images