Questions tagged [matex]

Questions on the use, installation, and development of MaTeX—a package written by Szabolcs Horvát that makes it easy to use LaTeX-generated labels in Mathematica.

Filter by
Sorted by
Tagged with
1 vote
1 answer
85 views

MaTeX stopped working after a TeX upgrade

My system: Windows 10, Mathematica 11.2 Yesterday I had to upgrade my MikTeX because I absolutely needed to compile a document needing a newer version. Today MaTeX stopped working. I started getting ...
user avatar
1 vote
1 answer
107 views

Why does this TeXForm cause many errors?

Why do I get this error? I don't do any calculation with this. I just want to use TeXForm and then wrap MaTeX around it. ...
user avatar
  • 1,750
4 votes
1 answer
69 views

BarLegend tick labels broken with MaTeX

There appears to be an issue with using MaTeX text on the ticks of a BarLabel. Without MaTex,...
user avatar
3 votes
1 answer
129 views

3D plot with LaTeX axis labels

I am trying to create a 3D density plot and use LaTeX to render the axis labels. My code is below. When I comment out the AxesLabel command the code runs fine and, in particular, MaTeX renders the ...
user avatar
  • 31
1 vote
0 answers
51 views

How to get MaTeX to export to PDF with 12.3.1? [duplicate]

I like to use MaTeX to produce publication quality figures. It makes the right font at the right size. However, since upgrading to MMA 12.3.1, it does not export to pdf with export quality. What ...
user avatar
  • 1,184
1 vote
0 answers
66 views

Using MaTeX with outline to create transparency around the equation

Is there a way to combine outline around equations as described here, with the ideas proposed here to create images with transparent background? Currently, since outline requires a color, I end up ...
user avatar
  • 1,406
1 vote
0 answers
153 views

Windows MaTeX Configuration [closed]

I configured Ghostscript but not sure why pdflatex was not configured. this is how Ghostscript is done: ...
user avatar
3 votes
1 answer
177 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 ...
user avatar
0 votes
1 answer
107 views

What is the best font for Labeling in windows that is consistent with MaTeX fonts?

I am using MaTex on windows and Ubuntu and for labeling, I use the font Latin Modern Roman which is completely consistent with ...
user avatar
2 votes
1 answer
65 views

CellPrint to EquationNumbered using MaTeX

I'm writing an online book in a Mathematica template and would like to display equations using Szabolcs' wonderful MaTeX (LaTeX typesetting in Mathematica) because the readability is superior to the ...
user avatar
1 vote
1 answer
254 views

How to adjust the size of a `FrameLabel` that consists of a picture or an object from MaTeX?

I want to plot a figure with $\LaTeX$ formulas as labels. A simple example looks like the following: ...
user avatar
  • 463
0 votes
0 answers
71 views

LegendFunction and MaTeX

I have started using MaTeX (excellent package to integrate Latex in your wonderful Mathematica generated plots). I am getting a warning in generating the following plot ...
user avatar
  • 457
1 vote
0 answers
67 views

Autoloading MaTeX` and Rubi` via DeclarePackage[] in the user init.m does not work

Former question: Autoloading and adding code to a package in the user init.m I am using MaTeX, and I found the updateMaTeX[] function] at the GitHub repo. I tried ...
user avatar
  • 648
3 votes
1 answer
522 views

Is it possible to define RGB colors to be used in MaTeX? How?

My system: Windows 10, Mathematica 11.2, MikTeX 2.9 I am in the process of learning more about the features of Szabolcs Horvát's nice paclet. This time I am toying with the color choices for the ...
user avatar
3 votes
0 answers
183 views

Problem in installing Matex

I am using Mathematica 12.0, and I want to install Matex. According to this page https://github.com/szhorvat/MaTeX only writing the code ...
user avatar
0 votes
1 answer
102 views

Frame around text or MaTeX? [duplicate]

This seems like it should be easy, but I can't figure out how to do it or any documentation of it. How does one add a frame (not an outline, but a frame) around Text...
user avatar
  • 1,406
1 vote
1 answer
70 views

How to properly write multiline text with LaTeX symbol in a frame and with background

I wanted to include a number of text-box with background color white inside a plot. The text inside the box will also have LaTex expressions as well as multiple lines. Is there any way to include ...
user avatar
  • 973
11 votes
1 answer
514 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 &...
user avatar
  • 310
1 vote
0 answers
46 views

How to control the decimals in MaTeX

I'm using MaTeX to display the ticks of a stream plot. However, I would like to standardize the number of decimals displayed in this plot, that is, I would like to show just one decimal. My code is ...
user avatar
2 votes
0 answers
116 views

Combining PlotThemes, PlotMarkers and Plot with MaTeX used on Labels, Axis Labels and Legend

Summary I am currently attempting to make some of my earlier plots more fit for black-and-white printing, while keeping color and typesetting in TeX/Latin Modern Roman. While at it, I tried to ...
user avatar
1 vote
1 answer
69 views

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

I have some problem with showing this LaTeX input: ...
user avatar
  • 231
1 vote
0 answers
60 views

Using MaTeX after plotting

I have plotted something using Mathematica 11.0 and it takes a while to generate the plot. I would like to use the package ...
user avatar
  • 379
6 votes
1 answer
276 views

Matrices in MaTeX

Is it possible to display matrices using MaTeX? I tried: MaTeX["\\begin{matrix}c\\\\f\\end{matrix}"] but it did not display the matrix.
user avatar
  • 1,406
5 votes
0 answers
369 views

Using "Latin Modern Math"with MaTeX on Windows

I started using MaTeX and it is all wonderful expect for the fact I am unable to use the "Latin Modern Math" , "LM 12" to work for the tickmarks. I get decent results with "Times" but not quite ...
user avatar
4 votes
1 answer
133 views

MaTeX shadow option?

When I create my graphics, I find that the tex objects created with MaTeX either clash with other objects (such as a coordinate grid) or, if I add a background, erase too much. Is there another option ...
user avatar
  • 1,406
3 votes
1 answer
480 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: ...
user avatar
4 votes
2 answers
661 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 ...
user avatar
  • 1,815
5 votes
1 answer
425 views

Line break with MaTeX

I am using MaTeX to put a box on a graph with an outline. The code looks like this: ...
user avatar
  • 1,184
3 votes
1 answer
169 views

MaTeX stopped accepting certain font sizes

My system: Windows 10, Mathematica 11.2 Problem: I have been using the fine MaTeX paclet to get nice symbols on my plots. As I scale the images in a TeX-document after exporting them in EPS, I need ...
user avatar
2 votes
1 answer
357 views

Error using MaTeX, MaTeX::texerr : LaTeX Error: Missing \begin{document}

I've managed to install MateX with all prerequisites. pdflatex and GhostScript paths are correctly specified. I am able to load it into Mathematica. However, a simple command such as MaTeX[x^2] gives ...
user avatar
0 votes
0 answers
89 views

MaTeX in the labels

Writing Plot[Sin[2.5 x], {x, 0, 2}, PlotLabel -> Framed["a=1.5" // MaTeX]] I get the expected labeled plot: However, if I just change ...
user avatar
1 vote
1 answer
198 views

Why "Modern Latin Math" font messes my plot?

I just download the Modern Latin Math font from here to have a consistent font with my LaTeX text. The font is exactly what I am looking for. But when I use it for my plot it messes the gap between ...
user avatar
  • 1,159
2 votes
1 answer
231 views

Problem with MaTeX PlotLabel

I'm trying to label a plot as follows: ...
user avatar
4 votes
1 answer
1k views

MaTeX, font size, and PlotLegends

I want to create plots in Mathematica where all labels have font sizes which match those in a LaTeX document. I start by defining ...
user avatar
  • 352
0 votes
1 answer
54 views

Concatenating MaTeX with a computable expression in PlotLabel

To produce a graphics grid, I would like the PlotLabel to be a concatenation of graphics such as "y="//MaTeX and the value of an ...
user avatar
5 votes
1 answer
73 views

Import an image using Matex without the path of the image inserted in the output

I am playing with MaTeX to include an image. It works but it also displays the path of the image in the output which messes things out. Here is a MWE (on windows with 11.3) ...
user avatar
  • 108k
3 votes
1 answer
528 views

MaTeX no longer working after upgrade

My institution has recently upgraded to Ubuntu 18.04 and to Mathematica 11.3 and I'm guessing various other packages have been upgraded alongside this. I have the latest MaTeX version downloaded (1.7....
user avatar
  • 559
0 votes
1 answer
150 views

MaTeX produces strange error

I've managed to install and configure matex, however when I try to run it the following error arise: ...
user avatar
  • 151
1 vote
1 answer
112 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 ...
user avatar
  • 1,043
1 vote
0 answers
95 views

MaTeX bug when combined with a transparency

Works fine: Graphics3D[{{Opacity[1], Polygon[{{0, 0, 0}, {1, 0, 0}, {1, 1, 0}, {0, 1, 0}}]},Inset[MaTeX["P", Magnification -> 4], {.5, .5, .5}] }] Works not ...
user avatar
  • 1,406
2 votes
1 answer
147 views

Can MaTeX objects scale the same way as Text objects?

When one uses Text[Style["Hi", FontSize -> Scaled[.1]]] the text will resize proportional with Imagesize? Is there a way ...
user avatar
  • 1,406
5 votes
3 answers
419 views

Using MaTeX with Callout

Recently, I tried to use Callout with the MaTeX objects. MaTeX is a package I downloaded in ...
user avatar
  • 2,195
0 votes
0 answers
197 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 ...
user avatar
1 vote
0 answers
137 views

MaTeX documentation not available in documentation center [closed]

Typing "MaTeX" in the documentation center doesn't give any hits. Do I have to do anything before this works? I tried uninstalling and re-installing MaTeX (via ...
user avatar
  • 105
7 votes
1 answer
311 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: ...
user avatar
  • 1,406
1 vote
0 answers
152 views

Problem Exporting rotated MaTeX with a transparency

I'm trying to save an Graphics with rotated MaTeX and a transparency. My code is below. ...
user avatar
  • 1,406
8 votes
2 answers
1k views

MaTeX doesn't change fonts on axes?

I am running Mathematica 11.0, and am trying to create a bar chart to insert into a LaTeX document; since the document is in LaTeX, I would like the look of the chart to be in line with this, and so ...
user avatar
1 vote
1 answer
429 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 ...
user avatar
  • 278
8 votes
1 answer
157 views

Text[] with offset not positioned correctly in M11.1 and M11.2

Bug introduced in 11.1 and persisting through 11.3 When the first argument of Text is a Graphics, and the third argument (...
user avatar
  • 224k
6 votes
1 answer
231 views

SciDraw: Insert MaTeX text without distortion

This question is related to aligning MaTeX text and aligning in SciDraw. Following the solution in these questions, I can position and align MaTeX text in ...
user avatar
  • 3,731