doks: KaTex cannot render some equations

The problem is that when I use KaTex to render my equations, some eqautions can be rendered while others cannot be. Such equation like below cannot be rendered: (use env aligned)

$$\left\{
\begin{aligned}
PDE \quad &u_{tt}-a^2u_{xx}=0 \\
B.C.\quad &u(0,t)=u(l,t)=0\quad t\ge 0 \\
I.C.\quad & u(x,0)=\varphi(x),u_t(x,0)=\phi(x)\quad 0\le x\le l
\end{aligned}
\right.$$

And the result is below: Snipaste_2021-09-11_12-46-29

Thanks for your time !

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

This method seems extremely good and portable. I will use this one!😀 Thanks for your time and nice theme.

@h-enk I’m not familiar with KaTeX. I’ve been using Mathjax for math. The double-slash works fine in mathjax.

I’ll have a look at this. I’m also interested in switching to KaTeX as it is faster than mathjax.