I am trying to include some Maple code in a LaTeX using the minted
package. I know it is not possible to choose Maple as programming language, so I am trying to find a substitute that looks somewhat similar, with red color for instance and blue color for output.
Also, is it possible to define your own language and make it look like Maple code?
Best Answer
you could use the
listings
package if what you have is just code. It does not have the definition for Maple, however, lucky for you, Alexander Shapiro already ran into that problem. The following is taken from Here, and should go in your preamble.If you want to include whole worksheets with inputs and outputs, then look into
maple2e
. The file maple2e.sty is supplied by Maplesoft, and you should move it to the proper folder on your machine look here for instructions.Documentation of
maple2e
can be found Here and here.