Skip to main content
53 votes
Accepted

How to convert the $\LaTeX$ format to Mathematica input?

You can use ToExpression. ToExpression["string", TeXForm, HoldForm] Paste your content inside quotes and click the ...
materia-nigra's user avatar
21 votes
Accepted

Transitioning to Mathematica Documents from $\LaTeX$

Since no one dares an answer, let me make some statements that you probably won't like since you seem keen to switch to Mathematica. I don't think this is a good idea. It is just not the right tool ...
halirutan's user avatar
  • 113k
19 votes

$\LaTeX$ and Mathematica

Endorsing Szabolcs' excellent $MaTeX$ package as a way to manage $\LaTeX$ in $Mathematica$ but with an addition that for me at least has removed the significant irritant of having to escape ...
Ronald Monson's user avatar
16 votes
Accepted

Is it possible to change/customize some conversions done by TeXForm?

You could use my TeXUtilities package: ...
jkuczm's user avatar
  • 15.1k
15 votes
Accepted

Need help translating Mathematica code to LaTeX

This is not answer, but an extended comment that displays a graphic. The code you post in your question does not work in any recent version of Mathematica. It is syntactically and semantically ...
m_goldberg's user avatar
  • 108k
15 votes

Get LaTeX form from step by step solution

...
kglr's user avatar
  • 399k
14 votes
Accepted

Replicating $\LaTeX$'s pgfplot Style in Mathematica

I noticed that for plots like this you get a significantly better performance when rotating the Graphics3D if you keep the answer inside a ...
Jason B.'s user avatar
  • 69.2k
13 votes
Accepted

Analyzing citations with Mathematica

This answer has two proposed solutions one with a dedicated parser the other using conversion to JSON. The programming of the JSON conversion happened three times faster. (But it was also done earlier ...
Anton Antonov's user avatar
13 votes

How to use $\LaTeX$ in Mathematica text

Question not clear. But to insert Latex Matrix (or any other latex output, such as equations etc..) in textcell using the notebook, here is an example. If OP does not want to use the notebook at all, ...
Nasser's user avatar
  • 147k
12 votes
Accepted

Is it possible to write time derivatives with the dot notation?

I can't test robustness, because I don't know what your work flow is, but one can Format the expression: ...
march's user avatar
  • 24k
12 votes

MaTeX and \phantom

The same sizes show up using pure Latex. \documentclass[11pt]{article} \begin{document} \Huge \[ \sqrt{\phantom{a^2}b} \] \[ \sqrt{a^2b} \] \end{document} ...
Nasser's user avatar
  • 147k
11 votes

Mathematica2tikz an equivalent function

I don't know if this can be considered as an answer to your question, but: Do not do that! That would mean learning a new tool (not even talking about programming it), facing singular situations which ...
anderstood's user avatar
  • 14.4k
10 votes

How to call Mathematica from $ \rm\LaTeX $?

You can use Splice, which has been superseded by FileTemplate since v10. [ As of 12.1 Splice...
evanb's user avatar
  • 6,216
10 votes

How to generate images of mathematical equations?

If you want to copy an image directly using the mouse, you can try Rasterize which generates an image which you can copy/paste directly. Example 1: ...
Nasser's user avatar
  • 147k
10 votes

Is it possible to change/customize some conversions done by TeXForm?

I will assume that you want the normal TraditionalForm typesetting in a notebook to be unaffected, and only want to see the ...
Carl Woll's user avatar
  • 131k
10 votes
Accepted

How can I display conformal mapping?

...
cvgmt's user avatar
  • 77.6k
9 votes
Accepted

Multiple TeXForm returns just single output

This is just a long comment. I see the same behaviour in several versions between 9.0–11.0. Looking at what is actually being sent to the FE with LinkSnooper, we see that the kernel does send all ...
Szabolcs's user avatar
  • 236k
9 votes
Accepted

Latex expression \int_{a}^{b} x dx in Mathematica - ToExpression+TexForm error

Mathematica is expecting a space between the integrand and the $dx$. So, the following works: ToExpression["\\int_{a}^{b} x \\, dx", TeXForm] -(a^2/2) + b^2/2 ...
Carl Woll's user avatar
  • 131k
9 votes

Replicating $\LaTeX$'s pgfplot Style in Mathematica

We can use the simple trick from this answer: Define f = ReplaceAll[Rule[VertexColors, None] -> Rule[VertexColors, Automatic]]; and simply add the option ...
kglr's user avatar
  • 399k
9 votes
Accepted

How can I convert the code from Mathematica to text and put it in enumerate like this?

...
Nasser's user avatar
  • 147k
8 votes
Accepted

TeXForm: Adding color

Conversion to $\TeX$ uses various Style options: ...
jkuczm's user avatar
  • 15.1k
8 votes
Accepted

Copy xAct expression to LaTeX

This imports the package and defines the variables, ...
Jason B.'s user avatar
  • 69.2k
8 votes
Accepted

TeXForm handling of derivative higher than two

Somewhat hacky: ...
J. M.'s missing motivation's user avatar
8 votes

TeXForm handling of derivative higher than two

An alternative to transforming an expression before applying TeXForm is to modify the TraditionalForm formatting rules for Derivative: ...
Carl Woll's user avatar
  • 131k
8 votes
Accepted

How to customize the TeXForm output?

Let us to some degree do the LaTeX conversion ourselves. To create \infty for complex infinity, you can implement your own function: ...
halirutan's user avatar
  • 113k
8 votes
Accepted

How to import $\LaTeX$ matrices into Mathematica?

I'm assuming the OP wants "\\sqrt{2}" to turn into the equivalent of $\sqrt{2}$ or $\sqrt{2}$, which would ...
Michael E2's user avatar
  • 239k
8 votes
Accepted

How to avoid TeXForm command from simplifying?

You could use HoldForm ...
Nasser's user avatar
  • 147k
8 votes

Forcing TeXForm to produce fractions using division simbol / instead of \frac

It is much easier to do this directly in your latex document where you will compile the latex generated by Mathematica TeXForm. Once you copy your Mathematica ...
Nasser's user avatar
  • 147k
8 votes

How to get exact $\LaTeX$ colours in Mathematica?

In RGBColor you need to use values in the range $[0,1]$ instead of $[0,255]$. So just divide the numbers you have by 255, that's all. You can get many nice named ...
Szabolcs's user avatar
  • 236k
8 votes
Accepted

How can I make some version of exercises from a list and get the LaTeX file?

Code below generates The LaTeX generated by Mathematica is ...
Nasser's user avatar
  • 147k

Only top scored, non community-wiki answers of a minimum length are eligible