Ask Your Question

Sage syntax highligh for LaTeX

asked 2017-05-18 06:53:30 -0500

anonymous user


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?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-05-18 10:38:15 -0500

dazedANDconfused gravatar image

Dr William Stein, one of the developers of Sage, has a LaTeX source file online where he uses Sage code. The location of the file and basic instructions are found on the TeX StackExchange site, here.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-05-18 06:53:30 -0500

Seen: 34 times

Last updated: May 18