[关闭]
@nrailgun 2015-12-17T19:20:02.000000Z 字数 1235 阅读 1950

LaTeX 数学模式常用注记

强力软件


Matrix

  1. \begin{bmatrix}
  2. a & \cdots & b \\
  3. \vdots & \ddots & \vdots \\
  4. c & \cdots & d
  5. \end{bmatrix}

acbd

Besides pmatrix, Bmatrix, and vmatrix works as well. Use smallmatrix for inline matrix.

Aligned

  1. \begin{align}
  2. a + b & = c \\
  3. & = \sin(x)
  4. \end{align}

a+b=c=sin(x)(1)(2)

Cases

  1. f(n) = \begin{cases}
  2. \frac n 2 & \text{$n$ is even} \\
  3. \frac {n - 1} 2 & \text{otherwise}
  4. \end{cases}

f(n)=n2n12n is evenotherwise

Arrays

  1. $$
  2. \begin{array}{l|rc}
  3. n & \text{name} & \text{age} \\
  4. 1 & \text{John} & 18 \\
  5. 1 & \text{A} & 17
  6. \end{array}
  7. $$

n11nameJohnAage1817

Sum of equations

  1. \left\{ \begin{array}{rcl}
  2. x + y & = & 10 \\
  3. y & = & 0
  4. \end{array} \right.

{x+yy==100

Iff

  1. \begin{array}{cl}
  2. & A(x) + 1 = e^{-1} \\
  3. \iff & f_x = 0 \\
  4. \iff & g_x \ne 0
  5. \end{array}

A(x)+1=e1fx=0gx0

New command

  1. \newcommand{\aboutthesame}[2]{\mathcal #1 \cong \mathcal #2}
  2. \aboutthesame A B

AB

I Love It, :).

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注