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

No math live preview for IEEEeqnarray environment #1413

Closed
joachimneu opened this issue Jun 24, 2019 · 1 comment
Closed

No math live preview for IEEEeqnarray environment #1413

joachimneu opened this issue Jun 24, 2019 · 1 comment

Comments

@joachimneu
Copy link

The math live preview does not work for the IEEEeqnarray environment which is commonly used for multiline equations (http://moser-isi.ethz.ch/docs/typeset_equations.pdf).

The first reason is that IEEEeqnarray is not covered in LaTeX.sublime-syntax https://github.com/sublimehq/Packages/blob/master/LaTeX/LaTeX.sublime-syntax. Even after adding it (currently, it seems cumbersome to extend a syntax definition -- perhaps IEEEeqnarray should be included in the syntax definition shipped with Sublime Text?), additional care would have to be taken of the alignment parameter of IEEEeqnarray.

This topic was touched upon in #883 and #936.

deathaxe added a commit to deathaxe/sublime-packages that referenced this issue Dec 30, 2024
This commit

1. adds support for `\begin{IEEEeqnarray}` math environments.
   specified by: https://moser-isi.ethz.ch/docs/typeset_equations.pdf
   inspired by: SublimeText/LaTeXTools#1413

2. fixes `meta.environment.math.block` scope by removing incomplete `.be`.
3. fixes `\\end` scope using `keyword.control.flow.end.latex`.
deathaxe added a commit to sublimehq/Packages that referenced this issue Jan 13, 2025
This commit...

1. adds support for `\begin{IEEEeqnarray}` math environments.
   specified by: https://moser-isi.ethz.ch/docs/typeset_equations.pdf
   inspired by: SublimeText/LaTeXTools#1413
2. fixes `meta.environment.math.block` scope by removing incomplete `.be`.
3. fixes `\end` scope using `keyword.control.flow.end.latex`.
@deathaxe
Copy link
Member

This will be supported once merged syntax change is released with ST.

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

No branches or pull requests

2 participants