Unicode superscripts for simple exponents

481 views
Skip to first unread message

Nathan Alison

unread,
Feb 27, 2012, 2:28:28 AM2/27/12
to sy...@googlegroups.com
I think it's a quite ugly to see
 2
x
I'd much rather have
x²

Subscripts for numerical powers would make a lot of simple expressions prettier, I think. We'd still have the current syntax for more complicated expressions.

Aaron Meurer

unread,
Mar 18, 2012, 8:44:01 PM3/18/12
to sy...@googlegroups.com
I agree. Probably there should be some option to do it the current
way, but the default should be the best. There is also a limited set
of superscript letters that we can use (all the latin alphabet except
q according to http://en.wikipedia.org/wiki/Unicode_subscripts_and_superscripts).
Feel free to open an issue for this, or a pull request implementing
it.

Aaron Meurer

> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sympy/-/3KX3wP91-1gJ.
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to
> sympy+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.

Reply all
Reply to author
Forward
0 new messages