LaTeX
- [置顶]  html页面添加LaTeX公式   (2021-08-14)
- LaTeX集合符号   (2021-08-23)
- LaTeX基础函数   (2021-08-23)
- LaTeX基础运算符   (2021-08-14)
以下显示部分文章预览。
以下显示部分文章预览。
首先在head部分中添加
<script id="MathJax-script" async src="https://cdn.
jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js">
</script>
然后即可在body中添加公式。具体用法为:
\( 公式 \)以添加行内公式,
\[ 公式 \]以添加独行公式。
示例:
\( x^2 + y^2 = z^2 \)
将显示\( x^2 + y^2 = z^2 \).
    发表于2021-08-14
基础符号
\{ \}, \varnothing
\(\{ \}, \varnothing \)
元素与集合
\in, \notin, \ni, \not\ni
\(\in, \notin, \ni, \not\ni \)
集合运算
\cap,\cup,\bigcap,\bigcup,\setminus,\times
\(\cap,\cup,\bigcap,\bigcup,\setminus,\times \)
集合关系
\subset,\supset,\subseteq,\supseteq
\(\subset,\supset,\subseteq,\supseteq \)
\subsetneqq,\supsetneqq,\nsubseteq,\nsupseteq
\(\subsetneqq,\supsetneqq,\nsubseteq,\nsupseteq \)
    发表于2021-08-23
指数、对数、幂函数
{a}^{b},\log_{a} b,\ln a,\lg a
\( a^b, \log_{a} b, \ln a, \lg a \)
三角函数
\sin a,\cos b,\tan c,\cot d,\sec e,\csc f
\(\sin a,\cos b,\tan c,\cot d,\sec e,\csc f \)
\arcsin a,\arccos b,\arctan c,\arccot d
\(\arcsin a,\arccos b,\arctan c,arccot d \)
\sinh a,\cosh b,\tanh c,\coth d
\(\sinh a,\cosh b,\tanh c,\coth d \)
绝对值与模
\left\vert {s} \right\vert,\lVert z \rVert
\(\left\vert s \right\vert,\lVert z \rVert \)
根号
\sqrt{a},\sqrt[b]{c}
\(\sqrt{a},\sqrt[b]{c} \)
    发表于2021-08-23
四则运算
+,-,\times,\div,\pm,\mp,\cdot
\( + , - , \times , \div , \pm , \mp , \cdot \)
分数与分式
\frac{a}{b}, \frac{c}{1 + \frac{d}{e}}
\(\frac{a}{b},\frac{c}{1 + \frac{d}{e}} \)
求和与求积
\lim_{n \to \infty} a_n
\(\lim_{n \to \infty} a_n\)
极限
\sum_{n=1}^{N} a_n, \prod_{m=1}^{M} x_m
\(\sum_{n=1}^{N} a_n, \prod_{m=1}^{M} x_m \)
导数与微分
f', f^{(n)}, dx, \mathrm{d}t, \partial y, \nabla f
\(f',f^{(n)},dx,\mathrm{d}t,\partial y,\nabla f \)
积分
\int_{a}^{b} f(x) dx, \iint_{c} , \iiint_{d}, \oint_{A}
\( \int_{a}^{b} f(x) dx, \iint_{c} , \iiint _{d}, \oint_{A}\)
    发表于2021-08-14