MathJax 基础教程
2015-07-10 22:15
405 查看
Greek letters
Some capital Greek letters are the same as the Roman equivalents, so they are not separated in LATEX. For a capital beta, one must use something like
Superscripts & Subscripts
use
Groups
use
Parentheses
These do not scale with the formula in between, so if you write
There are also invisible parentheses, denoted by
Fractions
For more complicated, use
Sums and integrals
The subscript is the lower limit and the superscript is the upper limit, so for example
Radical signs
Use sqrt, which adjusts to the size of its argument:
For complicated expressions, consider using
Special functions
Such as “lim”, “sin”, “max”, “ln”, and so on are normally set in roman font instead of italic font. Use
Special symbols and Notations
Some of the most common include:
For modular equivalence, use
Script lowercase l is
Spaces
Text
Use
Accents and diacritical marks
Formula | Symbol | Formula | Symbol | Formula | Symbol | Formula | Symbol |
---|---|---|---|---|---|---|---|
\alpha | α | \Alpha | A | \nu | ν | \Nu | N |
\beta | β | \Beta | B | \xi | ξ | \Xi | Ξ |
\gamma | γ | \Gamma | Γ | \omicron | ο | \Omicron | O |
\delta | δ | \Delta | Δ | \pi | π | \Pi | Π |
\epsilon \varepsilon | ϵ ε | \Epsilon | E | \rho \varrho | ρ ϱ | \Rho | R |
\zeta | ζ | \Zeta | Z | \sigma \varsigma | σ ς | \Sigma | Σ |
\eta | η | \eta | H | \tau | τ | \Tau | T |
\theta \vartheta | θ ϑ | \Theta | Θ | \upsilon | υ | \Upsilon | Υ |
\iota | ι | \Iota | I | \phi \varphi | ϕ φ | \Phi | Φ |
\kappa | κ | \Kappa | K | \chi | χ | \Chi | X |
\lambda | λ | \Lambda | Λ | \psi | ψ | \Psi | Ψ |
\mu | μ | \Mu | M | \omega | ω | \Omega | Ω |
\mathrm{B}: B.
Superscripts & Subscripts
use
^for superscripts and
_for subscripts.
x_i^2is x2i
Groups
use
{and
}.
10^10is 1010,
10^{10}is 1010
Parentheses
Formula | Symbol | Formula | Symbol |
---|---|---|---|
( | ( | ) | ) |
[ | [ | ] | ] |
\{ | { | \{ | } |
| | | | | | | |
\langle | ⟨ | \rangle | ⟩ |
\lceil | ⌈ | \rceil | ⌉ |
\lfloor | ⌊ | \rfloor | ⌋ |
(\frac12)the parentheses will be too small:(12). Using
\left(…
\right)will make the sizes adjust automatically to the formula they enclose:
\left(\frac12\right)is (12).
There are also invisible parentheses, denoted by
.:
\left.\frac12\right\rbraceis 12}.
Fractions
\frac abapplies to the next two groups, and produces ab.And
\frac{a+1}{b+1}is a+1b+1.
For more complicated, use
\over,
{a+1\over b+1}is a+1b+1.
Sums and integrals
Formula | Symbol | Formula | Symbol |
---|---|---|---|
\int | ∫ | \iint | ∬ |
\prod | ∏ | \sum | ∑ |
\bigcup | ⋃ | \bigcap | ⋂ |
\sum_1^nis ∑n1;
\sum_{i=0}^\infty i^2is ∑∞i=0i2.
Radical signs
Use sqrt, which adjusts to the size of its argument:
\sqrt{x^3}is x3−−√;
\sqrt[3]{\frac xy}is xy−−√3.
For complicated expressions, consider using
{...}^{1/2}instead, for example
{\left(\frac 13\right)}^{\frac 12}is (ab)12.
Special functions
Such as “lim”, “sin”, “max”, “ln”, and so on are normally set in roman font instead of italic font. Use
\lim,
\sin, etc. to make these:
\sin xsinx, not
sin xsinx. Use subscripts to attach a notation to
\lim:
\lim_{x\to 0}limx→0
Special symbols and Notations
Some of the most common include:
\lt<
\gt>
\le≤
\ge≥
\neq≠.
\not\lt≮(not recommended).
\times×
\div÷
\pm±
\mp∓.
\cdotis a centered dot: x⋅y
\cup∪
\cap∩
\setminus∖
\subset⊂
\subseteq⊆
\subsetneq⊊
\supset⊃
\in∈
\notin∉
\emptyset∅
\varnothing∅
{n+1 \choose 2k}or
\binom{n+1}{2k}(n+12k)
\to→
\rightarrow→
\leftarrow←
\Rightarrow⇒
\Leftarrow⇐
\mapsto↦
\land∧
\lor∨
\lnot¬
\forall∀
\exists∃
\top⊤
\bot⊥
\vdash⊢
\vDash⊨
\star⋆
\ast∗
\oplus⊕
\circ∘
\bullet∙
\approx≈
\sim∼
\simeq≃
\cong≅
\equiv≡
\prec≺
\infty∞
\aleph_0ℵ
\nabla∇
\partial∂
\ImI`\Re` R
For modular equivalence, use
\pmodlike this:
a\equiv b\pmod na≡b(modn)
a_1, a_2, \ldots ,a_na1,a2,…,an;
a_1+a_2+\cdots+a_na1+a2+⋯+an
Script lowercase l is
\ellℓ
Spaces
a␣band
a␣␣␣␣bare both ab. To add more space, use
\,, for a thin space ab
\;for a wider space ab.
\quadand
\qquadare large spaces: ab, ab.
Text
Use
\text{…},
\{x\in s\mid x\text{ is extra large}\}is {x∈s∣x is extra large}
Accents and diacritical marks
\hat xx^,
\widehat{xy}xyˆ,
\bar xx¯,
\overline{xyz}xyz¯¯¯¯¯,
\vec, x⃗ ,
\overrightarrowxy−→
\overleftrightarrowxyz←→,
\frac d{dx}x\dot x = \dot x^2 + x\ddot xddxxx˙=x˙2+xx¨
相关文章推荐
- View Controller、Delegate、TextField——《iOS编程》第六、七章学习笔记
- 7.10垫底总结
- Jsp 自定义tag标签
- java基础-输入输出流-大文本文件读取及写入另一文本-----(此程序print部分有bug,输出不正常,原因琢磨不清了。。。)
- 新增button控件为其添加onClick事件及Text
- 最小生成树之Kruskal算法
- 含有过滤功能的android流式布局
- poj 2231 Moo Volume
- 2015年7月10日 UITableView 2
- Windows下 WebStorm 配置使用SVN
- 为 JIRA 6.x 安装中文语言包
- 为 JIRA 6.x 安装中文语言包
- 安卓应用
- 黑马程序员_java 反射的基本理解
- idea
- 爬楼梯(算法)
- IIS6.0的默认权限和用户权限设置小结
- CRF++的初步使用(1)
- Hibernate检索方式
- Hibernate检索方式 分类: SSH框架 2015-07-10 22:10 4人阅读 评论(0) 收藏