-
Notifications
You must be signed in to change notification settings - Fork 130
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
Mathjax support #1
Comments
Hello! Following your issue I have added support for KaTeX for math typesetting (#2). You can enable it on a per-page basis by including Use Inline math: $\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…$
Block math:
$$
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
$$ Check the doc for the available math functions. I am not familiar with KaTeX and did not test it extensively so feel free to report any bugs :). I'm closing the issue in the meantime. |
Hello @ojroques! $$
f(x) = \int_{-\infty}^\infty \hat{f} (\xi), e^{2 \pi i \xi x} d\xi
$$ is rendered properly but when using environments, say when writing a matrix $$
\begin{pmatrx}
a & b \\
c & d
\end{matrix}
$$ It doesn't render at all. Any idea what is going on? |
Hello, It seems that new lines in block environment are not correctly interpreted by KaTeX. Hugo introduces $$ \begin{pmatrix} a & b \\\\ c & d \end{pmatrix} $$ It is not very readable though. I added a {{< math >}}
\begin{pmatrix}
a & b \\
c & d
\end{pmatrix}
{{< /math >}} Or even inline: In-line: {{< math >}} f(x) = \int_{-\infty}^\infty \hat{f} (\xi), e^{2 \pi i \xi x} d\xi {{< /math >}} |
Hello there!
How do I get LaTeX snippets to be properly rendered. I tried using
from the official website but the rendering is pretty bad. I'd be glad if you could help.
The text was updated successfully, but these errors were encountered: