记一下日常见到的一些奇怪的 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. get、set快捷键那码事儿

    今天发现一个省时间的方法.get一下,哈哈 在快捷get/set.或其他那个页面上的方法时,只需Shift+Alt+s 然后,选择哪个方法,就按该方法字母下有横线的那个字母(只按单个字母就行) 在ge ...

  2. XCode8.3真机调试设置

    本文使用XCode8.3.3 首先XCode->Preferncs,进入下面的界面 点击左下角“+”号,并输入账号,然后点击Manage Certificates,左下角添加IOS develo ...

  3. c++嵌入linux指令以查找文件夹

    char buf[256]={0}; char cmd[64] ={0}; FILE *fp=NULL; snprintf(cmd,sizeof(cmd),"ls %s",&quo ...

  4. 13.56Mhz/NFC读写器天线阻抗匹配调试步骤-20191128

    相关原文: https://blog.csdn.net/wwt18811707971/article/details/80641432 http://www.52rd.com/Blog/Detail_ ...

  5. 小记-----如何把本地jar包加载到maven库中

    1.从maven中央库下载下jar包

  6. Integer类的常量池

  7. laravel框架之即點即改

    //控制器層 public function ajaxsex(request $request) { $id = $request->get('id'); $fd = $request-> ...

  8. bootstrap modal 闪退的办法

     调用:

  9. 140. 后缀数组(hash + 二分 / 后缀数组)

    题目链接 : https://www.acwing.com/problem/content/description/142/ Hash + 二分 #include <bits/stdc++.h& ...

  10. ArcGIS 在VS2010中 ESRI.ArcGIS.SOESupport.dll 无法正常加载的处理

    转自  http://blog.csdn.net/tnt123688/article/details/23186973 问题描述: 打开ArcGIS的SOE模板后,提示  错误 命名空间“ESRI.A ...