Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Sage syntax highligh for LaTeX

I want to include some Sage code snippets to my LaTeX paper, but I don't know what's the best way to achieve Sage syntax highlight in LaTeX. I mean one can always use Python syntax highlight, but then again Sage comes with a plenty of unique functions, and some syntax differences compared with Python. What's a good way to achieve Sage syntax highlight in LaTeX document?