Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
1answer
49 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
36 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
37 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
59 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
109 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
88 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
55 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
38 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
53 views

Nonacceptance by StackExchange site of Mathematica TeXForm employing \unicode

When I apply the Mathematica command TeXForm to ...
0
votes
0answers
34 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
43 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
63 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
124 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
22 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
104 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
77 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
57 views

Why the difference in $\LaTeX$ expressions?

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

How to customize the TeXForm output?

The following snippet ...
0
votes
1answer
85 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
97 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
163 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
238 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
45 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
42 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
74 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
52 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
63 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
65 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
80 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
46 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
60 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
66 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
106 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
115 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
82 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: ...
1
vote
0answers
45 views

Problem with TeXForm [duplicate]

I have expression: Abs[Hypergeometric1F1[-n, m + 1, x]]^2 // TeXForm Give me error during editing this question (Missing or unrecognized delimiter for \left) if ...
2
votes
1answer
303 views

How to Custominze the Output of TeXForm

When working with complicated expressions I would like to easily export specific expressions to LaTex. The ideal solution for me is the TeXForm command, but many times when using it I would like to ...
5
votes
0answers
109 views

Is there a (separate) program to convert Mathematica expressions to LaTeX?

I see several questions about converting Mathematica content to LaTeX. But I didn't see any satisfying answers. I'm wondering if there is a utility that will convert Mathematica display formulae to ...
3
votes
1answer
141 views

Customize the TeXForm of D and Integrate

Goal Let the TeXForm of D and Integrate more pretty. ...
1
vote
1answer
112 views

Converting LaTeX expression in Mathematica — strange result

I tried to convert a latex expression in Mathematica, but it shows me a strange result (it shows a strange word: "ghit"). ...
7
votes
1answer
261 views

MaTeX and \phantom

My understanding of the \phantom directive is that it should preserve the sizes of all elements in the expression. But when I try this: ...
6
votes
1answer
173 views

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

I tried to convert a Latex expression to Mathematica in this way: ToExpression["\\int_{a}^{b}{x dx}", TeXForm] Mathematica gives me an error. How can I get the ...
1
vote
1answer
191 views

Getting MaTeX working on a Mac with TeXShop

I'm generating figures in Mathematica to insert into an article I'm writing in LaTeX. I want to be able to label the objects in my figures with the notation that agrees with my article. This rest of ...
5
votes
1answer
93 views

why changing the order of `Format` causes error?

I am trying the solution given in is-it-possible-to-change-customize-some-conversions-done-by-texform which works very well except changing the order of the Format ...