# Latex not working in newer version of Hugo

Use \tag{foo}

{{< katex >}}
$$\tag{1} \overrightarrow{p_i}(\bar{y}) = \begin{cases} p_a(\bar{y})&:i=0 \\ \overrightarrow{p_{\sigma , i}}(\bar{y})\overrightarrow{g_i}(\bar{y})&:otherwise \end{cases}$$
{{< /katex >}}


Please submit further questions of this nature to:
https://github.com/KaTeX/KaTeX/discussions

Thanks.

Fantastic, thanks a lot.
(Yup, I’ll post similar questions on other threads if needed.)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.