当前位置:网站首页>Insert mathematical formula in MD document and mathematical formula in typora
Insert mathematical formula in MD document and mathematical formula in typora
2022-07-01 08:40:00 【Gisleung】
Markdown It's a markup language , It can't be simpler ! Just a few symbols , You can make concise and generous document notes .
therefore , How to be elegant MD Insert formula in document ?( Below to Typora Insert LaTeX For example )

First of all, we need to know what is LaTeX
Then learn how to MD Use it in .
LaTeX The mathematical formula
What is? LaTeX The mathematical formula , You can check the official website :The fastest math typesetting library for the web.
In my submission , It's like Typora equally , Just use simple text symbols , You can make up complex mathematical formulas , Can be easily embedded in web pages or MD In the document .
Insert an introverted formula
The introverted formula follows the text directly , Don't occupy a single line . With f ^ i k \hat f_i^k f^ik For example ( This is not a picture ), Such a superscript Introverted mathematical formula , Just type... In the document :
$\hat f_i^k$
among $$ Identify the introverted formula , Just fill in the middle LaTeX that will do .( Copy it into the document , Experience it. )
Insert in line formula
In line formulas occupy a separate line , Take the following inline formula as an example :
r i k = M L P ( p i ⊕ p i k ⊕ ( p i − p i k ) ⊕ ∥ p i − p i k ∥ ) r_i^k = MLP\left( { {p_i} \oplus p_i^k \oplus \left( { {p_i} - p_i^k} \right) \oplus \left\| { {p_i} - p_i^k} \right\|} \right) rik=MLP(pi⊕pik⊕(pi−pik)⊕∥∥pi−pik∥∥)
A formula block is required ( Similar code block ):
$$
r_i^k = MLP\left( {
{p_i} \oplus p_i^k \oplus \left( {
{p_i} - p_i^k} \right) \oplus \left\| {
{p_i} - p_i^k} \right\|} \right)
$$
among $$ Is a formula block , Fill in the middle LateX that will do .( Copy it into the document , Experience it. )
How to write quickly LaTeX The formula
See here , For how to insert a formula , You may already know . But how to write quickly LaTeX Well ?
Three options ( The last one is the most stupid !)
1 Study LaTeX grammar ( Programmer in )
In fact, writing LaTeX Understand as writing code , No problem at all , Any symbol in a mathematical formula , They all provide corresponding character expressions ( grammar ).
How to learn grammar , You should be able to find a lot on the Internet ...
When you learn , Sure Read while writing :
2 Convenient visual writing
3 from MathType transformation ( Students join the party !)
I'm sure you're right MathType I'm familiar with them , open preset — Cut and copy presets , Follow the screenshot below to set .
Then we write formulas normally , After that , Choose ,Ctrl+C Direct copy , stay MD Directly in the document Ctrl+V Paste , both LaTeX Format formula !
Maybe after pasting , You also need to delete both ends of the formula \], about MD document \] It's redundant .
边栏推荐
- 串口转WIFI模块通信
- In depth learning training sample amplification and tag name modification
- C语言指针的进阶(上篇)
- The meaning of yolov5 training visualization index
- There are many problems in sewage treatment, and the automatic control system of pump station is solved in this way
- 機動目標跟踪——當前統計模型(CS模型)擴展卡爾曼濾波/無迹卡爾曼濾波 matlab實現
- Download jackson codehaus. org jar - downloading jackson. codehaus. org jar
- 内存大小端
- 嵌入式工程师面试-常问问题集
- Agrometeorological environment monitoring system
猜你喜欢

Redis publish subscription

R语言入门

毕业论文中word的使用1-代码域标公式

SPL-安装与基本使用(二)

Model and view of QT

What is the material of 16mo3 steel plate? What is the difference between 16mo3 and Q345R?

C语言指针的进阶(上篇)

The data analyst will be ruined without project experience. These 8 project resources will not be taken away

MATLAB【函数求导】

Pipeline detection of UAV Based on gazebo
随机推荐
yolov5训练可视化指标的含义
3、Modbus通讯协议详解
Principle and application of single chip microcomputer - off chip development
内存大小端
网关gateway-88
性能提升2-3倍!百度智能云第二代昆仑芯服务器上线
SPL-安装与基本使用(二)
Leetcode t34: find the first and last positions of elements in a sorted array
How to use OKR as the leadership framework of marketing department
Yolov5 advanced 7 target tracking latest environment setup
vscode自定义各个区域的颜色
Leetcode t40: combined sum II
The use of word in graduation thesis
2022.2.15
Glitch Free时钟切换技术
Vscode customize the color of each area
[深度剖析C语言] —— 数据在内存中的存储
SPL Introduction (I)
shardingSphere
Only in China! Alicloud container service enters the Forrester leader quadrant