You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Makie, MakieTeX
using CairoMakie # or whichever other backend
fig =Figure(); # Note the `;` to avoid the display of a blank window
l1 =LTeX(
fig[1, 1], L"A \emph{convex} function $f \in C$ is \textcolor{blue}{denoted} as \tikz{\draw[line width=1pt, >->] (0, -2pt) arc (-180:0:8pt);}";
tellwidth =false, tellheight =true
)
ax1 =Axis(
fig[2, 1];
)
heatmap!(ax1, Makie.peaks())
fig
yields
The tikz command appears verbatim, instead of the expected curved arrow displayed in the README.
Note 1: the same command inserted in a standalone LaTeX file gives the right output with pdflatex,
so tikz is well installed here, and the command is correct.
Note 2: the ylabel does not show up either. Maybe a copy/paste from an earlier version ?
Julia Version 1.10.3
Platform Info:
OS: Linux (x86_64-suse-linux)
(jl_ejg3hP) pkg> status
[13f3f980] CairoMakie v0.12.2
[ee78f7c6] Makie v0.21.2
[6d554a22] MakieTeX v0.4.1
The text was updated successfully, but these errors were encountered:
Hmm. I can replicate this, I guess the automatic preamble isn't working right as you mentioned. Will look into a fix - I probably used an incorrect conversion route for LaTeXString somewhere.
The first example in the quick start section,
yields
The tikz command appears verbatim, instead of the expected curved arrow displayed in the README.
Note 1: the same command inserted in a standalone LaTeX file gives the right output with pdflatex,
so tikz is well installed here, and the command is correct.
Note 2: the
ylabel
does not show up either. Maybe a copy/paste from an earlier version ?The text was updated successfully, but these errors were encountered: