Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latex \dot not working #2287

Closed
ValentinKaisermayer opened this issue Sep 20, 2022 · 9 comments
Closed

Latex \dot not working #2287

ValentinKaisermayer opened this issue Sep 20, 2022 · 9 comments

Comments

@ValentinKaisermayer
Copy link
Contributor

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 ValentinKaisermayer changed the title Latex dot not working Latex \dot not working Sep 20, 2022
@jkrumbiegel
Copy link
Member

Did it stop working or never work?

@ValentinKaisermayer
Copy link
Contributor Author

It stopped

@jkrumbiegel
Copy link
Member

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

@Moelf
Copy link
Contributor

Moelf commented Sep 20, 2022

maybe Kolaru/MathTeXEngine.jl#74 ?

@Kolaru
Copy link
Contributor

Kolaru commented Sep 20, 2022

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
Copy link
Contributor

Kolaru commented Sep 21, 2022

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.

@ValentinKaisermayer
Copy link
Contributor Author

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?

@Kolaru
Copy link
Contributor

Kolaru commented Nov 20, 2022

Yes the versions are now compatible.

Which revealed that the accents are incorrectly placed, but that's a pure MathTeXEngine issue (Kolaru/MathTeXEngine.jl#89).

@SimonDanisch
Copy link
Member

This seems to be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants