Markdown & LaTeX uses detailed

Markdown use help

Zero, Markdown and LaTex introduction

First on the situation as Baidu Encyclopedia
(The following is an excerpt Baidu Encyclopedia)
Markdown can be used to write a plain text editor Markup Language, a simple markup syntax, it can make the plain text content has a certain format.

Markdown has a series of derived version, Markdown for extended functions (such as tables, footnotes, embedded HTML, etc.), these features of the original Markdown does not have, they allow more Markdown converted into the format, for example LaTeX, Docbook . Markdown enhanced version of the more famous Markdown Extra, MultiMarkdown, Maruku and so on. These derivative versions based on either tool, such as Pandoc; or on sites such as GitHub and Wikipedia, on the basic syntax compatible, but there are some changes in grammar and rendering.

Markdown syntax is concise, easy to learn, and more powerful than pure text, so there are a lot of people use it to write a blog ...... (hereinafter omitted a million words)


(split line)

To put it plainly, Markdown is a markup language, the content of the page more diverse.

LaTex is an auxiliary, so that the use of a supporting formula Markdown

A font

### Example 1.

A title

Subheadings

Three title

Four title

Five title
Six title

I am very rough!

I have been deleted.

I was crooked

  • I have a point!

  • I also have a point!

  1. I was first!
  2. I am a second!

     我有一个框,框下有条线!

(split line)

说明:
1. 标题:分为1~6级标题,大小依次递减。在Markdown中,在一段文字前加“#”号即可将这段文字标记为标题。
2. 列表:分为有序列表与无序列表。在Markdown中,无序列表只需要在文字前加上“-”或“*”,有序列表则直接在文字前加 1. 2. 3. 符号和一个空格。
3. 加粗:在文字前后各加2个“*”号。
4. 删除线:在文字前后各加2个“~”号。
5. 倾斜:在文字前后各加1个“_”号。
6. 加框:在文字前加一个或更多Tab等到颜色发生改变。注意:框中的所有Markdown、LaTex格式都将消失,框中的所有内容将作为纯文本出现,换行也不需要隔一行。
7. 分割线:另起一行(最好空一行)并打上3个及以上的“-”减号。

代码:
# 一级标题
## 二级标题
### 三级标题
#### 四级标题
##### 五级标题
###### 六级标题

**我很粗!**

~~我没有上面粗,但我有条杠。~~   

_我是歪的_ 

- 我有一个点!

* 我也有一个点!

1. 我是第一条!
2. 我是第二条!

        我有一个框,框下有条线!
        
---
(分割线)

Second, images and links

Example 2.

Insert links and insert images like syntax, except in a half-size "!" Sign.

Luo Valley

lzzVIL

代码:
[洛谷](https://www.luogu.org/)

![lzzVIL](https://cdn.luogu.org/upload/usericon/21391.png)

Third, paste the code

Example 3.

printf("helloworld")

`` 说明: 其实就是在代码前后各加一行3个“"No, and first in the" `", add cpp language can be changed to pascal, otherwise default with normal text box.

Code (remove comment symbols themselves):
/ cpp printf("helloworld")/


## 四、数学公式、数学符号表
### 说明:
LaTeX的数学公式可以嵌入文字中,如:$\sqrt{X}$(左右两边的“$”符号各有一个),也可以形成一块换行居中(左右两边的“$”符号各有两个)。

下面的LaTeX公式**都采用了后一种方法**,**公式中**所有的“X”均表示可以替换成任何内容。如果X的字符数超过了1个,请使用一对“{}”将X的两边括起来。

$$\# X$$

$$# X$$


另:以下代码均位于方框内(即一个有色底框)中,代码上方为预览内容!

## 1. **运算符:**
- **四则运算符:**

$$+ - \times \cdot \ast \div$$

$$+ - \times \cdot \ast \div$$

- **分式**
$$\frac{X}{X} {X \over X}$$

$$\frac{X}{X} {X \over X}$$

- **上下标**
$$X^X X_X X^X_X X_X^X$$

$$X^X X_X X^X_X X_X^X$$

- **根式**
$$\sqrt{X} \sqrt[X]{X}$$

$$\sqrt{X} \sqrt[X]{X}$$

- **对数**
$$\log X\ \lg X\ \ln X$$

$$\log X \lg X \ln X$$

- **其它**
$$\pm \mp$$

$$ \ pm \ mp $$

## 2. **括号**
$$\lbrace [ ( \frac{X}{X} ) ] \rbrace \langle \lceil \lfloor \frac{X}{X} \rfloor \rceil \rangle$$

$$\lbrace [ ( \frac{X}{X} ) ] \rbrace \langle \lceil \lfloor \frac{X}{X} \rfloor \rceil \rangle$$

**加大两侧括号:在两侧括号前分别加上\left和\right。**
$$\left\lbrace \left[ \left( \frac{X}{X} \right) \right] \right\rbrace \left\langle \left\lceil \left\lfloor \frac{X}{X} \right\rfloor \right\rceil \right\rangle$$

$$\left\lbrace \left[ \left( \frac{X}{X} \right) \right] \right\rbrace \left\langle \left\lceil \left\lfloor \frac{X}{X} \right\rfloor \right\rceil \right\rangle$$

**注意:\left和\right标记必须是成对出现的,但有时候我们只用到其中一个,比如只用一个|当作分割线,这时候可以通过.来表示空的那一方,即用\left.表达左边空的情况,用\right.表达右边空的情况。如:**
$$\left. \frac{dy}{dx} \right| _{x=0}$$

$$\left. \frac{dy}{dx} \right| _{x=0}$$

## 3. **判断符:**
$$= \neq \lt \gt \leq \geq \nleq \ngeq \approx \not\approx \equiv \not\equiv$$

$$= \neq \lt \gt \leq \geq \nleq \ngeq \approx \not\approx \equiv \not\equiv$$

## 4. **定义运算符:**
$$\bigodot \bigotimes \bigoplus$$

$$ \ bigodot \ bigotimes \ $$ bigoplus

## 5. **集合运算符:**
$$\in \notin \subset \subseteq \not\subset \not\subseteq \supset \supseteq \not\supset \not\supseteq$$

$$\in \notin \subset \subseteq \not\subset \not\subseteq \supset \supseteq \not\supset \not\supseteq$$

$$\cup \cap$$

$$\cup \cap$$

## 6. **微积分符号:**
- **求和**
$$\sum\ \sum_X^X X\ \sum_X^{\infty} X$$

$$\sum \sum_X^X X \sum_X^{\infty} X$$

- **求积**
$$\prod\ \Pi\ \prod_X^X X\ \prod_X^{\infty} X$$

$$\prod \Pi \prod_X^X X \prod_X^{\infty} X$$

- **积分**
$$\int\ \iint\ \iiint\ \oint$$

$$ \ int \ iint \ iiini \ point $$

$$\int_X^X X\ \int_X^{\infty} X$$

$$\int_X^X X \int_X^{\infty} X$$

- **其它**
$$\lim_{X \to X} \bigcup ⋃$$

$$\lim_{X \to X} \bigcup ⋃$$

## 7. **希腊字母:**
#### 小写字母
$$\alpha \beta \gamma \delta \epsilon \zeta \eta \theta \iota \kappa \lambda \mu \nu \xi \omicron \pi \rho \sigma \tau \upsilon \phi \chi \psi \omega$$

$$ \ alpha \ beta \ gamma \ Delta \ epsilon \ zeta \ eta \ theta \ iota \ kappa \ lambda \ in \ and \ XI \ omicron \ go \ rho \ Sigma \ tau \ upsilon \ pictures \ a \ psi \ Omega $$

#### 大写字母
$$A B \Gamma \Delta  E Z H \Theta I K \Lambda M N \Xi O \Pi P \Sigma T Y \Phi X \Psi \Omega$$

$$A B \Gamma \Delta E Z H \Theta I K \Lambda M N \Xi O \Pi P \Sigma T Y \Phi X \Psi \Omega$

## 8. **角度/三角符号:**
$$X^\circ \bot \angle \sin \cos \tan \cot \tan \cot \sec \csc$$

$$ X ^ \ circ \ bot \ angle \ sin \ cos \ as \ cot \ as \ cot \ sec \ csc $$

## 9. **箭头符号:**
$$\uparrow \Uparrow \downarrow \Downarrow \leftarrow \Leftarrow \rightarrow \Rightarrow \longleftarrow \Longleftarrow \longrightarrow \Longrightarrow$$

$$\uparrow \Uparrow \downarrow \Downarrow \leftarrow \Leftarrow \rightarrow \Rightarrow \longleftarrow \Longleftarrow \longrightarrow \Longrightarrow$$

## 10. **特殊符号:**
**空格(使用右斜杠+“ ”空格符):**
##### 有空格
$$X\ X$$

$$X X$$

##### 无空格
$$X X$$

$$X X$$


$$\% \&$$

$$% &$$

## 11. **其它符号:**
$$\underbrace{\overline{X}\overbrace{\underline{X}}}$$

$$\underbrace{\overline{X}\overbrace{\underline{X}}}$$

$$\partial X\ldots\cdots$$

$$\partial X\ldots\cdots$$

**块公式格式:**
$\displaystyle \lim_{X}$

$\displaystyle \lim_{X}$

$$\vec{X} \hat{X}$$

$$\vec{X} \hat{X}$$
```

12. Schedule (picture from the network)









Documentation update instructions UPD

  1. August 11, 2018:
    1. Change the title, address
    2. Modify the part of the position and added some notes

At Last: References

  1. Luo Valley Help: markdown
  2. markdown mathematical formula
  3. CSDN-Markdown syntax highlights
  4. Special Symbols
  5. Markdown editing formulas and CSDN-Markdown editor formula
  6. Common special symbol correspondence table LaTex
  7. Multi-line mathematical formulas [notes] 10 LaTeX math mode
  8. LaTeX skills Experience 255: laTeX layout with braces three methods
  9. Latex plurality of rows aligned wrap formula

Guess you like

Origin www.cnblogs.com/lzzVIL/p/11847368.html