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

Latex New Line Command "\\" Do Not Create New Line #3036

Closed
zayn7lie opened this issue Apr 20, 2023 · 2 comments
Closed

Latex New Line Command "\\" Do Not Create New Line #3036

zayn7lie opened this issue Apr 20, 2023 · 2 comments

Comments

@zayn7lie
Copy link

Issue Summary

When I want to create new line in a latex block, it appears success in vscode preview but I fail to do that in my webpage.

Steps to Reproduce:

Steps to reproduce the behavior:

  1. Create a Latex block in a post:
$$
Something_A \\
Somgthing_B
$$
  1. Compiling to webpage using MathJax

It is expected to appear:

Something_A
Something_B

but it appears:

Something_ASomething_B

Technical details:

  • MathJax Version: 3.2
  • OS: windows 11
  • Browser: Mozilla/5.0(firefox 112.0.1)

I am using the following MathJax configuration:

MathJax = {
...
};

and loading MathJax via

<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>

Supporting information:

This is a discussion of this issue:
cotes2020/jekyll-theme-chirpy#999

@dpvc
Copy link
Member

dpvc commented Apr 20, 2023

This is a duplicate of #2312. Linebreaks are not pat of v3, but are in v4, which is now out in alpha release.

@dpvc dpvc added the Duplicate label Apr 20, 2023
@zayn7lie
Copy link
Author

This is a duplicate of #2312. Linebreaks are not pat of v3, but are in v4, which is now out in alpha release.

Sorry, I did not find it.
Get it now, thanks.

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

2 participants