[Tex/LaTex] Are there any tools that convert Mathematica code into LaTeX code

tikz-3dplotwolfram-mathematica

My roommate knows Mathematica. He draw 3-d graph for each term of (a+b)^3 = a^3 + 3a^2b + 3ab^2 + b^3. He doesn't know LaTeX. I want to write his thesis document in LaTeX. So, If there is a tool that converts Mathematica code into LaTeX, that would be easier for me than write the same things in LaTeX from scratch.

Best Answer

You can copy-and-paste LaTeX directly from a Mathematica notebook:

enter image description here

It is assumed the content is math-related, so non-math functions are set using \text (requires amsmath).

Related Question