当前位置:网站首页>"Latex" Introduction to latex mathematical formula "suggestions collection"
"Latex" Introduction to latex mathematical formula "suggestions collection"
2022-07-06 23:57:00 【Java architects must see】
LaTex Introduction to mathematical formulas
List of articles
One 、 The method of quoting mathematical formulas
CSDN-markdown Editor support is based on MathJax To write LaTeX The mathematical formula , If your document only needs a few simple mathematical formulas , So common LaTeX Have most of the tools you need . If you are writing a scientific document containing many complex formulas , that “mathtools package ” Several new commands have been introduced , These commands are more basic LaTeX The command provided is more powerful , More flexible . Import “mathtools package ” Instructions :
\usepackage { mathtools }I only heard the voice of the architect from the architect's office : Thousands of miles away from the crowd , Suddenly scattered . Who's going to answer the first couplet or the second couplet ?
When we quote LaTex When editing a formula , Mathematical formula content and text content are mixed , Therefore, we need to recognize the content of mathematical formulas in the text , In this case, the standard environment name is used to reference LaTex Edit mathematical formulas . Here, bloggers divide the way of quoting formulas into “ Formula in the text ” and “ The solitary formula ”. The table below for “ Formula in the text ” and “ The solitary formula ” The name of the environment :
type | Name of the environment |
|---|---|
Formula in the text | $…$ |
The solitary formula | $$…$$ |
example 1:
Writing “ Formula in the text ” Code for :
This code is created by Java Architects must see the net - Structure Sorting
This is the mathematical formula I edited $k_{n + 1} = n^2 + k_n^2 - k_{ n-1 }$ The writing effect :
This is the mathematical formula I edited k _ { n + 1 } = n ^ 2 + k _ n ^ 2 - k _ { n-1 }
example 2: Will example 1 Of Change it to
Writing “ The solitary formula ” Code for :
This is the mathematical formula I edited $$k_{n + 1} = n^2 + k_n^2 - k_{ n-1 }$$ The writing effect :
This is the mathematical formula I edited k n + 1 = n 2 + k n 2 − k n − 1 k_{n + 1} = n^2 + k_n^2 - k_{ n-1 } kn+1=n2+kn2−kn−1
Two 、LaTex Basic code of mathematical formula
1. Symbol
1.1. Conventional mathematical symbols : Enter... Directly from the keyboard
This code is created by Java Architects must see the net - Structure Sorting
+ # Add
- # reduce
* # ride
/ # except
% # Seeking remainder
() # parentheses
[] # brackets
{} # Curly braces
......1.2. whatever
\forall1.3. There is
\exists1.4. Belong to
\in1.5. Less than or equal to
\leq1.6. Greater than or equal to
\geq1.7. About equal to
\approx1.8. More mathematical symbols
For more mathematical symbols, please click List of comprehensive mathematical symbols
2. The Greek letter
Greek letters only need to enter the name of the letter after the backslash .
2.1. alpha
\alpha2.2. Beta
\beta2.3. gamma
\gamma2.4. The Greek alphabet
3. Operator
Operator is a function written as a word : Trigonometric functions (sin,cos,tan), Logarithm and exponent (log,exp), limit (lim), And determinant (det).
3.1. Trigonometric functions
\cos(2 \theta)= \cos^2 \theta - \sin^2 \thetacos ( 2 θ ) = cos 2 θ − s i n 2 θ \cos(2 \theta)= \cos ^ 2 \theta - \ sin ^ 2 \theta cos(2θ)=cos2θ− sin2θ
3.2. limit
\lim_{x \to \infty } \exp(-x)= 0lim x → ∞ exp ( − x ) = 0 \lim_{x \to \infty } \exp(-x)= 0 x→∞limexp(−x)=0
3.3. Modular operators
a \bmod bor
a \pmod ba   m o d   b a \bmod b amodb
3.4. Undefined operators ( for example argmax)
To use an operator that is not predefined, click Custom operators
4. Number of items and index
The number of items and index are equivalent to superscript and subscript in normal text mode , The insertion symbols are ^ and _ . If the situation and content of items and indexes are complex , Curly brackets should be used {} Group them .
4.1. Number of items
N_{k+1}N k + 1 N_{k+1} Nk+1
4.2. Number of items : Can cooperate with | Use to express a specific item
f(n)= n^5 + 4n^2 + 2|_{ n = 17}f ( n ) = n 5 + 4 n 2 + 2 ∣ n = 17 f(n)= n ^ 5 + 4n ^ 2 + 2 | _ { n = 17 } f(n)=n5+4n2+2∣n=17
4.3. Index
N^{k+1}N k + 1 N^{k+1} Nk+1
5. Fractions and binomials
5.1. fraction
\ frac { n!} { k!(nk)!}n ! k ! ( n − k ) ! \frac { n!} { k!(n-k)!} k!(n−k)!n!
5.2. fraction : Embed scores in scores
\frac{\frac {1} {x} + \frac {1} {y}}{y-z}1 x + 1 y y − z \frac{\frac {1} {x} + \frac {1} {y}} {y-z} y−zx1+y1
5.3. fraction : Use the method of number of items and index to express simple scores
^3/_73 / 7 ^3/_7 3/7
5.4. binomial
\ binom {n}{k}( n k ) \binom {n} {k} (kn)
6. Open the root
6.1. Square root
\sqrt { \frac { a } { b }}a b \sqrt { \frac { a } { b }} ba
6.2. open n Power root
\sqrt [n] {a}a n \sqrt [n] {a} na
7. Sum up 、 integral
7.1. Sum up
\sum _ { i = 1 } ^ { 10 } t _ i∑ i = 1 10 t i \sum _ { i = 1 } ^ { 10 } t _ i i=1∑10ti
7.2. integral
The upper and lower bounds of the integral follow the sign ^ and _. Use d( Such as :dx) It means that the integral variable is very important , adopt \ mathrm {} Command to get the integral variable , And use \, Separate the integral variable from the integrand .
\int _ 0 ^ \infty \mathrm { e } ^ { -x } \,\mathrm { d } x∫ 0 ∞ e − x   d x \int _ 0 ^ \infty \mathrm { e } ^ { -x } \, \mathrm { d } x ∫0∞e−xdx
7. matrix
Use the matrix environment to create a basic matrix : Like other table like structures , Entries are specified by rows , Column usage & symbols , New line with double backslash \\ Separate .
\begin {matrix}
a &b&c \\
d & e&f \\
g&h&i
\end {matrix}a b c d e f g h i \begin {matrix} a &b&c \\ d & e&f \\ g&h&i \end {matrix} adgbehcfi
3、 ... and 、 reference
边栏推荐
- Server SMP, NUMA, MPP system learning notes.
- AVL树到底是什么?
- 【OFDM通信】基于深度学习的OFDM系统信号检测附matlab代码
- openresty ngx_lua子请求
- app通用功能測試用例
- 【系统分析师之路】第七章 复盘系统设计(面向服务开发方法)
- PostgreSQL使用Pgpool-II实现读写分离+负载均衡
- The programmer refused the offer because of low salary, HR became angry and netizens exploded
- Oracle中使用包FY_Recover_Data.pck来恢复truncate误操作的表
- Computer reinstallation system teaching, one click fool operation, 80% of people have learned
猜你喜欢

Introduction au GPIO

Wind chime card issuing network source code latest version - commercially available

STM32通过串口进入和唤醒停止模式

DAY ONE

每年 2000 亿投资进入芯片领域,「中国芯」创投正蓬勃

Today, I met a senior test developer from Tencent and saw the ceiling of the foundation

Gradle knowledge generalization

快手的新生意,还得靠辛巴吆喝?

DAY ONE

Cas d'essai fonctionnel universel de l'application
随机推荐
pytest多进程/多线程执行测试用例
Automatic test tool katalon (WEB) test operation instructions
【系统分析师之路】第七章 复盘系统设计(面向服务开发方法)
1000字精选 —— 接口测试基础
【2022全网最细】接口测试一般怎么测?接口测试的流程和步骤
(leetcode) sum of two numbers
Use package FY in Oracle_ Recover_ Data. PCK to recover the table of truncate misoperation
DAY THREE
leetcode:236. 二叉树的最近公共祖先
MySQL主从之多源复制(3主1从)搭建及同步测试
Local deployment Zeppelin 0.10.1
[communication] optimal power allocation in the uplink of two-layer wireless femtocell network with matlab code
The "white paper on the panorama of the digital economy" has been released with great emphasis on the digitalization of insurance
每年 2000 亿投资进入芯片领域,「中国芯」创投正蓬勃
The largest single investment in the history of Dachen was IPO today
After 3 years of testing bytecan software, I was ruthlessly dismissed in February, trying to wake up my brother who was paddling
Experiment 5: common automation libraries
Résumé des connaissances de gradle
Please help xampp to do sqlilab is a black
Oracle中使用包FY_Recover_Data.pck来恢复truncate误操作的表