Skip to content

Instantly share code, notes, and snippets.

@wlinds
Created November 30, 2023 13:42
Show Gist options
  • Save wlinds/292ebe287390431d1f530a37970af9e0 to your computer and use it in GitHub Desktop.
Save wlinds/292ebe287390431d1f530a37970af9e0 to your computer and use it in GitHub Desktop.
LaTeX Lathund 🐶

$\LaTeX$

Greek Letters

LaTex Symbol LaTex Symbol
\Gamma Γ \Delta
\Lambda Λ \Phi Φ
\Pi Π \Psi Ψ
\Sigma Σ \Theta Θ
\Upsilon Υ \Xi Ξ
\Omega Ω
LaTex Symbol LaTex Symbol LaTex Symbol LaTex Symbol
\alpha α \nu ν \beta β \gamma γ
\lambda λ \delta δ \mu µ \epsilon ϵ
\zeta ζ \eta η \theta θ \iota ι
\xi ξ \pi π \rho ρ \sigma σ
\tau τ \upsilon υ \phi φ \chi χ
\psi ψ \omega ω

Common Mathematical and Logical Symbols

LaTex Symbol Description
\cdot · Multiplication dot
\times × Multiplication cross
\div ÷ Division symbol
\pm ± Plus-minus symbol
\mp Minus-plus symbol
\leq Less than or equal to
\geq Greater than or equal to
\neq Not equal to
\approx Approximately equal to
\equiv Equivalent to
\propto Proportional to
\in Element of
\notin Not an element of
\subset Subset of
\supset Superset of
\cup Union
\cap Intersection
\emptyset Empty set
\forall For all
\exists Exists
\nexists Does not exist
\rightarrow Right arrow
\leftarrow Left arrow
\leftrightarrow Left-right arrow
\Rightarrow Implies
\Leftrightarrow Equivalent
\vdash Right turnstile (provable)
\dashv Left turnstile (provable)
\therefore Therefore
\because Because
\neg ¬ Not
\nabla Nabla (del) operator
\dots Ellipsis
\vdots Vertical dots
\ddots Diagonal dots

Other Operators

LaTex Symbol LaTex Symbol
\int $\int$ \iint $\iint$
\iiint $\iiint$ \idotsint $\idotsint$
\prod $\prod$ \sum $\sum$
\bigcup $\bigcup$ \bigcap $\bigcap$
LaTex Example
$\sin$ $\sin(\theta)$
$\cos$ $\cos(\theta)$
$\tan$ $\tan(\theta)$
$\exp$ $\exp(x)$
$\log$ $\log(x)$
$\lim$ $\lim_{n \to \infty}$
$\gcd$ $\gcd(a, b)$
$\sqrt{x}$ $\sqrt{x}$
$\int$ $\int_{a}^{b} f(x) ,dx$

Examples & Syntax

Input Rendered
$E=mc^2$ $E=mc^2$
$\hat{y} = \sigma(w \cdot x + b)$ $\hat{y} = \sigma(w \cdot x + b)$
$\mathbf{X}^T \mathbf{X} \mathbf{w} = \mathbf{X}^T \mathbf{y}$ $\mathbf{X}^T \mathbf{X} \mathbf{w} = \mathbf{X}^T \mathbf{y}$
$\bar{x} = \frac{\sum x_i}{n}$ $\bar{x} = \frac{\sum x_i}{n}$

If you're incorporating LaTeX within text paragraphs, use single dollar signs for inline math, like $E=mc^2$, ($E=mc^2$) and double dollar signs for displayed equations, like $$\hat{y} = \sigma(w \cdot x + b)$$ to display it like this:

$$\hat{y} = \sigma(w \cdot x + b)$$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment