记一下日常见到的一些奇怪的 Markdown / LaTeX 用法...

Markdown

LaTeX

LaTeX 数学

1. 运算符

1.1 造运算符:

a \operatorname{sin} c | \(a \operatorname {sin} c\)

2. 特殊符号

2.1 点

语义的点:

  • \dotsc for “dots with commas” | \(a \dotsc b\)
  • \dotsb for “dots with binary operators/relations” | \(a \dotsb b\)
  • \dotsm for “multiplication dots” | \(a \dotsm b\)
  • \dotsi for “dots with integrals” | \(a \dotsi b\)
  • \dotso for “other dots” (none of the above) | \(a \dotso b\)
  • \dots output the most suitable form based on the immediate context
    • a \dots b | \(a \dots b\)
    • a + \dots + b | \(a + \dots + b\)
    • \int_{a_1}\int_{a_2} \dots \int_{a_n} | \(\int_{a_1}\int_{a_2} \dots \int_{a_n}\)

位置的点:

  • \cdots | \(a \cdots b\)
  • \vdots | \(a \vdots b\)
  • \ddots | \(a \ddots b\)
  • \ldots | \(a \ldots b\)

For example:

M
=\begin{bmatrix}
A & B & \cdots\ &C\\
D & E & \cdots\ & F\\
 \vdots   & \vdots & \ddots  & \vdots  \\
 G & H & \cdots\ & I\\
\end{bmatrix}

\[M
=\begin{bmatrix}
A & B & \cdots\ &C\\
D & E & \cdots\ & F\\
 \vdots   & \vdots & \ddots  & \vdots  \\
 G & H & \cdots\ & I\\
\end{bmatrix}
\]

2.2 分数/二项式系数

\(\TeX\) style:

  • {a \over b} | \({a \over b}\)
  • {a \atop b} | \({a \atop b}\)
  • {a \choose b} | \({a \choose b}\)
  • {a \brack b} | \({a \brack b}\)
  • {a \brace b} | \({a \brace b}\)
  • generate:
    • {a \above dimension(nullable) b}

      • dimension: xpt; 0.4pt as default; 0pt hide
      • {a \above 0.5pt b} | \({a \above 0.5pt b}\)
      • {a \above {} b} | \({a \above {} b}\) (error in mathjax...)

\(\LaTeX\) style:

  • \frac ab | \(\frac ab\)

  • \binom ab | \(\binom ab\)

  • generate:

    • {\genfrac leftdelimiter rightdelimiter dimension style numerator denominator}
    • leftdelimiter, rightdelimiter, dimension, style, numerator, denominator are all nullable, you could use {} instead
      • style (nullable):

        • 0 denotes \displaystyle
        • 1 denotes \textstyle
        • 2 denotes \scriptstyle
        • 3 denotes \scriptscriptstyle
      • \genfrac(]{0pt}{2}{a+b}{c+d} | \(\genfrac(]{0pt}{2}{a+b}{c+d}\)
      • \genfrac{}{}{0pt}{}{a+b}{c+d} | \(\genfrac{}{}{0pt}{}{a+b}{c+d}\)
  • other:

    • \dfrac: fraction in the display style | \(\dfrac ab\)
    • \tfrac: fraction in the text style | \(\tfrac ab\)

奇怪的 Markdown / LaTeX 笔记的更多相关文章

  1. MarkDown+LaTex 数学内容编辑样例收集

    $\color{green}{MarkDown+LaTex 数学内容编辑样例收集}$ 1.大小标题的居中,大小,颜色 [例1] $\color{Blue}{一元二次方程根的分布}$ $\color{R ...

  2. Markdown 学习笔记: Basics

    Markdown 学习笔记: Basics 原文:Basics. 了解Markdown格式化句法的要点 本页对如何使用Markdown提供了一个简单的概述.在"句法"页中对Mark ...

  3. Markdown&Latex学习笔记,qwq

    目录 推荐的文章 居中 字体 加颜色 指数 分数 根号 神奇的符号(不要多想qwq) 箭头 小于号 大括号 累加符号 累乘符号 下标 \(\phi\)&\(\varphi\) \(\equiv ...

  4. 【转载】Markdown使用笔记

    献给写作者的 Markdown 新手指南 http://www.jianshu.com/p/q81RER 「简书」作为一款「写作软件」在诞生之初就支持了 Markdown,Markdown 是一种「电 ...

  5. $\LaTeX$笔记:Section 编号方式(数字、字母、罗马)&计数器计数形式修改

    $\LaTeX$系列根目录: Latex学习笔记-序 IEEE模板中Section的编号是罗马数字,要是改投其他刊物的话可能得用阿拉伯数字,所以可以在导言部分做如下修改(放在导言区宏包调用之后): \ ...

  6. $\LaTeX$笔记:首字下沉

    $\LaTeX$系列根目录: Latex学习笔记-序 首字下沉 \IEEEPARstart{W}{ith} ,第一个参数W会变大,占用两行,第二个参数”ith”变会大写. 如代码 \IEEEPARst ...

  7. 我的 MarkDown 学习笔记

    MarkDown 一种用于写作的轻量级[标记语言].它用简洁的语法代替排版,而不像一般的文字处理软件 Word 或者 Pages 有大量的排版.字体设置等. 如果你对文章的样式没有太多要求,只注重写文 ...

  8. R+markdown+LaTeX 中文编译解决方案

    一丢丢前言 很久之前曾试图以Rmarkdown编译pdf文档,无奈怎么鼓捣都会error,搜索了很久都没能找到比较好的解决方案.在配置上将编译器调成了xeLaTeX后就不了了之.这两天心血来潮研究了一 ...

  9. Markdown & LaTex 常用语法

    目录 blog 的目录 博客园自带目录 用 javascript 自定义目录 主标题 副标题 h1,一级标题 h2,二级标题 h3,三级标题 注释 常用的符号及文本形式 如果你想在markdown中文 ...

随机推荐

  1. Confluence6.9配置邮件服务器

    一.调整confluence服务 1.在confluence安装目录下的server.xml中加一段邮件服务器的配置,加在confluence的Context中 <Context path=&q ...

  2. HDU 2973 YAPTCHA (威尔逊定理)

    YAPTCHA Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Su ...

  3. [转帖]C#中字典集合HashTable、Dictionary、ConcurrentDictionary三者区别

    C#中字典集合HashTable.Dictionary.ConcurrentDictionary三者区别 https://blog.csdn.net/yinghuolsx/article/detail ...

  4. python 类(2)

    """ """class BaseCat(object): """ 猫科基础类""&quo ...

  5. Python 入门之 内置模块 -- collections模块

    Python 入门之 内置模块 -- collections模块 1.collections -- 基于Python自带的数据类型之上额外增加的几个数据类型 from collections ​ 在内 ...

  6. HNUSTOJ-1674 水果消除(搜索或并查集)

    1674: 水果消除 时间限制: 2 Sec  内存限制: 128 MB提交: 335  解决: 164[提交][状态][讨论版] 题目描述 “水果消除”是一款手机游戏,相信大家都玩过或玩过类似的游戏 ...

  7. JavaSE--类与对象

    一.类 类是具有相同特性(数据元素)和行为(功能)的对象的抽象就是类.因此,对象的抽象是类,类的具体化就是对象,也可以说类的实例是对象,类实际上就是一种数据类型.类具有属性,它是对象的状态的抽象,用数 ...

  8. ES6 环境的搭建

    安装babel npm install --g babel-cli 在项目目录下输入 npm init -y 会自动创建package.json文件 babel src/index.js -o dis ...

  9. 解决 "Could not autowire. No beans of 'SationMapper' type found" 的问题

    网上查找的方法,附上原文链接:https://blog.csdn.net/Coder_Knight/article/details/83999139 方法1:在mapper文件上加@Repositor ...

  10. Linux 开机文件系统发生错误

    1 如果/目录没有损毁,那么开机的时候,屏幕会提示:press root password or ctrl +D,这个时候请输入root密码登陆系统,然后进行如下操作: 1)在光标处输入root密码登 ...