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

Update Math Jax compatibility definitions #725

Closed
wants to merge 1 commit into from
Closed

Update Math Jax compatibility definitions #725

wants to merge 1 commit into from

Conversation

t-makaro
Copy link
Contributor

Fixes #719

Added an if statement to detect in which mode "\LaTeX" is used. Also corrected a typo.
@mpacer
Copy link
Member

mpacer commented Dec 29, 2017

I do not want to reproduce notebook behavior in this regard. I’d prefer to get to notebook to behave like nbconvert if we are to make it consistent.

@mpacer mpacer closed this Dec 29, 2017
@mpacer
Copy link
Member

mpacer commented Dec 29, 2017

Thank you though for taking the time to solve this in this way. Happy to help figure out how to fix it on the notebook side of things.

@t-makaro
Copy link
Contributor Author

My main worry with changing the behaviour on the notebook's side to match nbconvert was losing the ability to right "\LaTeX" in plain text at all. However, upon testing writing "\\LaTeX" renders "\LaTeX" in markdown as plain text, and properly converts to "\textbackslash LaTeX" in LaTeX which renders as plain text too. So long as a solution on the notebook side preserves this I'll be happy.

@mpacer
Copy link
Member

mpacer commented Dec 29, 2017

That’s exactly what I was going to suggest, so I’m happy that it works correctly!

@eldad-a
Copy link

eldad-a commented Jun 1, 2020

I believe the following issue is related, though may be too minor to merit its own issue (and Devs time).

In JupyterLab, the \LaTeX sign would not render correctly as part of a header.

The following code in a Markdown cell does show up as the LaTeX symbol:

# SymPy $\to \LaTeX$

If however, a character is added in the preceding line, it does

.

# SymPy $\to \LaTeX$

@MSeal MSeal added this to the no action milestone Sep 8, 2020
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

Successfully merging this pull request may close these issues.

Plain Text \LaTeX converted to logo.
4 participants