博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
CMD Markdown basic & Math Cheatsheet
阅读量:4487 次
发布时间:2019-06-08

本文共 3653 字,大约阅读时间需要 12 分钟。

CMD Markdown basic & Math Cheatsheet


I am using CMD Markdown both at work and for study.You can use it to take notes, store the output of your model, write down fantastics ideas anyttime.

It has a few advantages over word, notepad, Rmarkdown, etc:

  • It is auto-saved, you don't need to worry about losing file when your computer stuck.
  • All the file is stored online. You can access your account any where.
  • It interactives well with other formats. For example you can copy the output of Kable() in R directly to Markdown, becasue they share the same grammar.

So here I will go over some basic Markdown Grammar. It won't be thorough, but it will cover some frequectly used grammar.

Any feedback is welcomed.

Basic

1.Title

Subtitlle1

Subtitlle2

Add subtitle with more #

2. Text

  • this is italic and this is bold .
  • this is important text. and percentage signs : % and %

3. Indention & Quote Notes

Here goes your Quote

with more indentations

4. Bullet Point

  • bullets can be -, +, or *
    • 2nd Level subset: Use Tab to give you second level subset
      • 3rd Level subset

5. Code

You can speficy the lanuage you use, which will lead to differet highlight.

print("Hello World")

6. Table and Alignment

This can be very handy when you call the Markdown library like Knitr in R or markdown in python, you can simply use kable(dataframe) which will output following format. And you can then paste it in your markdown.

List Tag
1 计划
2 DeepLearning
3 Leetcode

here is a link to my blog:

8. Math Formula

  • $Formula$ gives you a formula in the line \(P(y=1|x)\)
  • $$Formula$$ starts a new line for formula \[P(y=1|x)\]

9.Page Split

Following is how you split the page by ---


Math

1. Greek Lettter

Grammar Greek
\alpha \(\alpha\)
\beta \(\beta\)
\gamma \(\gamma\)
\Gamma $ \Gamma\(| |\pi|\)\pi$
\Pi \(\Pi\)
\phi \(\phi\)
\Phi \(\Phi\)
\varphi $\varphi \(| |\mu|\)\mu$
\Delta $\Delta \(| |\theta |\) \theta$

2. Basic Operators

Grammar Operators
\lim \(\lim\)
\exp \(\exp\)
\to \(\to\)
\infty \(\infty\)
\equiv \(\equiv\)
\bmod \(\bmod\)
\pm $\pm \(| | \mp |\) \mp\(| |\leq |\) \leq\(| | \geq |\)\geq \(| |\times|\)\times\(| |\div|\)\div\(| | \sqrt{k}|\) \sqrt{k}\(| | \sum |\) \sum \(| | \prod |\)\prod \(| |\int |\)\int \(| |\iint |\)\iint \(| |\cos|\)\cos\(| |\sin|\)\sin$

3.Theory Deduction Operator

Grammar Operators
\forall $ \forall\(| |\in |\)\in \(| | \exists |\) \exists\(| |\epsilon |\) \epsilon \(| |\propto |\)\propto \(| | \neq |\) \neq\(| |\sim |\)\sim $

4 Upper and Lower Indices

Grammar Indices
k_{n+1} $k_{n+1} \(| |k^2 |\) k^2 \(| |k_n^2 |\)k_n^2 $

And by combining this indices with the above operator, you will have all that you need.

Grammar Combination
\sum_{i=1}^{10} t_i $\sum_{i=1}^{10} t_i $
\int\limits_a^b $\int\limits_a^b $
\sqrt[n]{k} $\sqrt[n]{k} $

5 Fraction

Grammar Fraction
\frac{1}{x} \(\frac{1}{x}\)
\frac{\frac{x}{1}}{x - y} $ \frac{\frac{1}{x}}{x - y}\(| |^3/_7 |\)^3/_7 $

6. Bracket

\((a)\) \([a]\) \(|a|\) are the original one

|Grammar|Bracket|
|-------|-----|
|\langle f \rangle |$\langle f \rangle \(| |\lfloor f \rfloor |\)\lfloor f \rfloor \(| |\lceil f \rceil |\)\lceil f \rceil \(| | \| e \| |\) | e |$|

7. Set Operator

Grammar Operator
\bigcup $\bigcup \(| |\bigcap |\) \bigcap\(| |\bigvee |\)\bigvee \(| |\bigwedge |\)\bigwedge \(| | \subset |\) \subset$

8 Arrow

Grammar Arrow
\implies $\implies \(| |\Rightarrow |\)\Rightarrow \(| |\rightarrow |\)\rightarrow \(| |\Uparrow |\) \Uparrow\(| |\Downarrow |\)\Downarrow \(| |\Leftnarrow |\)\Leftarrow \(| |\Leftrightarrow |\)\Leftrightarrow $

Reference

  1. - Very thorough math Cheatsheet
  2. - Wiki
  3. - Very thorough cheatsheet for everything.

转载于:https://www.cnblogs.com/gogoSandy/p/8373849.html

你可能感兴趣的文章
C# Cache的类方法
查看>>
sql注入式攻击的原理及实例分析 (转载)
查看>>
现代浏览器的工作原理
查看>>
11号团队-团队任务5:项目总结会
查看>>
CPU运行原理
查看>>
UVA529 Addition Chains
查看>>
django项目部署在Apache服务器中,静态文件路径的注意点
查看>>
Unity检查更新
查看>>
转:objective-c 协议和委托
查看>>
day 55 jQuery 之事件 绑定等
查看>>
前端开源项目周报0221
查看>>
构建LINUX下的入侵检测系统——LIDS 系统管理命令--vlock
查看>>
Oracle记录(一)Oracle简介与安装
查看>>
DHTML5(控件动态效果综合应用与表单校验)
查看>>
Oracle Enterprise Manager 12c 新特性:实时Real-Time Addm
查看>>
同时安装office2016与visio2016的实现过程
查看>>
vtk类之vtkShrinkFilter :收缩构成对其质心任意数据集的单元格,返回vtkUnstructuredGrid数据集...
查看>>
在此记录一下SharpGL最初创建的程序
查看>>
View Controller Programming Guide for iOS---(六)---Responding to Display-Related Notifications
查看>>
redis数据操作笔记
查看>>