

*)īecause inter-word spaces are omitted upon export. Avoid comments in Mathematica code of the type (*.(that's poor man's bold, and it deserves the name) The Mathematica function TeXForm produces a LaTeX representation of a syntactically correctĮxpression, often trying to apply conventional typesetting rules. Create LaTeX code from arbitrary Mathematica expressions:.This is a selective approach that works well when you aren't interested in moving text between Mathematica and LaTeX, only equations: If you're not interested in using LaTeX, look instead at converting Mathematica formulas to PDF. Although LaTeX code is semantically ambiguous, it can serve as a bridge connecting these applications. In going back and forth between Mathematica and LyX, it's convenient that both of them understand LaTeX. This is the reason why I do the bulk of my writing in LyX – it is not only a LaTeX frontend, but it moreover leaves you immense freedom to customize and export the document. because important editor functions (such citation management, and publication-ready PDF output) are missing. However, for larger documents, I find that impractical. Some people prefer to do all their writing in Mathematica. Here is some information on how to convert formulas from Mathematica to LaTeX and vice versa (see also this post).įor my writing I always use LyX, a LaTeX editor and front end that can format equations while you type them. Editing, copying and pasting Mathematica equations via LaTeX
