记一下日常见到的一些奇怪的 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. Linux 根据端口快速停止服务并启动的办法

    0. 需要使用 lsof 的命令, 如果linux 上面没有安装的话 需要自行安装 yum install lsof or apt-get install lsof 1. 先根据端口查进程号 [roo ...

  2. Hive开发中使用变量的两种方法

    在使用hive开发数据分析代码时,经常会遇到需要改变运行参数的情况,比如select语句中对日期字段值的设定,可能不同时间想要看不同日期的数据,这就需要能动态改变日期的值.如果开发量较大.参数多的话, ...

  3. python爬取天气后报网

    前言 大二下学期的大数据技术导论课上由于需要获取数据进行分析,我决定学习python爬虫来获取数据.由于对于数据需求量相对较大,我最终选择爬取 天气后报网,该网站可以查询到全国各地多年的数据,而且相对 ...

  4. P1880石子合并

    1995年的noi区间dp题,这道题AC耗时达到了数月. 有一道题叫做果子合并,也是求合并的最小花费,但是那个题是可以随便合并两堆,但是这个题只能合并相邻的两堆,并且是一个环.对于环的问题,我们一般可 ...

  5. JAVA重写不需要@override

    一,如下代码, package com.boot.enable.bootenable; import org.springframework.scheduling.annotation.Async; ...

  6. Filter实现登录功能限制

    public void doFilter(ServletRequest arg0,ServletResponse arg1,FilterChain chain) throws IOException, ...

  7. LNMP完整安装教程

    软件下载地址   https://lnmp.org/install.html 本环境与外网生产环境一致(MySQL 5.6 + PHP 7.1 + CentOS + Nginx 1.12 ) 上图红色 ...

  8. WebApi 生成帮助文档及顺便创建简单的测试工具

    http://www.2cto.com/kf/201607/522971.html ==========最终的效果图========== ==========下面开始干活========== 一.创建 ...

  9. 【leetcode 461】. Hamming Distance

    要求: 给定两个整数x和y,0 ≤ x, y < 231. 求x和y的汉明距离. Example: Input: x = 1, y = 4 Output: 2 Explanation: 1 (0 ...

  10. juniper 命令

    show chassis hardware 查看系统硬件配置,fpc表示板卡,pic表示板卡中的槽位,xcvr表示板卡中的槽位的端口位置 show chassis envirmonent 查看系统运行 ...