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 but there might have been some new developments in the recent years?
Thanks!
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
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.
oh wow, that looks fantastic!
It’s going to happen, just maybe not with this exact design. But we’ve wanted to make text more flexible for a while
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.)