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

MD -> LaTeX: Remove the newline in math if not requested #990

Closed
LecrisUT opened this issue Mar 15, 2024 · 1 comment
Closed

MD -> LaTeX: Remove the newline in math if not requested #990

LecrisUT opened this issue Mar 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@LecrisUT
Copy link
Contributor

LecrisUT commented Mar 15, 2024

In some styles, the equations are treated as a continuation of the sentence, and in those cases it is desired to not have a new line after the equation, i.e.:

Eisntein's famous equation
:::{math}
E=mc^2,
:::
where $E$ is ...

should be translated like

Eisntein's famous equation
\begin{equation}
E=mc^2,
\end{equation}
where $E$ is ...

(In the current form it makes the subsequent text a new paragraph)

@LecrisUT LecrisUT added the bug Something isn't working label Mar 15, 2024
@rowanc1
Copy link
Member

rowanc1 commented Mar 15, 2024

Thanks @LecrisUT -- this is a duplicate of #787.

@rowanc1 rowanc1 closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants