Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 12

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.

7
votes
Try TeXForm[HoldForm /@ {{1, 2}, {3, 4}}] \{\{1,2\},\{3,4\}\} This basically prevents TeXForm from recognizing the expression as a matrix. Using HoldForm to prevent or force certain interpretati …
answered Jul 26 '18 by Szabolcs
9
votes
This is just a long comment. I see the same behaviour in several versions between 9.0–11.0. Looking at what is actually being sent to the FE with LinkSnooper, we see that the kernel does send all re …
answered Mar 1 '17 by Szabolcs
4
votes
1answer
In a notebook, type in theta^2 then select it and use Copy As → LaTeX. The resulting LaTeX code is \text {theta}^2 Now try TeXForm[theta^2] (* \theta ^2 *) Note that theta turned into …
asked Nov 25 '16 by Szabolcs
3
votes
Print it to PDF. Use the appropriate page size during printing, and in File -> Printing settings adjust the header and footer as necessary. Insert the PDF pages directly into your document. The pdfpages LaTeX package should make this possible. …
answered Nov 20 '16 by Szabolcs
44
votes
MaTeX is a package made exactly for this purpose. It can automatically compile small LaTeX snippets and import them as Mathematica graphics. It is described in detail in this other Mathematica.SE …
answered Nov 1 '15 by Szabolcs
1
vote
Right-click the equation, then choose Show Math As, then either MathML or TeX Commands. Copy the code that is shown and paste it into Mathematica. Mathematica can interpret both TeX and MathML, bu …
answered Mar 8 '18 by Szabolcs
7
votes
The way I do this is by creating a directory structure like the following: project project/figures The LaTeX file is in project, the figures are in figures. I put the notebook(s) used to generate … [] The figures are then Exported to PDF files. Some tips on how to do this effectively are in this thread: $\LaTeX$ and Mathematica The key point is that I export all figures to the correct …
answered May 4 '12 by Szabolcs
5
votes
Backslashes, i.e. \, must be escaped in Mathematica strings. This is incorrect syntax: "\xyz" The correct syntax is "\\xyz" Unfortunately, Mathematica tries to be "user-friendly" and when using …
answered Dec 7 '17 by Szabolcs
3
votes
, and will look exactly the same as if you were using LaTeX. a = "c=\\sqrt{a^2+b^2}"; b = "c=\\sqrt{b^2+a^2}"; c = "\\text{Area equals A}"; << MaTeX` Graph[{a <-> b, b <-> c, c <-> a …
answered Jan 18 by Szabolcs
3
votes
How can I configure the path to the "pdflatex" and "Ghostscript" executables manually? pdflatex.ini is not an executable. Use pdflatex.exe.
answered Mar 2 '17 by Szabolcs
4
votes
A standard LaTeX interpreter will not add a space between $\delta$ and $a$. This is not a "space". It is multiplication. LaTeX does not understand the meaning of formulae and has no concept of … multiplication. LaTeX only does typesetting. LaTeX code is not appropriate for representing precise mathematical meaning. ToExpression needs to convert it to a meaningful mathematical expression …
answered Nov 20 '16 by Szabolcs
2
votes
Why does this happen? Because Mathematica interprets both x/y and x y^-1 as the same expression. FullForm@HoldForm[x/y] (* HoldForm[Times[x,Power[y,-1]]] *) FullForm@HoldForm[x y^-1] (* HoldForm[Ti …
answered Nov 25 '16 by Szabolcs
6
votes
No, Mathematica has no (La)TeX interpreter. It either can or cannot translate a TeX expression—the concept of loading packages does not apply. If it cannot, you need to write a custom parser for it, …
answered May 12 by Szabolcs
5
votes
In Mathematica, as well as many other programming languages (C, Java, Python, etc.), a two-character sequence of the form \x, where x may be anything, represents a single character in the string. Thi …
answered Apr 13 '13 by Szabolcs
22
votes
I am not willing to make MaTeX compatible with Mathematica 9 for the simple reason that it would create too much of a maintenance burden, and I already don't have time to properly respond to all suppo …
answered Apr 15 '15 by Szabolcs

15 30 50 per page