markdown中數學公式


Markdown中數學公式

之前遇到數學公式基本都是截圖,很麻煩,所以終於忍受不了了.於是決定來學習markdown中數學公式的寫法.


我用的是haroopad,先設置下,然后在兩個$符號中插入你想要的數學公式即可得到行內公式,或着前面兩個$,結尾兩個這個$得到行間公式.

一些常用的公式符號

這里並不全,只是些使用頻率非常高的例子.

分數

$\frac{2x+3}{3y-1}$

\frac{2x+3}{3y-1}

下標上標

$x_i^2$

x_i^2

省略號

$\cdots$

\cdots

根號

$\sqrt[3]{4}$

\sqrt[3]{4}

矢量

$\vec{a}\cdot\vec{b}=0$

\vec{a}\cdot\vec{b}=0

積分

$\int_abx2dx$

\int_a^bx^2dx

多重積分

$\iint$

\iint

極限

$\lim_{n\rightarrow+\infty}n$

\lim_{n\rightarrow+\infty}n

累加

$\sum_{i=1}^{10} x_i$

\sum_{i=1}^{10} x_i

累乘

$\prod_{i=1}^n x_i$

\prod_{i=1}^n x_i

矩陣

$\begin{bmatrix}a&b\c&d\end{bmatrix}$

\begin{bmatrix}a&b\\c&d\end{bmatrix}

分支公式

$
y=\begin{cases}
-x,\quad x\leq0\
x, \quad x>0
\end{cases}
$

y=\begin{cases}
-x,\quad x\leq0\\
x, \quad x>0
\end{cases}

表和不常用的和對之前的一些補充

希臘字母 格式 希臘字母 格式
$A$ A $\alpha$ \alpha
$B$ B $\beta$ \beta
$\Gamma$ \Gamma $\gamma$ \gamma
$\Delta$ \Delta $\delta$ \delta
$E$ E $\epsilon$ \epsilon
$Z$ Z $\varepsilon$ \narepsilon
$H$ H $\eta$ \eta
$\Theta$ \Theta $\theta$ \theta
$I$ I $\iota$ \iota
$K$ K $\kappa$ \kappa
$\Lambda$ \Lambda $\lambda$ \lambda
$M$ M $\mu$ \mu
$N$ N $\nu$ \nu
$\Xi$ \Xi $\xi$ \xi
$O$ O $\omicron$ \omicron
$\Pi$ \Pi $\pi$ \pi
$P$ P $\rho$ \rho
$\Sigma$ \Sigma $\sigma$ \sigma
$T$ T $\tau$ \tau
$\Upsilon$ \Upsilon $\upsilon$ \upsilon
$\Phi$ \Phi $\phi$ \phi
$\varphi$ \varphi
$X$ X $\chi$ \chi
$\Psi$ \Psi $\psi$ \psi
$\Omega$ \Omega $\omega$ \omega

運算符 格式 運算符 格式
$\pm$ \pm $\emptyset$ \emptyset
$\times$ \times $\in$ \in
$\div$ \div $\notin$ \notin
$\mid$ \mid $\subset$ \subset
$\cdot$ \cdot $\supset$ \superset
$\circ$ \circ $\subseteq$ \subseteq
$\ast$ \ast $\supseteq$ \supseteq
$\bigodot$ \bigodot $\bigcap$ \bigcap
$\bigotimes$ \bigotimes $\bigcup$ \bigcup
$\bigoplus$ \bigoplus $\bigvee$ \bigvee
$\leq$ \leq $\bigwedge$ \bigwedge
$\geq$ \geq
$\neq$ \neq
$\approx$ \approx
$\equiv$ \equiv

微積分中:

$\oint$ \oint
$\infty$ \infty
$\nabla$ \nabla

邏輯:

$\because$ \because
$\therefore$ \therefore
$\forall$ \forall
$\exists$ \exists

參考:
https://blog.csdn.net/zdk930519/article/details/54137476
https://blog.csdn.net/lk7688535/article/details/52528307
https://blog.csdn.net/u014630987/article/details/70156489


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM