You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.1 KiB
1.1 KiB
+++ title = "Blackfriday-specific escaping in equations" description = "Test to check that the backslashes are correctly escaped." tags = ["equations", "mathjax", "escaping", "blackfriday"] categories = ["upstream"] draft = false +++
ox-hugo Issue #138
\| → \\|
\[ C(w,b) = \frac{1}{2n} \sum_x{{\|y(x)-a\|}^2} \]
\\ at EOL → \\\\\\
\begin{align} a^1 &= x \\\ a^2 &= σ(W^2a^1 + b^2) \\\ a^3 &= σ(W^3a^2 + b^3) \\\ ⋯ \\\ a^L &= σ(W^La^{L-1} + b^L) \\\ y &= a^L \end{align}
Same as above, but without space before the \\ at EOL
\begin{align} a^1 &= x\\\ a^2 &= σ(W^2a^1 + b^2)\\\ a^3 &= σ(W^3a^2 + b^3)\\\ ⋯\\\ a^L &= σ(W^La^{L-1} + b^L)\\\ y &= a^L \end{align}
\{ → \\{, \} → \\}
ox-hugo Issue #258
\begin{equation} \phi_j(x) = \mathrm{exp}\left\{ - \frac{(x - \mu_j)^2}{2s^2} \right\} \end{equation}