Makie.jl icon indicating copy to clipboard operation
Makie.jl copied to clipboard

Latex \dot not working

Open ValentinKaisermayer opened this issue 2 years ago • 5 comments

with_theme(Theme(fontsize = 35)) do 
    f = Figure()
    Axis(f[1, 1],
        title = L"\frac{x + y}{\sin(k^2)}",
        xlabel = L"\sum_a^b{xy}",
        # ylabel = L"\sqrt{\frac{a}{b}}",
        ylabel = L"\dot{Q}",
    )      
    f
end

plot_35

[ee78f7c6] Makie v0.17.13 [13f3f980] CairoMakie v0.8.13

ValentinKaisermayer avatar Sep 20 '22 12:09 ValentinKaisermayer

Did it stop working or never work?

jkrumbiegel avatar Sep 20 '22 13:09 jkrumbiegel

It stopped

ValentinKaisermayer avatar Sep 20 '22 13:09 ValentinKaisermayer

Probably broke with the changes in MathTeXEngine.jl, @Kolaru ?

jkrumbiegel avatar Sep 20 '22 14:09 jkrumbiegel

maybe https://github.com/Kolaru/MathTeXEngine.jl/pull/74 ?

Moelf avatar Sep 20 '22 14:09 Moelf

For some reason with CairoMakie v0.8.13, MathTeXEngine is set to v0.4.3, which is weird since Makie requires v0.5.

By deving Makie and using MathTeXEngine v0.5.1, it is still broken, but differently (the dot is too low, seems to be common to all accents, I'll investigate).

Kolaru avatar Sep 20 '22 23:09 Kolaru

For some reason with CairoMakie v0.8.13, MathTeXEngine is set to v0.4.3, which is weird since Makie requires v0.5.

My bad it is not weird, compatibility with MathTeXEngine v0.5 is only available on Makie master yet.

Kolaru avatar Sep 21 '22 22:09 Kolaru

For some reason with CairoMakie v0.8.13, MathTeXEngine is set to v0.4.3, which is weird since Makie requires v0.5.

By deving Makie and using MathTeXEngine v0.5.1, it is still broken, but differently (the dot is too low, seems to be common to all accents, I'll investigate).

Any progress?

ValentinKaisermayer avatar Nov 08 '22 12:11 ValentinKaisermayer

Yes the versions are now compatible.

Which revealed that the accents are incorrectly placed, but that's a pure MathTeXEngine issue (https://github.com/Kolaru/MathTeXEngine.jl/issues/89).

Kolaru avatar Nov 20 '22 17:11 Kolaru

This seems to be fixed

SimonDanisch avatar Apr 27 '23 10:04 SimonDanisch