LaTeX commands

LaTeX is a programming language that can be used for writing documents.


Square root: \sqrt{50}50\sqrt{50}

Subscript and Superscript: X_1, X^2 X1,X2X_1, X^2

Infinity symbol:\infty \infty

Vector/Matrix: \begin{bmatrix}x_1 \ x_2 \ x_3 \end{bmatrix}

[x1x2x3]\begin{bmatrix}x_1 \\ x_2 \\ x_3 \end{bmatrix}

Arrow Symbols: \leftarrow, \uparrow, \longrightarrow ,,\leftarrow, \uparrow, \longrightarrow

Whitespace: Andrew\hspace{0.2cm}Gurung AndrewGurungAndrew\hspace{0.2cm}Gurung

Mathematical symbols for numbers: \mathbb{R}, \mathbb{N}, \mathbb{Z}

R=realnumbers,N=naturalnumbers,Z=integers\mathbb{R} = real \hspace{.1cm}numbers, \mathbb{N}=natural\hspace{.1cm}numbers, \mathbb{Z}= integers

Vectors: \vec{u}, \vec{v} u,v\vec{u}, \vec{v}

Limits: \lim_{x\to a} f(x) limxaf(x)\lim_{x\to a} f(x)

Partial derivative: \frac{\partial f}{\partial x}fx\frac{\partial f}{\partial x}

Gradient Sign: \nabla\nabla

Belongs to: \in\in

Last updated