MathJax.Hub.Config({ tex2jax: { inlineMath: [ ['
,'
], ["\...">

MathJax?

MathJax WordPress, footer.php. .

<script type="text/x-mathjax-config">
MathJax.Hub.Config({
    tex2jax: {
        inlineMath: [ ['$','$'], ["\\(","\\)"] ],
            processEscapes: true
    }
});
</script>

<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>

, ,

enter image description here

, .

enter image description here

\\ \ WordPress markdown. - \\ $$...$$ \\\\.

, \\ . StackEdit, , , , \\ MathJax.


. ( ).

$$
\begin{bmatrix}
PR(p_1) \\
PR(p_2) \\
\vdots \\
PR(p_N)
\end{bmatrix} =
\begin{bmatrix}
{(1-d)/ N} \\
{(1-d) / N} \\
\vdots \\
{(1-d) / N}
\end{bmatrix}
+ d
\begin{bmatrix}
\ell(p_1,p_1) & \ell(p_1,p_2) & \cdots & \ell(p_1,p_N) \\
\ell(p_2,p_1) & \ddots &  & \vdots \\
\vdots & & \ell(p_i,p_j) & \\
\ell(p_N,p_1) & \cdots & & \ell(p_N,p_N)
\end{bmatrix} 
\cdot
\begin{bmatrix}
PR(p_1) \\
PR(p_2) \\
\vdots \\
PR(p_N)
\end{bmatrix}
$$
+4
1

\ - escape, .

: C \n . n , \ n , n. \ , , , , - (, \n ).

\ \, . , \begin{bmatrix}, \\begin{bmatrix}, \\, \\\\.

"" . , , . , Markdown `code block` ``code block``.

, , , . `math here`.

: http://docs.mathjax.org/en/latest/tex.html#tex-and-latex-in-html-documents

+1

Source: https://habr.com/ru/post/1669707/


All Articles