当前位置:网站首页>LaTeX数学公式
LaTeX数学公式
2022-04-23 08:35:00 【門門要努力】
文内插入 | $插入文中的LaTeX公式$ |
独行公式 | $$ 单独占一行 $$ |
2. 上下角标
下角标 a_0
即 a 0 即 a_0 即a0
上角标a^n
即 a n a^n an
若上下角标多个字符,用a_{20}
表示出 a 20 a_{20} a20
3. 希腊字母
语法 | 显示 |
---|---|
$\alpha$ | α \alpha α |
$\beta$ | β \beta β |
$\gamma$ | γ \gamma γ |
$\epsilon$ | ϵ \epsilon ϵ |
$\pi$ | π \pi π |
$\omega$ | ω \omega ω |
$\Gamma$ | Γ \Gamma Γ |
$\Delta$ | Δ \Delta Δ |
$\Theta$ | Θ \Theta Θ |
$\Pi$ | Π \Pi Π |
$\Omega$ | Ω \Omega Ω |
4. 数学函数
语法 | 显示 |
---|---|
$\log_a b$ | log a b \log_a b logab |
$\sin x$ | sin x \sin x sinx |
$\cos x$ | cos x \cos x cosx |
$\arcsin x$ | arcsin x \arcsin x arcsinx |
$\arccos x$ | arccos x \arccos x arccosx |
$\ln x$ | ln x \ln x lnx |
$\sqrt x$ | x \sqrt x x |
$\sum _ { i = 1 } ^ { 10 } t _ i$ | 求和 ∑ i = 1 10 t i \sum _ { i = 1 } ^ { 10 } t _ i ∑i=110ti |
$\lim_{x \to \infty} e^{ -x}= 0$ | 极限 lim x → ∞ e − x = 0 \lim_{x \to \infty} e^{ -x}= 0 limx→∞e−x=0 |
sin 2 x + c o s 2 x = 1 \sin^2x+cos^2x = 1 sin2x+cos2x=1
y = sin − 1 x + log 2 x y=\sin^{-1}x+\log_2 x y=sin−1x+log2x
5. 分数表示 \frac {分子} {分母}
等 比 数 列 求 和 公 式 : a 1 ∗ ( 1 − q n ) 1 − q 等比数列求和公式 : \frac {a_1*(1-q^n)}{1-q} 等比数列求和公式:1−qa1∗(1−qn)
6. 显示空格
间距 | 语法 | 显示情况 | 说明 |
---|---|---|---|
quad空格 | $a \quad b$ |
a b a \quad b ab | 一个m的宽度 |
两个空格 | $a \qquad b$ |
a b a \qquad b ab | 两个m的宽度 |
大空格 | $a\b$ |
a b a\ b a b | 1/3m宽度 |
中等空格 | $a\;b$ |
a b a\;b ab | 2/7m宽度 |
小空格 | $a\,b$ |
a b a\,b ab | 1/6m宽度 |
没有空格 | $ab$ |
$ ab $ | |
紧贴 | $a\!b$ |
a b a\!b ab | 缩进1/6m宽度 |
7. 公式编号
使用 equation
环境,设置label标签编号
\begin{equation}
a+b=b+a \label{commutative}
\end{equation}
ref{commutative} %引用
可用ref{标签名}
引用公式
8. 矩阵排版
- 1.
\usepackage{amsmath}
%引入数学包 - 2.创建矩阵环境
\begin{matrix} \end{matrix}
$\begin{matrix}
0 & 1 \\
1 & 0
\end{matrix}$
- 3.
{pmatrix}
带小括号,{bmatrix}
带中括号,{Bmatrix}
带大括号,{vmatrix}
带单竖线,{Vmatrix}
带双竖线 - 4.矩阵环境用&分隔列,用\\分隔行
- 5.常用省略号:
\dots
,\vdots
,\ddots
- 6.
\times
命令显示排版乘号
9. 多行公式排版
版权声明
本文为[門門要努力]所创,转载请带上原文链接,感谢
https://blog.csdn.net/qq_50670733/article/details/123498540
边栏推荐
猜你喜欢
随机推荐
form表单 post提交 数据量大的问题
Ear acupoint diagnosis and treatment essay 0421
正点原子携手OneOS直播 OneOS系统教程全面上线
form中enctype属性
洋桃電子STM32物聯網入門30步筆記一、HAL庫和標准庫的區別
Failed to convert a NumPy array to a Tensor(Unsupported Object type int)
Detailed description of self feeling of auricular point weight loss 0422
Transformer XL: attention language modelsbbeyond a fixed length context paper summary
An example of network communication based on TCP / IP protocol -- file transmission
RCC introduction of Hal Library
Failed to prepare device for development
Protobuf简介
mycat配置
Trust uses Tokio's notify and timeout to achieve the effect similar to the timeout condition variable
Misunderstanding of flush () method of OutputStream class
JVM工具之Arthas使用
Test your machine learning pipeline
关于cin,scanf和getline,getchar,cin.getline的混合使用
让地球少些“碳”息 度能在路上
lgb,xgb,cat k折交叉验证