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

Lower n #75

Open
awarebayes opened this issue Nov 16, 2023 · 3 comments
Open

Lower n #75

awarebayes opened this issue Nov 16, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@awarebayes
Copy link

How should the input text representation look like

Example: y_n

How should the ASCII art output look like

Example: y lower n, you can imagine

Describe in what context you would use this notation
Optional but it might give some context in case.

Example: math

Additional context
Add any other context or screenshots about the feature request here.

image
@awarebayes awarebayes added the enhancement New feature or request label Nov 16, 2023
@awarebayes awarebayes changed the title y_n Lower n Nov 16, 2023
@OleBialas
Copy link

I have a similar issue with subscripts. For some reason, in this equations:
$y = a+b_x*X+b_z*Z$

subscript x is rendered nicely but subscript z looks weird. I've played around and it seems that some letters are rendered properly, like x, and other look like z.

screenshot

@Beastwick18
Copy link
Contributor

@OleBialas Only some characters have an associated subscript in the Unicode standard. All Unicode subscripts and superscripts can be found here. For characters that don't have a Unicode subscript, they must be rendered on a new line to achieve a similar effect. The same problem exists for superscripts.

@awarebayes It's likely that the font you are using does not support some/any Unicode subscripts. You could try changing your font and see if that fixes it.

@nammenam
Copy link

nammenam commented Aug 14, 2024

For unsupported characters i really think it should just be left as is e.g. with underscore _z.
Or perhaps even better, use the line below as it is done now, but use the superscript variant instead of the regular. The superscripts offer better support i think

ᵃᵇᶜᵈᵉᶠᵍʰᶦʲᵏˡᵐⁿᵒᵖᵠʳˢᵗᵘᵛʷˣʸᶻ⁰¹²³⁴⁵⁶⁷⁸⁹
y = a + bₓ * X + b  * Z
                  ᶻ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants