5
votes
3answers
418 views

Is it possible to compile minted under Emacs?

I am trying to use minted package... Here is an example minimal.tex: \documentclass{article} \usepackage{minted} \begin{document} \begin{minted}{c} int main() { printf("hello, world"); return 0; 4 } ...
8
votes
1answer
1k views

Package to indent and syntax highlight C++ code

I am looking for a package to have an environment for C++ source code, with options for syntax highlighting, automatic indentation, proper multipage behavior, etc. I read something about the listings ...