[OS X TeX] Typesetting program code in LaTeX - what packages to use?
Luís Sequeira
lfsequeira at gmail.com
Wed Apr 9 11:49:13 EDT 2025
Dear All
Apologies for this question that is only tangentially mac related.
I like the minted package to typeset Python or other code in LaTeX, it's straightforward to use,
includes syntax coloring and looks beautiful.
However, it does requires external programs and the --shell-escape option to typeset.
There is no problem when using it for my own work in TeXShop, but I have students that use school computers where the software installation and modification is not easy, or possible.
What alternatives can you recommend? The only one I could find is the old lstlistings package, but its output is downright ugly, and lacks syntax coloring (unless I'm missing something...).
TIA
Regards
Luís Sequeira
More information about the MacOSX-TeX
mailing list