当前位置:网站首页>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
边栏推荐
- 程序,进程,线程;内存结构图;线程的创建和启动;Thread的常用方法
- synchronized 锁的基本用法
- vmware 搭建ES8的常见错误
- Type anonyme (Principes fondamentaux du Guide c)
- MATLAB 画五星红旗
- Go语言自学系列 | golang方法
- MySQL查询两张表属性值非重复的数据
- Kubernetes如何使用harbor拉去私有镜像
- Yangtao electronic STM32 Internet of things entry 30 step notes IV. engineering compilation and download
- Failed to convert a NumPy array to a Tensor(Unsupported Object type int)
猜你喜欢
随机推荐
什么是RPC
pdf加水印
JS中复制数组
线程的调度(优先级)
K210学习笔记(二) K210与STM32进行串口通信
获取TrustedInstaller权限
STM32F103ZET6【标准库函数开发】----库函数介绍
【58】最后一个单词的长度【LeetCode】
请问中衍期货安全靠谱吗?
Go语言自学系列 | golang结构体指针
jsp页面编码
Go语言自学系列 | golang方法
DOM learning - add + - button
QFileDialog select multiple files or folders
QT reading and writing XML files
Knowledge points and problem solutions related to information collection
Harbor企业级镜像管理系统实战
【路科V0】验证环境2——验证环境组件
Introduction to protobuf
rust 使用tokio的Notify 和timeout实现类似可超时条件变量的效果









