Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Is there a Mathematica-to-$\LaTeX$ converter, so that I can place Mathematica code, including things like A // MatrixForm, just as they are in the console straight into a $\LaTeX$ document?

share|improve this question
1  
Check out TexForm in the documentation. –  Markus Roellig May 29 '13 at 22:37
1  
Also there is File > Save As > TeX –  Daniel Lichtblau May 29 '13 at 22:56

3 Answers 3

TeXForm is indeed your friend. It even gives you nicely formatted code:

Table[RandomInteger[10], {3}, {4}] // TeXForm

gives

(* 
\left(
\begin{array}{cccc}
     9 & 5 & 10 & 9 \\
     6 & 10 & 3 & 9 \\
     9 & 5 & 9 & 7 \\
    \end{array}
\right)
*)
share|improve this answer
    
$\overset{\infty}{\smile}$ Ohhooooo... Thank you! –  Trancot May 30 '13 at 0:08

http://www.codecogs.com/latex/eqneditor.php

this website is very useful to help you write learn Latex. It's not hard to learn.

share|improve this answer

This works great for transferring expressions in Traditional Form.

Select an expression, Right-Click, Copy As, LaTeX. Paste it where you want.

You can even highlight part of a traditional form output and grab the LaTex. This also works for MathML in Mathematica 8.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.