\vec{s} not working
-
Hi Katex
No vector arrow shows when using
\vec{s}
.I can see that this has been a general Google Chrome issue with Katex in the past:
https://github.com/KaTeX/KaTeX/issues/529
https://github.com/KaTeX/KaTeX/issues/629
https://talk.dynalist.io/t/katex-vec-not-rendering-correctly/4451/5
https://github.com/KaTeX/KaTeX/issues/427but was reportedly fixed back in 2017:
https://github.com/KaTeX/KaTeX/pull/670It is not fixed for the WP plugin it seems though. You can find an example on my website here: https://www.allthatmatters.academy/courses/existence/lessons/vectors/. Scroll down to the first vector occurance (below the image). It is written in
[katex]
shortcodes as:\vec{s} = \left(\begin{matrix} 3 \\ 4 \\ \end{matrix}
but in spite of the
\vec{s}
command it only shows a singles
with no overhead arrow. Other commands such as\overrightarrow{s}
do work, but this one which is the closest I’ve been able to find, makes a far too wide and large arrow compared to the stylish, small and neat overhead arrow I am used to in LaTex with\vec{s}
.
- The topic ‘\vec{s} not working’ is closed to new replies.