当前位置:网站首页>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 .
边栏推荐
猜你喜欢

How can enterprises and developers take the lead in the outbreak of cloud native landing?

factory type_ Id:: create process resolution

shardingSphere

电视机尺寸与观看距离

【面试必刷101】链表

MATLAB【函数求导】

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

Vscode customize the color of each area

Burpsuite -- brute force cracking of intruder

C basic knowledge review (Part 4 of 4)
随机推荐
Mavros sends a custom topic message to Px4
Foundation: 3 Opencv getting started images and videos
Manually dig XSS vulnerabilities
Count number of rows per group and add result to original data frame
AES简单介绍
华为机试真题专栏订阅指引
leetcode T31:下一排列
Advanced level of C language pointer (Part 1)
Comprehensive experiment Li
Principle and application of single chip microcomputer - principle of parallel IO port
There are many problems in sewage treatment, and the automatic control system of pump station is solved in this way
What is the material of 16mo3 steel plate? What is the difference between 16mo3 and Q345R?
[Yu Yue education] Shandong Vocational College talking about railway reference materials
电脑小技巧
The use of word in graduation thesis
目标检测的yolov3、4、5、6总结
Introduction to R language
嵌入式工程师面试题3-硬件
Luogu p1088 [noip2004 popularization group] Martians
Yolov5进阶之六目标追踪环境搭建