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

Multi-lined environments with \\* #2433

Closed
bdtc opened this issue May 12, 2020 · 1 comment
Closed

Multi-lined environments with \\* #2433

bdtc opened this issue May 12, 2020 · 1 comment
Labels
Milestone

Comments

@bdtc
Copy link

bdtc commented May 12, 2020

Issue Summary

MathJax v3.

With multline and similar, \\ and \\[2ex] work as expected, but \\* and \\*[2ex] fail. The star and trailing optional argument are not absorbed.

Steps to Reproduce:

<!DOCTYPE html>
<html lang="en-US">
<head>
<script
         id="MathJax-script"
         src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"
></script>
</head>
<body>

<p>

\begin{multline}
\tan a+b &lt; c \\
\cos (d)+sin(e) \\*
\cos (f)+sin(g) \\*[2ex]
h+i=j
\end{multline}

</p>

</body>
</html>
@dpvc dpvc added Accepted Issue has been reproduced by MathJax team Feature Request labels May 18, 2020
@dpvc
Copy link
Member

dpvc commented May 18, 2020

You are correct, MathJax doesn't process \\*. This is because the star is about controlling page breaks, which are outside the scope of MathJax output. But I do suppose it should process and ignore the star. I've marked it as a "feature request" for that.

@dpvc dpvc self-assigned this May 18, 2020
@dpvc dpvc added this to the 3.1.3 milestone Jan 31, 2021
dpvc added a commit to mathjax/MathJax-src that referenced this issue Mar 18, 2021
@dpvc dpvc removed their assignment Mar 18, 2021
dpvc added a commit to mathjax/MathJax-src that referenced this issue Mar 19, 2021
Ignore * in \\* and \\*[...] constructions.  (mathjax/MathJax#2433)
@dpvc dpvc added Merged Merged into develop branch and removed Ready for Review labels Mar 19, 2021
@dpvc dpvc added Fixed v3.1 and removed Merged Merged into develop branch labels Apr 27, 2021
@dpvc dpvc closed this as completed Apr 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants