当前位置:网站首页>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的常用方法

《深度学习》学习笔记(八)

QT compilation qtxlsx Library

vmware 搭建ES8的常见错误

LeetCode-199-二叉树的右视图

bashdb下载安装

Input / output system

RCC introduction of Hal Library

Noyer électronique stm32 Introduction à l'Internet des objets 30 étapes notes I. différences entre la Bibliothèque Hal et la Bibliothèque standard

pgsql想实现mysql一样样的列子查询操作
随机推荐
MySQL查询两张表属性值非重复的数据
Flash project cross domain interception and DBM database learning [Baotou cultural and creative website development]
An example of network communication based on TCP / IP protocol -- file transmission
Anonymous type (c Guide Basics)
JSP page coding
Stm32f103zet6 [development of standard library functions] - Introduction to library functions
QFileDialog select multiple files or folders
对li类数组对象随机添加特性,并进行排序
MATLAB 画五星红旗
DOM learning - add + - button
Failed to convert a NumPy array to a Tensor(Unsupported Object type int)
00后最关注的职业:公务员排第二,第一是?
洋桃电子STM32物联网入门30步笔记一、HAL库和标准库的区别
Asan minimalism
RCC introduction of Hal Library
Input / output system
QT compilation qtxlsx Library
Shell脚本进阶
四张图弄懂matplotlib的一些基本用法
Go语言自学系列 | golang嵌套结构体