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

Render latex-style math on the website #67

Closed
scottyhq opened this issue Jun 28, 2021 · 0 comments
Closed

Render latex-style math on the website #67

scottyhq opened this issue Jun 28, 2021 · 0 comments

Comments

@scottyhq
Copy link
Member

People may be accustomed to formatting latex-style math equations in jupyter notebook markdown cells by copying and pasting equations from manuscripts

\begin{equation}
z = \frac{vt}{2} \quad
\end{equation}

This doesn't render correctly on the website by default, you have to enable the amsmath myst extension https://jupyterbook.org/content/math.html?highlight=equations#latex-style-math

Alternatively, using the following syntax works for simple equations

$$
z = \frac{vt}{2} \quad
$$ (equation_label)
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

No branches or pull requests

1 participant