# Makie and LaTeX

**URL:** <https://discourse.julialang.org/t/makie-and-latex/137700>\
**Category:** General Usage\
**Tags:** makie\
**Created:** [June 19, 2026, 1:53pm UTC](https://discourse.julialang.org/t/makie-and-latex/137700 "2026-06-19T13:53:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tduretz](https://avatars.discourse-cdn.com/v4/letter/t/bcef8e/32.png) [@tduretz](https://discourse.julialang.org/u/tduretz)\
**Post date:** [June 19, 2026, 1:53pm UTC](https://discourse.julialang.org/t/makie-and-latex/137700/1 "2026-06-19T13:53:13Z")

</div>

Hi. I was wondering whether there was a way to support stuff like `\boldsymbol{x}` within Makie.  
It seems that using `LateXStrings` or `MathTeXEngine` do not allow to use such commands. Or am I missing something else?  
The topic was addressed [here](https://discourse.julialang.org/t/latex-commands-not-working-with-latexstrings-eg-mathfrak-boldsymbol/69448/2) but there might have been some new developments in the recent years?  
Thanks!

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [June 19, 2026, 2:03pm UTC](https://discourse.julialang.org/t/makie-and-latex/137700/2 "2026-06-19T14:03:43Z")

</div>

With this PR and the corresponding Makie side we’d be able to render any LaTeX in all the places where Makie currently uses text [feat: LaTeX and Typst text handlers for Makie's text\_handler hook - Pull Request #73 - MakieOrg/MakieTeX.jl - GitHub](https://github.com/MakieOrg/MakieTeX.jl/pull/73)

But we haven’t decided yet if that’s the way we want to go. MathTeXEngine cannot support all the stuff out there in the LaTeX world, it’s a deliberately small and quick approximation.

---

<div class="post-metadata">

**Author:** ![tduretz](https://avatars.discourse-cdn.com/v4/letter/t/bcef8e/32.png) [@tduretz](https://discourse.julialang.org/u/tduretz)\
**Post date:** [June 19, 2026, 2:06pm UTC](https://discourse.julialang.org/t/makie-and-latex/137700/3 "2026-06-19T14:06:57Z")

</div>

oh wow, that looks fantastic!

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://discourse.julialang.org/u/jules)\
**Post date:** [June 19, 2026, 2:14pm UTC](https://discourse.julialang.org/t/makie-and-latex/137700/4 "2026-06-19T14:14:07Z")

</div>

It’s going to happen, just maybe not with this exact design. But we’ve wanted to make `text` more flexible for a while

---

<div class="post-metadata">

**Author:** ![dawbarton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dawbarton/32/215461_2.png) [@dawbarton](https://discourse.julialang.org/u/dawbarton)\
**Post date:** [June 19, 2026, 6:19pm UTC](https://discourse.julialang.org/t/makie-and-latex/137700/5 "2026-06-19T18:19:43Z")

</div>

You can also take a look at TeXLayout.jl which I made to scratch some of these itches. It does quite a bit more latex than MathTeXEngine and will work with any OpenType math font (in principle, your mileage may vary). It doesn’t need a latex installation. Comments / requests / issues all welcome.

(Note: it does some type piracy to make it work with Makie.)

---

<div class="post-metadata">

**Author:** ![tduretz](https://avatars.discourse-cdn.com/v4/letter/t/bcef8e/32.png) [@tduretz](https://discourse.julialang.org/u/tduretz)\
**Post date:** [June 20, 2026, 6:09am UTC](https://discourse.julialang.org/t/makie-and-latex/137700/6 "2026-06-20T06:09:22Z")

</div>

This is very helpful, thank you ver much for sharing!  
Now I don’t need to rely anymore of what symbols I can use on figures, to decide/restrict the math notation used in my text 😃
