3

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?

Leon Bohmann
  • 402
  • 1
  • 4
  • 16
  • I use your snippets and get the right result. Can you please post your configuration ? Did you forget the css file ? – lin Aug 20 '22 at 11:00

1 Answers1

1

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.

miu
  • 1,234
  • 2
  • 18
  • 34