- [expr].中括号是pig支持的mathjax元素,其中括号前要加斜杠\
- left(expr\right). 左右圆括号
- left[expr\right]. 左右中括号
- begin{gather*}{gather*}
- begin{array}{lllll}expr\end{array}. lllll是L字母
- begin{split}a=&== b ===&=c\\ x&y&z\end{split}. 以&作为纵向对齐的位置.
- begin{cases}expresses\end{cases} 分支语句,比如分段函数的写法,只有一个大的左花括号
- begin{aligned} 可加&对齐
- begin{align*} 右对齐
- left\{\right. 单左花括号,注意right后面的点号.不可少,同时这个表达式需要用MathJax的中括号tag包起来。
- \空格=> 空格
- \textbf{粗体}
- \frac{θ}{T} => 上下除式:θ为分子,T为分母
- A\backslash B=> A\B
- A\mathbin{\backslash} B => A \ B
\[\begin{aligned}\end{aligned}\]
$$a^2 + b^2 = c^2$$
\cos \sin\theta
换行是两斜杠\\