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.

0
votes
0answers
58 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 ...
0
votes
0answers
34 views

Using epstopdf of exported eps adds strange vertical dashed gray line

I often use Mathematica to generate plots to add into my paper. When I export the plot as png file, then it is OK. However, when I export the plot as eps file, and add it into latex using epstopdf, ...
2
votes
1answer
100 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. ...
0
votes
0answers
31 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: ...
4
votes
2answers
116 views

Change TeXForm of ArcTan

When using ArcTan, the corresponding TeXForm is tan^{-1} and not \arctan which I would ...
10
votes
4answers
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?
0
votes
1answer
28 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 ...
2
votes
1answer
105 views

Loading Latex packages into Mathematica

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}
3
votes
1answer
47 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: ...
3
votes
2answers
88 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 ...
2
votes
0answers
38 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: ...
0
votes
0answers
42 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 ...
0
votes
1answer
67 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 ...
0
votes
1answer
117 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. ...
3
votes
0answers
91 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 ...
3
votes
1answer
60 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?
0
votes
1answer
40 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 ...
3
votes
0answers
57 views

Nonacceptance by StackExchange site of Mathematica TeXForm employing \unicode

When I apply the Mathematica command TeXForm to ...
0
votes
0answers
35 views

Change ticks and labels font size from LaTeX document

I have been using MaTeX to output LaTeX expressions in AxesLabel and FrameTicks. But once the picture has been saved, the ...
0
votes
1answer
45 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 ...
1
vote
0answers
27 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 ...
1
vote
0answers
33 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 ...
4
votes
1answer
64 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 ...
3
votes
2answers
125 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 ...
1
vote
0answers
24 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 ...
2
votes
1answer
105 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 ...
0
votes
1answer
82 views

MaTeX produces strange error

I've managed to install and configure matex, however when I try to run it the following error arise: ...
4
votes
1answer
60 views

Why the difference in $\LaTeX$ expressions?

I successfully find ...
9
votes
2answers
6k views

How to customize the TeXForm output?

The following snippet ...
0
votes
1answer
94 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 ...
2
votes
1answer
98 views

TeXForm of symbols

For reasons unknown, TeXForm seems to produce different results when acting on symbols that are one character long versus longer characters: ...
5
votes
1answer
165 views

Exporting graphics in eps-format. A change from version 9 to version 11 made it less useful for LaTeX

Recently I ran into this problem when trying to use EPS-images produced by Mathematic in my TeX-documents. The friendly people at TeX.SE took a look at my eps, and discovered the following "feature" ...
9
votes
3answers
243 views

How to force TeXForm not to use “array” environment for a square array?

The default behavior of Mathematica, transforms a jagged array TeXForm[{{1, 2}, {3}}] to \{\{1,2\},\{3\}\} but a ...
2
votes
0answers
47 views

Problem with exporting PlotLabel using MaTeX in Parallel computation

Requires MaTeX, which can be found here. ...
1
vote
1answer
85 views

TeXForm as PlotLabels (Configuring GhostScript?)

Update ConfigureMaTeX[ "pdfLaTeX" -> "C:\\Program Files\\MiKTeX 2.9\\miktex\\bin\\x64", "Ghostscript" -> "C:\\Program Files\\gs\\gs9.23\\bin" ] ...
1
vote
2answers
46 views

How to properly, with the most possible freedom, add a formula into a plot?

I would like to know the best way(s) to add a formula into a plot, with the most possible freedom ever. And I mean: possibility of writing the formula the dimension of which can be modified, put into ...
2
votes
1answer
75 views

Behavior of MaTeX for a polynomial equation

I have been researching today the possibility of creating interactive mathematics documents using Mathematica for use in the classroom. I want to be able to use LaTeX typesetting within my notebook ...
1
vote
0answers
53 views

Export PDF/A from mathematica

I want to paste my plots from Mathematica into LaTeX which creates PDF/A. If I use any greek letters on axis labels the result is no more valid PDF/A. If I export the plot as png it gets a little ...
2
votes
2answers
67 views

TexForm with fractional overall factor

I am having some trouble with TeXForm output. Basically, I have many expressions that have an overall fractional factor, like 1/(16 Pi^2), in front. However, ...
2
votes
1answer
69 views

How can I use Expand with TeXForm[HoldForm]?

I want to use Expand[(x - 7)^2 + 49]] with TeXForm[HoldForm of the expression ...
0
votes
3answers
82 views

Display a polynomial in exponential generating function form

Is there an easy way to have Mathematica display a polynomial in "exponential generating function" form? So, for example, rather than seeing $$1 + 2 x + 3 x^2 + 4 x^3$$ I would like to see $$1 + \...
3
votes
0answers
47 views

Where can I obtain the package Mathpsfrag?

Documentation for mathpsfrag can be found here: https://arxiv.org/abs/0801.2175 http://www.tug.org/tugboat/tb29-1/tb91grosse.pdf However, the authors webpage recorded on http://packagedata.net ...
1
vote
0answers
62 views

Can one convert output from the Cloud to Latex? [closed]

I have the following command in Mathematica Developer Cloud: ...
6
votes
1answer
98 views

TeXForm of Grid, Add Seperation Lines and Color

I have the following grid (from documentation): ...
6
votes
1answer
159 views

question on using TeXUtilities. Why it needs to be called twice to work

I find strange behavior of TeXUtilities by @jkuczm which I do not understand how to fix. I find I have to call TeXForm two times for it to start working. Here is ...
0
votes
0answers
76 views

On the exporting process from Mathematica in vector graphic

1) Preamble: the problem So I was trying to make a plot of the visible spectrum of the hydrogen atom and I had lot of troubles with exporting it. First I want to point that I have to use this plot ...
1
vote
1answer
113 views

Importing Equations from MathJax

I have to use some complicated mathematical equations from a previous publication in my Mathematica notebook. These equations are available on science direct webpage in MathJax format, but I am not ...
0
votes
1answer
118 views

Mathematica to $\LaTeX$ in a for loop

Hello I have a For loop which outputs an expression and I want to convert everything to $\LaTeX$ at once (not line by line). This is my code: ...
0
votes
1answer
88 views

Pull the variable out of the fraction

I have a code which outputs a polynomial, the last line is of the form: K[f[#]/g[#] &, 6], with f and g being some functions. The coefficients are fractions, ...
2
votes
0answers
74 views

What functions can Mathematica convert from LaTeX?

When I write: ToExpression["\\sqrt{2}", TeXForm] I get, as expected: "$\sqrt{2}$". But, when I write: ...