question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for LaTeX math environments like in Jupyter notebooks?

See original GitHub issue

I was trying to use MyST-Parser with nbsphinx in https://github.com/spatialaudio/nbsphinx/pull/560, but it doesn’t seem to support math environments like

\begin{equation*}
a
\end{equation*}

Describe the solution you’d like

It would be great if that worked just like in Jupyter notebooks.

Is there an extension I can enable to get this?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mgeiercommented, May 10, 2021

I just had an epiphany: nbsphinx already has Markdown support via Jupytext! I should have thought about this earlier, it’s actually quite obvious.

Everything already works as expected, I just had to document it: https://github.com/spatialaudio/nbsphinx/pull/561

So I won’t have to create my own MyST-based Python package after all!

I will not need anything that we just discussed in this issue, but it might still be interesting for other people who might want to use MyST-Parser with Jupyter-like Markdown extensions.

But I’m fine with closing this, I won’t be needing it anymore.

Thanks for your help, though!

1reaction
chrisjsewellcommented, May 10, 2021

And with “easy” I mean: one Python package, one entry in extensions in conf.py, nothing else.

So basically myst-parser with hard-coded configuration 🤷

Read more comments on GitHub >

github_iconTop Results From Across the Web

Learn How to Write Markdown & LaTeX in The Jupyter Notebook
Just put your LaTeX math inside $ $ . Or enter in display math mode by writing between $$ $$ .
Read more >
How to use Latex in Jupyter notebook - Linux Hint
Latex notations for writing Mathematical Equations ... First, select the markdown cells in the jupyter notebook. Now, use dollar symbols $$, to start...
Read more >
(some) LaTeX environments for Jupyter notebook
This extension for Jupyter notebook enables the use of some LaTeX commands and environments markdown cells. LaTeX commands and environments. support for ...
Read more >
Math and equations - Jupyter Book
Jupyter Book uses MathJax for typesetting math in your HTML book build. This allows you to have LaTeX-style mathematics in your online content....
Read more >
(some) LaTeX environments for Jupyter notebook
theorems-like environments: property, theorem, lemma, corollary, proposition, definition,remark, problem, exercise, example, ¡ lists: enumerate, itemize, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found