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

Suggestion: display of superscripts/subscripts #7

Closed
perrogg opened this issue Jan 10, 2018 · 2 comments
Closed

Suggestion: display of superscripts/subscripts #7

perrogg opened this issue Jan 10, 2018 · 2 comments

Comments

@perrogg
Copy link

perrogg commented Jan 10, 2018

Texstudio is wonderful and I always use it to deal with .tex files.

Can superscripts/subscripts be displayed in TeXstudio as in Emacs+AucTeX (see picture) ? I think it's clear, but I don't know if it is difficult to achieve.

emacs_auctex

@timhoffm
Copy link
Member

This is non trivial. One would have to:

  • parse the formulas to identify the sub/superscripts.
  • adapt the line drawing mechanism to be able to vertically offset parts of the line.
  • adapt the editor rendering to support lines with variable line height.

None of which is possible is available in the current code.

I propose to use the inline rendering of formulas instead (Preview Selection / Parentheses (Alt+P). This also gives you a readable formula.

@sunderme
Copy link
Member

I don't see the point either.
Super-/subscript are hard to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants