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

[FEATURE] Curly brackets #57

Closed
theogf opened this issue Mar 17, 2022 · 1 comment · Fixed by #74
Closed

[FEATURE] Curly brackets #57

theogf opened this issue Mar 17, 2022 · 1 comment · Fixed by #74
Labels
parser The parser needs to be fixed

Comments

@theogf
Copy link

theogf commented Mar 17, 2022

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.

@lazarusA
Copy link

lazarusA commented Mar 17, 2022

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\$")))

Screenshot 2022-03-17 at 17 44 25

@Kolaru Kolaru added the parser The parser needs to be fixed label Jul 31, 2022
@Kolaru Kolaru closed this as completed in #74 Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parser The parser needs to be fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants