I am currently having issues because I’m being asked to produce a figure in which all greek characters should appear in straight fonts. I have tried many ways (using \upmu instead of \mu, using unicode directly, using \textrm{}) but I none mange to produce a straight font greek letter.
Now, I’m kind of resigned not to use any LaTeXString, but the results do not look slick at all…
Anyone has an idea about how to use produce straight greek characters in a LaTeXString?
I thought that it might be possible to get there by setting the theme to use Noto Sans, but the renderers within the LaTeX environment aren’t that simple. Here’s a long thread, recently continued explaining the issues. MaTeXEngine
That’s cool! Do you think one could replace the text in axis title and x/ylabels by typst strings? I have tried using Typstry but I did not manage to substitute the LaTeX string by a Typst string so far…
For that, the image approach isn’t practicable. Since Makie font support is provided by FreeType.jl, you should be able to handle non-equation characters that way.
OK thanks thanks a lot for the insights. I have no idea how to manage that and all the “basic workarounds” have failed so far. I think I will opt for regular strings with unicode instead of LaTeX strings.
this is something I wanted also but my understanding is we need to wait for some re-factoring of Makie for this to work (something realted to SpecApi IIRC @asinghvi17 )