Posted onEdited onInLaTexViews: Symbols count in article: 6.1kReading time ≈15 mins.
Recently, while reading The Dragon Book DX12, I’ve been using LaTeX to document some formulas. To facilitate searching, I’ve compiled a table of commonly used LaTeX mathematical symbols syntax. More symbols can be found at LaTeX:Symbols.
Addition, Subtraction, Multiplication, and Division
Add
Syntax
Subtract
Syntax
Multiply
Syntax
Divide
Syntax
$+$
+
$-$
-
$\times$
\times
$\div$
\div
Power Operations
Symbol
Syntax
Symbol
Syntax
Symbol
Syntax
Symbol
Syntax
$a^x$
a^x
$a^{xyz}$
a^{xyz}
$\sqrt{x}$
\sqrt{x}
$\sqrt[n]{x}$
\sqrt[n]{x}
Logical Operations
XOR
Syntax
OR
Syntax
AND
Syntax
$\oplus$
\oplus
$\vee$
\vee
$\wedge$
\wedge
Absolute Value
Directly insert vertical bars | to specify the vertical length of the bars using \left and \right tags.
Directly input according to spelling, there are 22 lowercase and 8 uppercase: uppercase has the first letter of lowercase syntax capitalized. Not all are listed.
Symbol
Syntax
Symbol
Syntax
Symbol
Syntax
Lowercase
$\alpha$
\alpha
$\beta$
\beta
$\gamma$
\gamma
Uppercase
$\Phi$
\Phi
$\Omega$
\Omega
$\Delta$
\Delta
Arrows
Symbol
Syntax
Symbol
Syntax
Symbol
Syntax
Symbol
Syntax
Symbol
Syntax
$\gets$
\gets
$\to$
\to
$\Leftarrow$
\Leftarrow
$\Rightarrow$
\Rightarrow
$\Leftrightarrow$
\Leftrightarrow
Ellipsis
Symbol
Syntax
Symbol
Syntax
$\dots$
\dots
$\cdots$
\cdots
Accents
Symbol
Syntax
Symbol
Syntax
Symbol
Syntax
$\hat{x}$
\hat{x}
$\bar{x}$
\bar{x}
$\vec{x}$
\vec{x}
$\dot{x}$
\dot{x}
$\ddot{x}$
\ddot{x}
Standard Parentheses
Symbol
Syntax
Symbol
Syntax
Symbol
Syntax
Symbol
Syntax
$($
(
$)$
)
$[$
[
$]$
]
Floor and Ceiling Functions
Symbol
Syntax
Symbol
Syntax
$\lfloor$
\lfloor
$\rfloor$
\rfloor
$\lceil$
\lceil
$\rceil$
\rceil
Spaces
LaTeX omits spaces by default; to input spaces, you must enter commands yourself. mu is a mathematical unit.
Effect
Description
Syntax
$a \quad b$
Space width is current character width (18mu)
\quad
$a , b$
Space width is 3mu
,
$a : b$
Space width is 4mu
:
$a ; b$
Space width is 5mu
;
$a ! b$
Space width is -3mu (shrinks left)
!
$a \ b$
Space width is standard space key effect
Type a space after \
$a \qquad b$
Space width is 36mu
\qquad
Superscripts and Subscripts
Use {..} to indicate the positions of superscripts and subscripts to MathJax.
Directly input normally written symbols; not all are listed.
Cosine
Syntax
Arccosine
Syntax
Hyperbolic Cosine
Syntax
$\cos$
\cos
$\arccos$
\arccos
$\cosh$
\cosh
Symbol
Syntax
$\cos^2 x +\sin^2 x = 1$
\cos^2 x +\sin^2 x = 1
$\cos 90^\circ = 0$
\cos 90^\circ = 0
Matrices
Use $$\begin{matrix}…\end{matrix}$$, and end each row with \\ (in markdown, writing LaTeX double backslashes \\ will be escaped, so use \\\\). Separate matrix elements with &.
$$ \begin{equation} S =\begin{bmatrix} A & B & \cdots\ &C\\ D & E & \cdots\ & F\\ \vdots & \vdots & \ddots & \vdots \\ G & H & \cdots\ & I\\ \end{bmatrix} \end{equation} $$
1 2 3 4 5 6 7 8 9
\begin{equation} S =\begin{bmatrix} A & B &\cdots\ &C\\\\ D & E &\cdots\ & F\\\\ \vdots&\vdots&\ddots&\vdots\\\\ G & H &\cdots\ & I\\\\ \end{bmatrix} \end{equation}
Vertical Direction
Syntax
Horizontal Direction
Syntax
Diagonal Direction
Syntax
$\vdots$
\vdots
$\cdots$
\cdots
$\ddots$
\ddots
matrix
$$ \begin{matrix} A & B & \cdots\ &C\\ D & E & \cdots\ & F \end{matrix} $$
1 2 3 4
\begin{matrix} A & B &\cdots\ &C\\\\ D & E &\cdots\ & F \end{matrix}
pmatrix
$$ \begin{equation} S =\begin{pmatrix} A & B & \cdots\ &C\\ D & E & \cdots\ & F \end{pmatrix} \end{equation} $$
1 2 3 4 5 6 7
\begin{equation} S =\begin{pmatrix} A & B &\cdots\ &C\\\\ D & E &\cdots\ & F \end{pmatrix} \end{equation}
bmatrix
$$ \begin{equation} S =\begin{bmatrix} A & B & \cdots\ &C\\ D & E & \cdots\ & F \end{bmatrix} \end{equation} $$
1 2 3 4 5 6 7
\begin{equation} S =\begin{bmatrix} A & B &\cdots\ &C\\\\ D & E &\cdots\ & F \end{bmatrix} \end{equation}
Bmatrix
$$ \begin{equation} S =\begin{Bmatrix} A & B & \cdots\ &C\\ D & E & \cdots\ & F \end{Bmatrix} \end{equation} $$
1 2 3 4 5 6 7
\begin{equation} S =\begin{Bmatrix} A & B &\cdots\ &C\\\\ D & E &\cdots\ & F \end{Bmatrix} \end{equation}
vmatrix
$$ \begin{equation} S =\begin{vmatrix} A & B & \cdots\ &C\\ D & E & \cdots\ & F \end{vmatrix} \end{equation} $$
1 2 3 4 5 6 7
\begin{equation} S =\begin{vmatrix} A & B &\cdots\ &C\\\\ D & E &\cdots\ & F \end{vmatrix} \end{equation}
Vmatrix
$$ \begin{equation} S =\begin{Vmatrix} A & B & \cdots\ &C\\ D & E & \cdots\ & F \end{Vmatrix} \end{equation} $$
1 2 3 4 5 6 7
\begin{equation} S =\begin{Vmatrix} A & B &\cdots\ &C\\\\ D & E &\cdots\ & F \end{Vmatrix} \end{equation}
Augmented Matrix
$$ \left[ \begin{array}{cc|c} A & B & C \\ D & E & F \end{array} \right] $$
1 2 3 4 5 6
\left[ \begin{array}{cc|c} A & B & C \\\\ D & E & F \end{array} \right]
Other Symbols
Symbol
Syntax
Symbol
Syntax
Symbol
Syntax
$\infty$
\infty
$\triangle$
\triangle
$\angle$
\angle
$\checkmark$
\checkmark
$\nabla$
\nabla
The article is finished. If you have any questions, please comment and communicate.