Leon Bohmann
Leon Bohmann

Reputation: 402

Katex rendering equations multiple times

I am using Docusaurus to generate a static website. I integrated katex using the official instructions (https://docusaurus.io/docs/next/markdown-features/math-equations).

I want to render this:

$$
\begin{aligned}
    \begin{split}    
        u &= u^0(x,y)+z\varphi(x,y)  \\
        v &= v^0(x,y)+z\theta(x,y) \\
        w &= w^0(x,y)
    \end{split}
    \tag{1.1}
\end{aligned}
$$

What I get is this: katex output

What I do not understand is, that the text is rendered again underneath the correctly rendered equation. What am I missing?

Upvotes: 3

Views: 869

Answers (1)

miu
miu

Reputation: 1304

I had the same problem.

The problem was that I didn't exactly follow the instructions in the docs.

After I downloaded all the assets from GitHub and unzipped them into the /static folder, everything worked fine.

Upvotes: 2

Related Questions