¿Cómo usar MathJax en Slidify?
Parece que todo lo que hay que hacer es reclamar.widget: mathjax
en la portada. Pero no puedo obtener las fórmulas correctamente renderizadas. ¿Algo que falta? Gracias.
ACTUALIZAR: Revisé la finalindex.html
, y encontró que muchos "*" se han convertido en<em>
o</em>
. Parece que slidify está mezclando el*
en LaTeX y el*
en rebaja.
Aquí está mi fragmento de código de LaTeX:
\begin{align*}
&\begin{bmatrix}
\mathbf{y}\\
y_*
\end{bmatrix}
=\mathcal{N}\left(0,\begin{bmatrix}
K & K_*\\
K_*^T & K_{**}
\end{bmatrix}\right)\\
\Longrightarrow & y_*|\mathbf{y}\sim\mathcal{N}\left(K_*K^{-1}\mathbf{y},K_{**}-K_*K^{-1}K_*^T\right)\\
\Longrightarrow & \overline{y_*}=K_*K^{-1}\mathbf{y}
\end{align*}
que se convierte a
<li>Inference
$\begin{align<em>}
&\begin{bmatrix}
\mathbf{y}\
y_</em>
\end{bmatrix}
=\mathcal{N}\left(0,\begin{bmatrix}
K & K<em>*\
K</em><em>^T & K_{</em><em>}
\end{bmatrix}\right)\
\Longrightarrow & y_</em>|\mathbf{y}\sim\mathcal{N}\left(K<em>*K^{-1}\mathbf{y},K</em>{*<em>}-K<em>*K^{-1}K</em></em>^T\right)\
\Longrightarrow & \overline{y<em>*}=K</em><em>K^{-1}\mathbf{y}
\end{align</em>}$</li>
</ul>
ACTUALIZACIÓN 2: Sustituí el_
para_
y*
para*
, tanto como\\
para algunos\
. Y se ve bastante bien ahora:
$\\begin{align*}
&\\begin{bmatrix}
\mathbf{y}\\\\
y_*
\\end{bmatrix}
=\mathcal{N}\left(0,\begin{bmatrix}
K & K_*\\\\
K_*^T & K_{**}
\\end{bmatrix}\right)\\\\
\Longrightarrow & y_*\big|\mathbf{y}\sim\mathcal{N}\left(K_*K^{-1}\mathbf{y},K_{**}-K_*K^{-1}K_*^T\right)\\\\
\Longrightarrow & \bar{y}_*=K_*K^{-1}\mathbf{y}
\\end{align*}$