racket / scribble

Other
199 stars 91 forks source link

[Feature Request] Allow `math` to interpret content within `{}` as subscripts or superscripts #411

Closed NoahStoryM closed 2 months ago

NoahStoryM commented 7 months ago

Is your feature request related to a problem? Please describe. When using the math, only the non-empty sequences of numbers and letters after _ or ^ are interpreted as subscripts or superscripts, which limits the usability of mathematical expressions to denote subscripts or superscripts.

Describe the solution you'd like I propose enhancing the math interpret the content within {} as either subscripts or superscripts. For instance, in the expression f^{a+b}_{x-y}, a+b should be interpreted as a superscript, and x-y should be interpreted as a subscript.

Do you want to contribute to this feature I'm interested in contributing to the development of this feature if needed.