LaTeX 使用指南

如何博客园中插入数学公式?

(1)开启公式支持

首先得在 选项 中

(2)插入公式

行级元素用   $...$  居左排版

块级元素用  $...$$  居中排版

示例1:

$\int kdx = kx + C$

$\int kdx = kx + C$

示例2:

$$
        \begin{matrix}
        x & 1 & x^2 \\
        y & y & y \\
        z & z & z \\
        \end{matrix}
$$

$$
\begin{matrix}
x & 1 & x^2 \\
y & y & y \\
z & z & z \\
\end{matrix}
$$

推荐链接:

  在线编辑器:https://codecogs.com/latex/eqneditor.php

  教程: https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference

猜你喜欢

转载自www.cnblogs.com/--zz/p/10554286.html