When using Typora, I often forget some LaTeX syntax, so I'm recording it here for future reference.
Special Usage
Braces
Effect:
Code:
\overbrace{Q_1(x) + Q_2(x)+Q_e(x)}^{上括号} = m
\underbrace{Q_1(x) + Q_2(x)+Q_e(x)}_{下括号} = nargmin
Effect:

Syntax:
\underset{x\in S}{{\arg\max} \, f(x)} = \{x \in S: \, f(x) = \max_{y \in S} f(y)\}Long Equals Sign
Effect:
Syntax:
\begin{align}
&\lim_{x\rightarrow0}\frac{x^2-\sin^2x}{x^4}\\
\xlongequal{L'Hospital}\lim_{x\rightarrow0}&\frac{2x-\sin2x}{4x^3}\\
\end{align}Matrix
Effect 1:

Syntax:
a = \left[
\begin{matrix}
\alpha_1 & test1\\
\alpha_2 & test2\\
\alpha_3 & test3
\end{matrix}
\right]Effect 2:

\left\{
\begin{matrix}
1 & 2 & \cdots & 5 \\
6 & 7 & \cdots & 10 \\
\vdots & \vdots & \ddots & \vdots \\
\alpha & \alpha+1 & \cdots & \alpha+4
\end{matrix}
\right\}Truth Table
Effect:

Syntax:
\begin{array}{cc|c}
A&B&F\\
\hline 0&0&0\\
0&1&1\\
1&0&1\\
1&1&1\\
\end{array}LaTeX Symbols




Login to Comment
You need to log in to leave a comment.
Login