3b1b / 3Blue1Brown.com

https://www.3blue1brown.com
Other
368 stars 141 forks source link

KaTeX \vec command not working #361

Open kurtbruns opened 10 months ago

kurtbruns commented 10 months ago

Describe the bug

The KaTeX command \vec{v} does not draw an arrow over the variable.

To Reproduce

Try the following in a lesson.mdx file:

$$
\vec{\mathbf{v}}
$$

Notes

I tried to fix this issue by updating the related dependencies and/or doing a fresh install but ran into a rather obtuse error that I couldn't figure out. These are what appear to be the related dependencies:

    "katex": "^0.13.11",
    "rehype-katex": "^5.0.0",
    "rehype-slug": "^4.0.1",
    "remark-13-math": "npm:remark-math@^4.0.0",
    "remark-math": "^3.0.1",

The command \overrightarrow works fine, but doesn't look nearly as good.