-
Notifications
You must be signed in to change notification settings - Fork 253
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
Superscripts and subscripts with markdown and/or html #514
Comments
In an earlier discussion (#298) I have pointed to the unicode subscript/superscript range as another workaround: Unicode subscripts and superscripts I'm currently playing with a refactoring of the text flow routines, in order to better encapsulate their functionality and make them more flexible. The PDF specs actually include special operators to position text as subscripts/superscripts. They may eventually make it in there, but don't hold your breath just yet... |
I fully second @gmischler answer.
This sounds like a great addition, I would be happy to accept PR adding support for |
Once my current PR and the one coming after it are merged, it should be "relatively" easy to do this.
This is just from reading the specs without any testing, so the details may not be quite right... 😉 After that, ist should be straightforward for Markdown doesn't seem to have an established code for subscribt/superscript, not even commonmark does. The examples I've seen used pairs of single |
Implemented in #520 and published with release 2.5.7. |
Hey guys,
This package is already a wonderful thing. For my usage, the game changer would be to make it easier to write superscript and subscript in the pdf file.
So at least the html shortcuts for subscripts and superscripts would be good, the best way would be to have the mardown working for all math/latex style input.
The reason for this is mostly for maths to be rendered easily in tables.
For instance, say you have a table with parameters that are commonly known to be written down with very specific superscript and subscripts.
I acknowledge the current workaround to do this, but it is too messy for me to have all this rendered as images.
Thanks! :)
The text was updated successfully, but these errors were encountered: