theogf opened this issue 3 years ago · 1 comments
It would be great to have curly brackets { }, used as \{ and \} implemented.
\{
\}
Right now the workaround is to put them in normal text but this does not allow using subscripts and superscripts.
In the context of GLMakie and the LaTeXStrings packages you can use an empty unicode character with width zero as follows:
using GLMakie using LaTeXStrings aem = Char(0x200B) scatter(1:10, 1:10; figure = (; fontsize = 32), axis = (; title= latexstring("an equation: {\$y_i\$}\${$aem}_{a=1}^N\$")))