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.

Filter by
Sorted by
Tagged with
0
votes
0answers
79 views

Windows MaTeX Configuration [closed]

I configured Ghostscript but not sure why pdflatex was not configured. this is how Ghostscript is done: ...
2
votes
1answer
74 views

Poor label and legend resolution using MaTeX

I am using Mathematica 12.3 and the MaTeX package in order to typeset my labels and legends correctly. I get quite blurry text and I don't know if there is a way to improve the resolution of the ...
0
votes
1answer
72 views

Creating a table and exporting to LATEX

I have two functions as numeric[x, t] and exact[x, t]. I want to create a table including 5 columns as follows (table formatting doesn't matter) and to export it to LATEX: I use ...
0
votes
1answer
56 views
0
votes
1answer
148 views

How can I display conformal mapping? [duplicate]

z to quadratic function with conformal map. How to plot this in Wolfram Mathematica or Geogebra? Then I can write that code in $\LaTeX$. https://cmgreen.io/images/...
0
votes
0answers
68 views

Can Mathematica convert a picture with formula to latex?

Is there such a package or codes that can convert the formula in the picture into LATEX code? Just like Mathpix
2
votes
2answers
85 views

Mathematica Function Definition to Latex?

Suppose I have a function defined: g[z_]:=Sum[Sin[z/k!],{k,0,infinity}] And I want to export the following Latex based on only the function definition $$\sum_{k=0}^...
1
vote
0answers
30 views

brackets and minus in TeXForm or TraditionalForm

-Subscript[\[Gamma],a]*Subscript[\[Rho],1,4]//TeXForm gives me this \rho _{1,4} \left(-\gamma _a\right) Is there a way to get ...
2
votes
2answers
63 views

Copying displayed results into LaTeX results in lots of “Null”s

Bug introduced in 9.0, persisting through 12.2. I use the pdconv function below, in order to show partial derivatives in a much more intuitive way: ...
5
votes
1answer
126 views

Inline TeX Input renders wrong characters / symbols

As you may know, you can write TeX within a cell with CTR+$ and press RETURN to get it ...
3
votes
1answer
30 views

Copy as LaTex while maintaining SetPrecision?

I am working with large tables of numbers, where the numbers can have as many as 10 decimal points. To make the work more presentable, I use ...
2
votes
1answer
110 views

Is it possible to convert a matrix in $\LaTeX$ format to Mathematica input? [duplicate]

Is it possible to do this already in version 11.3? For example, I want to draw a graph ...
1
vote
2answers
38 views

Multiplication with custom notation

I would like to compute the product $$(Es+r_{13})(F_{13}s)(F_{3}s+r_{3})(F_{2}s+r_{2})(F_{12}s+r_{12})(F_{1}s+r_{1})(F_{23}s+r_{23})$$ where $E$, $F_i$, and $r_i$ represent arbitrary numbers whose ...
8
votes
0answers
231 views

InLine TeX input seems unstable

In the documentation of version 12.2 there is a new feature to input TeX as mentioned by Stephen Wolfram. See: InlineTeXInput in the documentation. After typing CTRL$ you can type in some TeX, and ...
1
vote
1answer
83 views

Converting tensorial expressions in xAcT to LaTeX

I'm trying to convert tensorial expressions from xAct to LaTeX format using the TeXForm command. This seems to work fine when using covariant derivatives (As in Copy xAct expression to LaTeX). However,...
0
votes
1answer
63 views

Exporting string with newline and tab symbols to LaTeX

We have a string that has "tab" symbol between letters "B" and "C" and "newline" symbol between letters "C" and "D": Input: ...
11
votes
1answer
339 views

LyX-like LaTeX in Mathematica Text Cells

Lately I've been learning more about the Wolfram Language, and I've become particularly enamored with the stated goals of the Mathematica notebook interface. I've used Mathematica exclusively as a &...
0
votes
0answers
21 views

TeXForm any string with \ replace it with \setminus

When the code is TeXForm["\[CapitalOmega]\\A"] the output is double backslash instead of just one, how do I fix it so that it is just one, or preferably \...
1
vote
0answers
28 views

Distinguishing function calls from multiplication when importing LaTeX via ToExpression and TeXForm

I'm trying to parse a LaTeX representation of a Desmos calculator (like this one) via Mathematica. Desmos exposes a JSON representation of its calculators, including a LaTeX representation of ...
0
votes
1answer
39 views

Convert expression to LaTeX string

How do I convert a Mathematica expression to the equivalent TeXForm string as shown when applying TeXForm? For example: ...
0
votes
0answers
33 views

Best Practice to Export xAct code to LaTeX

First, I'd like to mention a two post that provided almost a solution, but in the end didn't: Cells2TeX with mmacells threw hundreds of errors in LaTeX like ...
1
vote
0answers
41 views

Latex Stylesheet and inline text cells

I am looking for a professionally looking LaTex ish stylesheet, where i can still calculate equations within Mathematica. Also i am wondering if i can get inlineText cells to display summations with ...
0
votes
0answers
40 views

Exporting to latex an expression: it doesn't appear the same as in mathematica

Mathematica doesn't export in latex the same way it is written within the software. Consider the following expression: ...
7
votes
1answer
179 views

Export styled grid to latex

I'd like to write an ExportString-type function for converting Grid or TextGrid into Latex ...
1
vote
1answer
59 views

How to change the TeXForm output while exporting an array to LaTeX format?

I have an array in Mathematica, which I would like to export to a file in TeX format. ...
3
votes
0answers
154 views

Vector arrow notation in Mathematica

I want a fast way to type vectors in Text boxes like this: $\vec a$ I can do this manually with ctrl+7+"-> " which creates this ...
1
vote
1answer
65 views

Why does renderig my equation in Mathematica using MaTeX does not work out?

I have some problem with showing this LaTeX input: ...
2
votes
0answers
93 views

How to use Mathematica code in LaTeX files?

How can you use Mathematica code in LaTeX files? any similar to A random number is RNUMBER and the square of RNUMBER is RNUMBER^2 appearing numbers instead the capital letters (or Mathematica code) ...
0
votes
1answer
60 views

Use Mathematica to edit TeX file

I have a large (>300 page) latex project split across multiple .tex files that I have decided I want to change some notation around in. A minimal working example would be a main file ...
6
votes
2answers
130 views

Personalize Copy As LaTeX

Built-in functions in formulas copied as $\LaTeX$ code from output cells are sometimes messy. I'd like to find a way to simplify the way this code is generated. There is one concrete instance that I'd ...
6
votes
1answer
150 views

How to avoid TeXForm command from simplifying?

I have a very small question. I want to convert the expression below to Texform. ...
5
votes
1answer
106 views

How to directly get the TeXForm of each steps from Rubi?

It's easy to read the steps from Rubi, but kind of tired to copy it out of as $\LaTeX$. That's what now I do: Int[x Sin[x], x]//Steps For example,click one step, ...
1
vote
0answers
54 views

How to get proper TeX output from splicing the following file?

In order to let other users with Mathematica 12.x test this problem for me, I now use FileTemplate instead of Splice. I want to ...
7
votes
0answers
138 views

Export Latin Modern Math Greek: spurious spacing on Windows

Bug introduced in 12.0.0 or earlier on Windows [CASE:4549185] To get simple LaTeX Greek in my figures, I am using U+1D6FC MATHEMATICAL ITALIC SMALL ALPHA to ...
1
vote
1answer
52 views

How to replace terms without rearranging

I have a long expression which I'd like to export to Latex, so I'm using the copy as latex function. However, in my Latex document I'm using different notation, so I'd like to use the replace rule to ...
3
votes
2answers
143 views

Organizing Algebraic Expressions (for $ \mathrm\LaTeX $ conversion)

I would ideally like to not have to spend a lot of time writing LaTeX for complicated algebraic expressions that I've worked out in Mathematica. I know that I can "copy-as-LaTeX", but my current issue ...
3
votes
1answer
283 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: ...
1
vote
0answers
24 views

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

I have written a function myPfuntest, ...
4
votes
2answers
298 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 ...
2
votes
0answers
72 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 ...
6
votes
0answers
65 views

difference between right click and “copy as LaTeX” and directly using TeXForm

...
1
vote
2answers
97 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}} ...
3
votes
1answer
64 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 ...
2
votes
1answer
37 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[4708352000] ...
1
vote
1answer
82 views

Convert ProofNotes to $ \mathrm\LaTeX $ logic expression

The following code will generate some ProofNotes: ...
1
vote
0answers
90 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 ...
3
votes
1answer
97 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: ...
0
votes
0answers
28 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: ...
1
vote
1answer
84 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 ...
2
votes
1answer
38 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: ...

1
2 3 4 5 6