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

Nonumber (disable per-equation) line numbering in align environment not recognised. #119

Open
carneeki opened this issue Nov 13, 2021 · 0 comments

Comments

@carneeki
Copy link

Summary

Using \nonumber in an align environment is not recognised. KaTeX says it is recognised since 0.15. Version bump to 0.15 in package.json fixes the issue.

Expected behavior

\nonumber to not number an equation in align environment.

Actual behavior

\nonumber rendered in red colour.

Steps to reproduce

  1. Use \nonumber in an align environment

Code example

$$
\begin{align}
\text{Let: } & \nonumber \\
e &= mc^2 \\
\frac{e}{m} &= c^2
\end{align}
$$

Steps to fix

  1. Open packages.json and look for the dependencies stanza.
  2. Replace the line containing katex with the line as follows
"katex": "^0.15",
  1. Run npm install
  2. Reload VSCode

Related links

Environment

     Operating system: Arch Linux
       VSCode version: 1.62.2
Markdown+Math version: 2.7.0
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

1 participant