-
Notifications
You must be signed in to change notification settings - Fork 302
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
Support proper notations for math/equations #189
Comments
Could you add a link to documentation that supports your request? |
It is written in the first page of "Short Math Guide for LaTeX" from Also I found a discussion in Stack Exchange: |
Thanks! To get this working, I think you need to escape the |
begin: '\\begin\{equation\}'
end: '\\end\{equation\}' |
Thanks, but it didn't work. Those single backslashes are removed in the compiled
Double backslashes in cson remain double in the compiled json:
Of course it didn't match |
Let me know if and when you've got it figured out. I'm heading into a meeting now. |
Now I understand we need |
Using
$$ ... $$
for display-style equations is not recommended in LaTeX. Instead, users are supposed to use the following notations:\[ ... \]
\begin{equation*} ... \end{equation*}
\begin{equation} ... \end{equation}
They work well with MathJax. So I tried adding them to
grammars/repositories/flavors/math-block.cson
:After compiling and reloading, Atom recognizes
\\[ ... \\]
as a math block, but ignores\[ ... \]
and\begin{equation} ... \end{equation}
. I may be misunderstanding how regex works in Atom.The text was updated successfully, but these errors were encountered: