Description
Cheatsheet for LaTex, using Markdown for markup.
To enable in Jekyll follow this tutorial.
Further Reference and source: ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf
For inline expression use either \\( 1/x^{2} \\)
which will render to \( 1/x^{2} \) or use $$ 1/x^{2} $$
which also renders to .
For block expression use \\[ \frac{1}{n^{2}} \\]
or $$ a * b = c ^ b $$
in a new line.
\[ \frac{1}{n^{2}} \]
Sample Sentence
… a given wire happens to be carrying . By that we mean that it’s carrying the linear combination …
Example expressions / functions
Input | Rendered |
---|---|
$$ a = b + c − d $$ | |
$$ \sqrt{?\frac{\pi}{2}} $$ | |
$$ y = a x_1^2 + b x_2 + c $$ | |
$$ a * b = c ^ b $$ | |
$$ 2^{\frac{n-1}{3}} $$ | |
$$ \int_{a}^b f(x)dx $$ |
Example LateX Derivatives, Limits, Sums, Products and Integrals
Partial firt order derivative $$\frac{\partial f}{\partial x}$$
:
Limit at plus infinity $$\lim_{x \to +\infty} f(x)$$
:
Sum off n first integers $$\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}$$
:
Product with limits $$\prod\limits_{j=1}^k A_{\alpha_j}$$
:
Integral limits $$\int_{a}^b f(x)dx$$
:
For more on LateX Derivatives, Limits, Sums, Products and Integrals.
Example Matrices
Create a matrix without brackets: $$\begin{matrix} a & b \\ c & d \end{matrix}$$
:
Create a matrix with round brackets: $$\begin{pmatrix} a & b \\ c & d \end{pmatrix}$$
:
Create a matrix with square brackets: $$\begin{bmatrix} 1 & 2 & 1 \\ 3 & 0 & 1 \\ 0 & 2 & 4 \end{bmatrix}$$
:
Use \left
and \right
to enclose an arbitrary expression in brackets: $$\left( \frac{p}{q} \right)$$
:
For more on LateX Matrices.
Special characters / Symbols
Latin:
No dot:
$$\imath$$
$$\jmath$$
Hat:
$$\hat{\imath}$$
$$\hat{\jmath}$$
Greek Letters:
Capital:
LaTex | LaTex | ||
---|---|---|---|
$$\Gamma$$ | $$\Delta$$ | ||
$$\Lambda$$ | $$\Phi$$ | ||
$$\Pi$$ | $$\Psi$$ | ||
$$\Sigma$$ | $$\Theta$$ | ||
$$\Upsilon$$ | $$\Xi$$ | ||
$$\Omega$$ |
Lowercase:
LaTex | LaTex | ||
---|---|---|---|
$$\alpha$$ | $$\nu$$ | ||
$$\beta$$ | $$\kappa$$ | ||
$$\gamma$$ | $$\lambda$$ | ||
$$\delta$$ | $$\mu$$ | ||
$$\epsilon | $$\zeta$$ | ||
$$\eta$$ | $$\theta$$ | ||
$$\iota$$ | $$\xi$$ | ||
$$\pi$$ | $$\rho$$ | ||
$$\sigma$$ | $$\tau$$ | ||
$$\upsilon$$ | $$\phi$$ | ||
$$\chi$$ | $$\psi$$ | ||
$$\omega$$ |
Other:
LaTex | LaTex | ||
---|---|---|---|
$$\digamma$$ | $$\varepsilon$$ | ||
$$\varkappa$$ | $$\varphi$$ | ||
$$\varpi$$ | $$\varrho$$ | ||
$$\varsigma$$ | $$\vartheta$$ | ||
$$\eth$$ | $$\hbar$$ |
Other:
Other Symbols
LaTex | LaTex | ||
---|---|---|---|
$$\partial$$ | $$\infty$$ | ||
$$\wedge$$ | $$\vee$$ | ||
$$\neg$$ | $$\not$$ | ||
$$\bot$$ | $$\top$$ | ||
$$\nabla$$ | $$\varnothing$$ | ||
$$\angle$$ | $$\measuredangle$$ | ||
$$\surd$$ | $$\forall$$ | ||
$$\exists$$ | $$\nexists$$ |
Relational Symbols
LaTex | LaTex | ||
---|---|---|---|
$$\hookrightarrow$$ | $$\Rightarrow$$ | ||
$$\rightarrow$$ | $$\Leftrightarrow$$ | ||
$$\nrightarrow$$ | $$\mapsto$$ | ||
$$\geq$$ | $$\leq$$ | ||
$$\equiv$$ | $$\sim$$ | ||
$$\gg$$ | $$\ll$$ | ||
$$\subset$$ | $$\subseteq$$ | ||
$$\in$$ | $$\notin$$ | ||
$$\mid$$ | $$\propto$$ | ||
$$\perp$$ | $$\parallel$$ | ||
$$\vartriangle$$ |
Binary operators
LaTex | LaTex | ||
---|---|---|---|
$$\wedge$$ | $$\vee$$ | ||
$$\neg$$ | $$\not$$ |
Cumulative operators
LaTex | LaTex | ||
---|---|---|---|
$$\int$$ | $$\int$$ | $$\iint$$ | |
$$\iiint$$ | $$\iiint$$ | $$\idotsint$$ | |
$$\prod$$ | $$\prod$$ | $$\sum$$ | |
$$\bigcup$$ | $$\bigcup$$ | $$\bigcap$$ |
Named operators
$$\arccos$$
$$\arcsin$$
$$\arctan$$
$$\arg$$
$$\cos$$
$$\cosh$$
$$\cot$$
$$\coth$$
$$\deg$$
$$\det$$
$$\dim$$
$$\exp$$
$$\gcd$$
$$\hom$$
$$\inf$$
$$\injlim$$
$$\lg$$
$$\lim$$
$$\liminf$$
$$\limsup$$
$$\ln$$
$$\log$$
$$\max$$
$$\min$$
$$\Pr$$
$$\projlim$$
$$\sec$$
$$\sin$$
$$\sinh$$
$$\sup$$