参考资料https://gavin_nicholas.coding.me/archives/

1. 如何输入括号和分隔符

()[]| 表示自己, {} 表示 {} 。当要显示大号的括号或分隔符时,要用 \left\right 命令。

例子:$$f(x,y,z) = 3y^2z \left( 3+\frac{7x+5}{1+y^2} \right)$$ ,显示:

\[f(x,y,z) = 3y^2z \left( 3+\frac{7x+5}{1+y^2} \right)
\]

有时候要用\left.\right.进行匹配而不显示本身。

例子:$$\left. \frac{ {\rm d}u}{ {\rm d}x} \right| _{x=0}$$,显示:

\[\left. \frac{ {\rm d}u}{ {\rm d}x} \right| _{x=0}
\]

1.1 偏导

$$\frac{\partial^{2}y}{\partial x^{2}}$$

\[\frac{\partial^{2}y}{\partial x^{2}}
\]

2. 运算符:

关系运算符 markdown语言 集合运算符 markdown语言
\(\pm\) $\pm$ \(\emptyset\) $\emptyset$
\(\times\) $\times$ \(\in\) $\in$
\(\div\) $\div$ \(\notin\) $\notin$
\(\mid\) $\mid$ \(\subset\) $\subset$
\(\nmid\) $\nmid$ \(\supset\) $\supset$
\(\cdot\) $\cdot$ \(\subseteq\) $\subseteq$
\(\circ\) $\circ$ \(\supseteq\) $\supseteq$
\(\ast\) $\ast$ \(\bigcap\) $\bigcap$
\(\bigodot\) $\bigodot$ \(\bigcup\) $\bigcup$
\(\bigotimes\) $\bigotimes$ \(\bigvee\) $\bigvee$
\(\bigoplus\) $\bigoplus$ \(\bigvee\) $\bigvee$
\(\leq\) $\leq$ \(\bigwedge\) $\bigwedge$
\(\geq\) $\geq$ \(\biguplus\) $\biguplus$
\(\neq\) $\neq$ \(\bigsqcup\) $\bigsqcup$
\(\approx\) $\approx$
\(\equiv\) $\equiv$ \(\ll\) $\ll$
\(\sum\) $\sum$
\(\prod\) $\prod$ \(\sim\) $\sim$
\(\coprod\) $\coprod$ \(\backsim\) $\backsim$
\(\prec\) \(\preceq\) \(\succ\) \(\succeq\) $\prec$ $\preceq$ $\succ$ $\succeq$
对数运算符 markdown语言 戴帽符号 markdown语言 连线符号 markdown语言
\(\log\) $\log$ \(\hat{y}\) $\hat{y}$ \(\overline{a+b+c+d}\) $\overline{a+b+c+d}$
\(\lg\) $\lg$ \(\check{y}\) $\check{y}$ \(\underline{a+b+c+d}\) $\underline{a+b+c+d}$
\(\ln\) $\ln$ \(\breve{y}\) $\breve{y}$ \(\overbrace{a+\underbrace{b+c}{1.0}+d}^{2.0}\) $\overbrace{a+\underbrace{b+c}{1.0}+d}^{2.0}$

三角运算符 markdown语言 微积分运算符 markdown语言 逻辑运算符 markdown语言
\(\bot\) $\bot$ \(\prime\) $\prime$ \(\because\) $\because$
\(\angle\) $\angle$ \(\int\) $\int$ \(\therefore\) $\therefore$
\(30^\circ\) $30^\circ$ \(\iint\) $\iint$ \(\forall\) $\forall$
\(\sin\) $\sin$ \(\iiint\) $\iiint$ \(\exists\) $\exists$
\(\cos\) $\cos$ \(\iiiint\) $\iiiint$ \(\not=\) $\not=$
\(\tan\) $\tan$ \(\oint\) $\oint$ \(\not>\) $\not>$
\(\cot\) $\cot$ \(\lim\) $\lim$ \(\not\subset\) $\not\subset$
\(\sec\) $\sec$ \(\infty\) $\infty$
\(\csc\) $\csc$ \(\nabla\) $\nabla$
箭头符号 markdown语言
\(\uparrow\) $\uparrow$
\(\downarrow\) $\downarrow$
\(\Uparrow\) $\Uparrow$
\(\Downarrow\) $\Downarrow$
\(\rightarrow\) $\rightarrow$
\(\leftarrow\) $\leftarrow$
\(\Rightarrow\) $\Rightarrow$
\(\Leftarrow\) $\Leftarrow$
\(\longrightarrow\) $\longrightarrow$
\(\longleftarrow\) $\longleftarrow$
\(\Longrightarrow\) $\Longrightarrow$
\(\Longleftarrow\) $\Longleftarrow$
\(f: {\mathbf x_t} \mapsto {\mathbf y_t}\) $f: {\mathbf x_t} \mapsto {\mathbf y_t}$
\(\Longleftrightarrow\) \Longleftrightarrow

更多关于箭头的符号见:MathJax 支持的 Latex 符号总结(各种箭头符号)


特殊符号

  • \(\boldsymbol{\hat y} = \boldsymbol{W} \boldsymbol{x}\) 的输入

    代码:
$\boldsymbol{\hat y} = \boldsymbol{W} \boldsymbol{x}$
  • \(\ell_p\) 范数: $\ell_p$

对于一些特殊的数学符号可以使用 \operatorname{} 或者 \text{} 来进行转换,如:$\text{cov}$$\operatorname{s.t.}$ 便显示为:\(\text{cov}\) 和 \(\operatorname{s.t.}\)

还有:

$A \xrightarrow{f} B \; a \; \bot b \; \overset{def}{=}$

\(A \xrightarrow{f} B \; a \; \bot b \; \overset{def}{=}\)

$$
\underset{x\in S\subseteq X}{\operatorname{arg\,max}}\, f(x) := \{x \mid x\in S \wedge \forall y \in S : f(y) \le f(x)\}.
$$

\[ \underset{x\in S\subseteq X}{\operatorname{arg\,max}}\, f(x) := \{x \mid x\in S \wedge \forall y \in S : f(y) \le f(x)\}.
\]

$$
\operatorname*{\arg\max}_{x\in S\subseteq X}\, f(x) := \{x \mid x\in S \wedge \forall y \in S : f(y) \le f(x)\}.
$$

\[\operatorname*{\arg\max}_{x \in S \subseteq X}\, f(x) := \{x \mid x\in S \wedge \forall y \in S : f(y) \le f(x)\}.
\]

对齐多行公式

$$
\begin{aligned}
a &= b^2 + c^2\\
&= w^3 + b
\end{aligned}
$$

显示:

\[\begin{aligned}
a &= b^2 + c^2\\
&= w^3 + b
\end{aligned}
\]

关于矩阵的语法

$$
\begin{Bmatrix}
1&2&3\\
4&5&6\\
7&8&9
\end{Bmatrix}
\tag{7}
$$

显示:

\[\begin{Bmatrix}
1&2&3\\
4&5&6\\
7&8&9
\end{Bmatrix}
\tag{7}
\]

更多矩阵设计:

$$
\begin{vmatrix}
1&2&3\\
4&5&6\\
7&8&9
\end{vmatrix}
\tag{8}
$$ $$
\begin{Vmatrix}
1&2&3\\
4&5&6\\
7&8&9
\end{Vmatrix}
\tag{9}
$$ $$
\bigl(
\begin{smallmatrix}
...
\end{smallmatrix}
\bigr)
$$ $$
\left[
\begin{array}{cc|c}
1 & 2 & 3 \\
4 & 5 & 6
\end{array}
\right] \tag{12}
$$

显示:

\[\begin{vmatrix}
1&2&3\\
4&5&6\\
7&8&9
\end{vmatrix}
\tag{8}
\]

\[\begin{Vmatrix}
1&2&3\\
4&5&6\\
7&8&9
\end{Vmatrix}
\tag{9}
\]

\[\bigl(
\begin{smallmatrix}
...
\end{smallmatrix}
\bigr)
\]

\[\left[
\begin{array}{cc|c}
1 & 2 & 3 \\
4 & 5 & 6
\end{array}
\right] \tag{12}
\]

Markdown公式(二)的更多相关文章

  1. Markdown公式编辑

    一.公式使用参考 1.如何插入公式 行中公式(放在文中与其它文字混编)可以用如下方法表示:$ 数学公式 $ 独立公式可以用如下方法表示:$$ 数学公式 $$ 自动编号的公式可以用如下方法表示: 若需要 ...

  2. Markdown 公式整理

    Cmd Markdown 公式指导手册 摘自:Cmd Markdown 公式指导手册 - 作业部落 Cmd Markdown 编辑阅读器 Cmd Markdown 简明语法手册 Cmd Markdow ...

  3. Markdown公式编辑学习笔记

    一.公式使用参考 1.如何插入公式 行中公式(放在文中与其它文字混编)可以用如下方法表示:$ 数学公式 $ 独立公式可以用如下方法表示:$$ 数学公式 $$ 自动编号的公式可以用如下方法表示: 若需要 ...

  4. 【转载】Cmd Markdown 公式指导手册

    目录 Cmd Markdown 公式指导手册 一.公式使用参考 1.如何插入公式 2.如何输入上下标 3.如何输入括号和分隔符 4.如何输入分数 5.如何输入开方 6.如何输入省略号 7.如何输入矢量 ...

  5. markdown公式指导手册

    #Cmd Markdown 公式指导手册 标签: Tutorial 转载于https://www.zybuluo.com/codeep/note/163962#1%E5%A6%82%E4%BD%95% ...

  6. 常用Markdown公式整理 && 页内跳转注意 && Markdown preview

    目录: 常用Markdown公式及注意事项 标题 列表 链接 区块 代码块 / 引用  粗体和斜体 文字块 图片 表格 横线 页内跳转注意事项 其他重要需注意 Markdown preview 前提: ...

  7. [转]Markdown 公式指导手册(包含LaTeX)

    Cmd Markdown 公式指导手册 本文为转载文章,并且由于LaTeX的可能不能全部兼容,所以可能有部分公式无法在博客园显示,可以移步原网站. 本文固定链接: https://www.zybulu ...

  8. markdown 公式编写及不同平台公式转换

    1.markdown 用法及公式编写,这块就不再重复,已有很多官方平台的文档说明很完善 有道云markdown写作文档 在博客园中插入公式 markdown公式输入(特殊符号) markdown 特殊 ...

  9. Markdown 公式指导手册

    本文为 Markdown 环境下的常用语法指引.Typora 编辑阅读器支持 \(\LaTeX\) 编辑显示支持,例如:\(\sum_{i=1}^n a_i=0\),访问 MathJax 以参考更多使 ...

随机推荐

  1. php安装后,再添加模块pdo_mysql,mysqli

    windows下,是动态链接库.dll,linux下是.so. linux下,假设php安装在/usr/local/php,php的源码包放在/usr/local/php-5.6.15 去php源码包 ...

  2. 20155310 Exp6 信息收集与漏洞扫描

    20155310 Exp6 信息收集与漏洞扫描 基础问题回答 1.哪些组织负责DNS,IP的管理. 顶级的管理者是Internet Corporation for Assigned Names and ...

  3. WebService快速上手

    一.WebService是什么? 核心特征:跨语言.跨平台.远程调用[如果是本地系统交互,使用rpc或者com技术就行] soap:HTTP + XML [基于Http的xml格式数据交互] wsdl ...

  4. 微信小程序之生命周期

    1. 整个小程序生命周期 App({}) //app.js App({ onLaunch: function (options) { // 小程序初始化完成时(全局只触发一次) // 程序销毁(过一段 ...

  5. [CF1038F]Wrap Around[AC自动机+dp]

    题意 题目链接 分析 题意容易转化成求循环之后不包含 \(s\) 的串的个数. 首先建立 AC 自动机.考虑一个暴力的做法:枚举长度为 \(n\) 的字符串 \(t\) 最终(后缀) 和 \(s\) ...

  6. PHP调用WCF提供的方法

    一.准备工作 1.安装wampserver:过程略 2.配置wampserver: 2.1打开php.ini文件,去掉 ;extension=php_soap.dll 这里那个分号. 也有说把这个 ; ...

  7. Flask学习-Wsgiref库

    一.前言 前面在Flask学习-Flask基础之WSGI中提到了WerkZeug,我们知道,WerkZeug是一个支持WSGI协议的Server,其实还有很多其他支持WSGI协议的Server.htt ...

  8. onSaveInstanceState和onRestoreInstanceState触发的时机

    先看Application Fundamentals上的一段话: Android calls onSaveInstanceState() before the activity becomes vul ...

  9. .Net Core 分布式微服务框架介绍 - Jimu

    系列文章 .Net Core 分布式微服务框架介绍 - Jimu .Net Core 分布式微服务框架 - Jimu 添加 Swagger 支持 一.前言 近些年一直浸淫在 .Net 平台做企业应用开 ...

  10. SpringBoot日记——错误页处理的配置篇

    在我们访问页面的时候经常会遇到各种问题,比如404,400,500,502等等,可返回的错误页对用户来讲,并不太亲民,所以要定制一下自己的错误页. 我们先访问一个错误页面,看下效果:(虽然给我们提供了 ...