Questions about any kind of interaction with $\TeX$, $\LaTeX$, and friends, including transferring text/code to/from $\TeX$, using Mathematica graphics in LaTeX documents etc.

learn more… | top users | synonyms

2
votes
1answer
138 views

How to enter a LaTeX integral?

How can I enter a LaTeX integral into Mathematica? For example, I evaluated the expression ToExpression["\int 2*x\[DifferentialD]x ", TeXForm] but Mathematica ...
2
votes
2answers
236 views

How can you combine lines in LATEX, and lines Mathematica?

supose that You want to make a report about the golden section algorithm, and you want to explain the proccess with text in LATEX, and in every iteration you want to show in that report the values ...
2
votes
2answers
62 views

ToExpression from commandline [duplicate]

I like to use Mathematica 8.0 from the commandline, then I just have to SSH in, no matter where I am, and go. I also like to do this without forwarding X, because that is slow and lags on my ...
2
votes
1answer
60 views

How can preserve my manual edit of an expression when exporting to LaTeX?

Context I would like to use the Mathematica front end to pre-process expressions before exporting them to LateX, for the sake of readability. Example Say I have this expression ...
2
votes
1answer
173 views

How to convert the symbol $d$ in Integrate into $\mathrm{d}$?

I used TeXForm[HoldForm[Integrate[x^2, {x, 1, 2}]]] to convert the integral $$\int_1^2 x^2 \, dx$$ How to get $$\int_1^2 x^2 \, \mathrm{d}x ?$$
2
votes
1answer
116 views

How to use MathPSfrag package in Mathematica 10?

I am interested to use LaTeX like labels in the plots that I prepare in Mathematica, and hence, I downloaded the MathPSfrag package from this website ...
2
votes
0answers
55 views

possible bug in Mathematica TeXForm? Generating \left\left

I asked about this in the TeX chat. It seems Mathematica generate invalid Latex in this example. ...
2
votes
0answers
310 views

Generating a function which outputs possible chemical reactions

I want to make a list of chemical reactions and I write them down in a $\require{mhchem}\LaTeX$ format. They are of the following form $$NA_n^i+MB_m^j \rightarrow \hat NA_{\hat n}^{\hat i}+\hat ...
2
votes
0answers
82 views

What exactly does AddTeX2Eps do and how does one use it?

What exactly is Janko Slavic's addon package AddTeX2Eps supposed to do, and exactly how does one get it to work? I do understand it's supposed to allow one to use TeX ...
1
vote
2answers
138 views

How to convert TableForm to proper LaTex and why is “\” not replaced by StringReplace?

I'm trying to optimize the teXForm output of a table because the standard output ist not satisfying: ...
1
vote
1answer
190 views

How to convert the following list into a LaTeX table?

How to convert the output of the following code In[43]:= Func[x_]:=Select[Range[x],Total[IntegerDigits[#]^3]==#&]; Func[1000] which is Out[44]= ...
1
vote
1answer
31 views

Why TeXForm[] do not display to notebook if followed by OutputForm[] in same cell?

Can someone please explain to me the logic of this: In one cell, when writing ...
1
vote
1answer
102 views

How would I get the best quality plot into a TeX editor which includes the legends?

I have currently used "Save Selection As" after highlighting the graph and legend and then saved it as a PNG file, but the quality isn't brilliant. I am using TeXworks on Windows 7. The "Copy As ...
1
vote
1answer
80 views

The space in default output of `ExportString` to Latex

Are there any reasons for converting subscriptbox to Tex with space? ...
1
vote
1answer
104 views

space lost when converting inline cell to tex

Sample Cell 1 words with spaces in one inline cell ...
1
vote
1answer
82 views

Incompatibility of Row and TeXForm

In Mathematica 7 Row and TeXForm work harmoniously: ...
1
vote
1answer
159 views

Copy As Latex automatically alphabetizes words

If you take the following line, right click on it and Copy As Latex: ...
1
vote
0answers
94 views

what is the best package/way to insert Mathematica code in latex docs?

I know that this question is not about strictly mathematica issue, but I think that in this site should be many pepople that use latex to distribute mathematica source code/examples. If the moderators ...
0
votes
1answer
52 views

TeXForm without simplification

I'd like to be able to feed an expression into Mathematica, and have Mathematica convert that expression to TeXForm WITHOUT ANY SIMPLIFICATION WHATSOEVER. As a trivial example, currently, if I enter ...
0
votes
1answer
421 views

Question about $\LaTeX$ generated by Mathematica

I saved a Mathematica Notebook as a *.tex file. When compiling in TeXnicCenter I get the an error on the following generated code. ...
0
votes
1answer
36 views

Copy big or small values to LaTeX

When I create a DistributionFitTest of a distribution i receive very low P values. Eg. $2.456750213008007 \times 10^{-367}$. When I copy this (by right clicking and copy to LaTeX), and insert it in my ...
0
votes
1answer
402 views

Convert Mathematica formula to TeX (MathJax) with color

Case1: formula generated by functions. ...
0
votes
2answers
66 views

Output for Latex

I have a Mathematica command WriteString[str,TeXForm[ToString[a]^ToString[Divide[p, q]]]] where a=47, p=17 and q=2, but the result is $47^{\text{17$\backslash $n--$\backslash $n2}}$ I hope I have ...
0
votes
0answers
42 views

Use TeX in Graphics object [duplicate]

Graphics[Text[Style["Sqrt[a^2-b^2]", FontSize->25], {0,0}]] yields: but I want the nicer looking $\sqrt{a^2-b^2}$ instead of the ugly "Sqrt[a^2-b^2]". ...