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 with \\ #7071

Open
haltersweb opened this issue Sep 23, 2023 · 1 comment
Open

LaTeX new line with \\ #7071

haltersweb opened this issue Sep 23, 2023 · 1 comment

Comments

@haltersweb
Copy link

Description

Notebook v7 does not recognize LaTeX double backslash to create new line. I had to roll back to 6.5.6 for it to work.

Reproduce

  1. Open terminal

  2. Install notebook v7 by typing pip install notebook or pip install notebook==7.0.4

  3. Open a new notebook by typing jupyter notebook and then selecting New (Python page)

  4. Change the cell to markdown

  5. type the following:

$$
123\\
456
$$
  1. Render the cell

Expected result:

123
456

Actual result:

123456

Context

Failure: Unsuccessful using notebook 7.0.4 on the following computers -- all LaTeX text ran together.
Success: Successful using notebook 6.5.6 on the following computers -- the LaTeX text showed on separate lines as expected.

MacBook Air M2, 2023
macOS Ventura 13.5.2
Browsers: Chrome, Safari
Python 3.10.13

MacBook Pro 2018
macOS Monterey v12.4
Browsers: Chrome, Safari (on notebook 7.0.4 the entire Jupyter Notebook interface didn't show up at all on Safari)
Python 3.10.8, 3.10.11

@haltersweb haltersweb added bug status:Needs Triage Applied to issues that need triage labels Sep 23, 2023
@RRosio
Copy link
Collaborator

RRosio commented Sep 26, 2023

Hi @haltersweb thank you for opening this issue. This has been previously reported in jupyterlab/jupyterlab#14570, and it is blocked by mathjax/MathJax#2312. As a workaround, you can try pip install jupyterlab-mathjax2.

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