# Questions tagged [latex]

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.

245 questions
Filter by
Sorted by
Tagged with
71 views

### How to configure MaTeX correctly under the environment of TeXLive2019

I downloaded and installed MaTeX from here. I installed texlive2019.And I configured Matex as follows, but there was a strange error: ...
22 views

### For Formulate'' and then Hold/Print Maths expressions?

I have written a function myPfuntest, ...
49 views

### Typesetting LaTeX in a text cell

I recently started trying to use stylesheets and different cell types to organize and explain my logic. Often I try to type equations into my text cells to explain what I'm doing, but this can be ...
68 views

### How to stop TeXForm from making powers look like composition

If I do TeXForm[(Log[x])^2] the result is \log ^2(x), but in my world $\log^2(x) = \log(\log(x))$. How do I get TeXForm to ...
56 views

...
86 views

### Why Mathematica does not interpret this LaTeX code correctly

ToExpression["$\\frac{\\partial ^{n} f}{\\partial x^{n}}$ ", TeXForm] It outputs 0 instead of the partial derivative:  \frac{\partial ^{n} f}{\partial x^{n}} ...
48 views

### Anyone interested in mini web platform for latex/markdown? [closed]

(I apologize in advance since this is not strictly Mathematica-related, but this still seems potentially relevant to audience. Feel free to remove or refile.) So I got sick of keeping all my notes ...
32 views

### Convert output from FactorInteger to LaTeX

Is it possible to transform the output from FactorInteger to form a LaTeX-output as follows; e.g. FactorInteger ...
70 views

### Convert ProofNotes to $\mathrm\LaTeX$ logic expression

The following code will generate some ProofNotes: ...
23 views

### ToExpression[“string”,TeXForm] doesn't work

I want to convert LaTeX equation to Mathematica code. I want to use ToExpression["x", TeXForm] to input some equation in Mathematica. However, my mathemtica doesn't ...
53 views

### Output of Subsuperscript in TeXForm?

TeXForm can be used to convert Mathematica expressions directly to LaTeX. However, this function fails on an expression that has a sub- and a super-script: ...
26 views

### Question about converting Mma expressions to TeX

When I want to convert the following expression Integrate[1/(1 + t (-I - 1)) (-I - 1), {t, 0, 1}] to TeX, I do: ...
54 views

### Improving TeXForm handling of fraction

TeXForm does not always change fraction a/b to $\frac{a}{b}$. If the fraction was an exponent for example, it keeps it ...
31 views

### How can I keep the argument of TeXForm[Integrate[1/Sqrt[1 + x], x]] from being evaluated?

How can I keep the argument of TeXForm[Integrate[1/Sqrt[1 + x], x]] from being evaluated? This is what I am getting: ...
47 views

### An extraneous line appears in the printed version of a Mathematica-image in a pdf-document

My system/workflow Mathematica version 11 MikTeX 2.9: tex->dvi->ps->pdf->paper I have run into the following difficulty. I cannot tell whether the problem is caused by Mathematica, MikTeX, Adobe, or ...
131 views

### Errors in converting LaTeX using ToExpression

I am trying to write a function which takes Maple Latex generated, feed it to Mathematica, use ToExpression then convert it back to Latex. This is because ...
51 views

### Tools that can convert mathematica images into tikz or pgf code to import to latex?

I have learned about Mathematica2latex from some websites, I don't know where to download it and how to use. Is there any other tools that can convert mathematica images into tikz or pgf code to ...
358 views

### Can a Mathematica notebook be programmed to work as a LaTeX editor? [duplicate]

A short example code will show that the answer to this question is yes. The example code (which I give in my answer) is for a simple LaTeX editor that is almost a drop-in replacement for TeXworks. ...
94 views

### How to Plot several functions using differents colors , It is possible to use TeX or MathSymbols?

The question is to plot several functions with different colors. Using a Table, which contains important information into it. You can see in the example above three functions with different values ...
177 views

### How to import latex matrices into Mathematica?

I have a lot of $\LaTeX$ matrices, and I want to find their eigenvalues and eigenvectors. I tried to import them to Mathematica with: ...
70 views

### How would you write this set of linear programming problems as latex?

I am not able to make self understood over at Mathematics Stackexchange in this question. Therefore I ask here the Mathematica experts how to write these linear programming problems as latex, the ...
168 views

### MMa version of $\LaTeX$'s overtilde doesn't look as expected

I am (mis)using Mathematica as a WYSIWYG LaTex editor. I want to put a (long) tilde over an expression. ...
32 views

### Translate Mathematica Output to Latex type font [duplicate]

In solving the inequality $2d^2\ge -(2(1+d)+\frac{4d^3}{1-d})(d-1)$, Mathematica returns something using Slots and Functions: ...
134 views

### Change TeXForm of ArcTan

When using ArcTan, the corresponding TeXForm is tan^{-1} and not \arctan which I would ...
2k views

### Get LaTeX form from step by step solution

If I want to copy block as latex I do copy as LaTeX. But when I write: WolframAlpha["integrate (sin(x))^4 dx"] How can I copy step by step solution as latex?
33 views

### Evaluate list queries inside HoldForm[] terms

When I have an equation like (example)... ...I can derived it and turn it into TeXForm afterwards (that is what I want). Therefore, I might want to additionaly ...
119 views

Is it possible to specify a latex package to load while pasting TeX expressions into Mathematica notebooks. For example I would like to load the braket package to typset something like \ket{\psi}
55 views

### Insert calligraphy TeX in FrameLabel

I want to put some Tex code in my FrameLabels so they are consistent with my equations. So far, I managed to do it using things like: ...
114 views

### TeXForm errors “TeXForm ofTemplateSlotSequence[1, ] is not supported” and “TeXForm of 0.78492 +1.30714 I is not supported” in 12

Reported to WRI. CASE:4250134 Update: Thanks for the smaller example by Chip Hurst in comment, it seems it comes down to this simpler example ...
47 views

### Bug with TeXForm conversion of superscript in strings [duplicate]

Bug introduced in 10.0 or earlier and persisting through 11.3 Consider a String expression with a TemplateBox superscript: ...
47 views

### Copying very long expression to LaTeX

I have a long expression (even after using Simplify) which I am trying to copy to LaTeX using the "Copy to LaTeX" command. However, it is too messy for LaTeX to ...
76 views

### $\LaTeX$ format copy problem [closed]

I need to write a $\LaTeX$ document from my functions developed in Mathematica. When I try to get a $\LaTeX$ form of the following integral ...
121 views

### How to splice an output that is already in TeXForm?

This answer with some modification can generate a list of trigonometry functions with random angles. ...
97 views

### $\rm\LaTeX$ and $\mathit Mathematica$: a versus $a$ [closed]

There are many questions on this site about making the fonts in Mathematica commensurate with the default Computer modern font in $\rm\LaTeX$. I'm not interested in complex workarounds, using the ...
108 views

### How to install MaTeX on Mathematica online?

Can you please tell me the step-by-step procedure to install MaTeX on Mathematica Online platform?
53 views

### Using TeXForm for subscripted variables

I tried following the answer in TeXForm and Symobilze, however, I have trouble making it work. I loaded the Notation packages and symbolized all expressions with a subscript as in the example. I ...
65 views

### Nonacceptance by StackExchange site of Mathematica TeXForm employing \unicode

When I apply the Mathematica command TeXForm to ...
73 views

### Can TeXForm be forced not to wrap variables in \text{}?

I have a number of long equations in Mathematica that I need to transfer to $\LaTeX$. Unfortunately, the equations involve many variables and TeXForm wraps the ...
34 views

### Difficult to differentiate different line style , when we convert into eps and import into latex

Question 1 How to place the legend on top of the plot, I used Placed function to put a legend on top of the plot, but it is not working. Question 2 The moment If I export the end result of this ...
36 views

### Difficulty with Latex Exportation

I have a rather big notebook which I would like to export to Latex. Upon doing the naive Save As -> tex file, it seems that TeXStudio is not able to handle the resulting file. It is very laggy, the ...
67 views

### Using TeXForms as vertices of a Graph

I have a set of equations written in TeX that I want to use as vertices of a graph, with edge labels showing how the equations are connected. I read the equations in from a file, then replace any ...
138 views

### How to generate a “value-frequency” table with random numbers?

I want to create a "value-frequency" table from the following expression. Counts[Sort[RandomInteger[{1, 5}, 500]]] // TableForm The generated table should be in ...
47 views

### RunProcess Does not Stop

I want to convert a latex file to a pdf file, using Mathematica. To do that, I installed MikTex and the I can run the following command in cmd: lualatex main.txt ...
119 views

### Convert Math in Text Form to $\LaTeX$ Form

I have the following math as a text file: text = {"aᵢ₁β₁ + aᵢ₂β₂ + ... + aₙ₁βₙ = bᵢ"} Is it somehow possible to convert it clean $\LaTeX$ Input ? The Goal: I ...
97 views

### MaTeX produces strange error

I've managed to install and configure matex, however when I try to run it the following error arise: ...
62 views

### Why the difference in $\LaTeX$ expressions?

I successfully find ...
6k views

### How to customize the TeXForm output?

The following snippet ...
95 views

### Padding a number doesn't work when transferring to LaTeX

I have some numbers which I calculate via some previous code. The calculation works fine. However since I want to compare it with experimental data I only need the numbers to a certain number of ...