Skip to content

Instantly share code, notes, and snippets.

@rickyzhang82
Last active January 4, 2019 18:53
Show Gist options
  • Save rickyzhang82/2970c984e4e4e0d5fd9184e84dd4c0e4 to your computer and use it in GitHub Desktop.
Save rickyzhang82/2970c984e4e4e0d5fd9184e84dd4c0e4 to your computer and use it in GitHub Desktop.
LaTex Math formula
% --- Math Formulas ---
 
% Using this package : \usepackage{amsmath}
 
\section{Math Formulas}
% LaTeX excels at typesetting math formulas
 
 
% Quadratic Equation
 
% flalign* with formula surrounded with &s makes it left justified
 
\begin{flalign*}
	& ax^2 + bx + c = 0 &\\
\end{flalign*}
 
% Place a formula in text
 
This \( ax^2 + bx + c = 0 \) is the quadratic equation \\
 
% I prefer the $ TeX shortcut
 
% Quadratic Formula
 
$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$ \\
 
% List of LaTeX Symbols http://www.rpi.edu/dept/arc/training/latex/LaTeX_symbols.pdf
 
 
Greek letters $\alpha \beta \gamma \delta \epsilon \zeta \eta \theta 
\vartheta  \iota \kappa \lambda \Lambda \mu \nu \xi \Xi \pi \Pi
\rho \varrho \sigma \Sigma \tau \upsilon \Upsilon \phi \varphi \Phi
\chi \psi \Psi \Omega \omega $ \\ 
 
Script letters $\mathcal{A}, \mathcal{B}$
 
Subscript $t_0$ \\ 
 
Superscript $x^2$ \\ 
 
Vectors $\vec{a}\cdot\hat{x}=a_x$
 
Matrices
$\begin{pmatrix} 
1 & 2 \\ 
3 & 4 
\end{pmatrix}$
 
Integrals $\Delta x=\int_{t_0}^{t_1} v(t)dt$ \\
 
Limits $\lim_{x\to0} \frac 1 x = \infty$ \\ 
 
Summations $e^x=\sum_{n=0}^\infty\frac{x^n}{n!}$ \\
 
Operators $\arccos, \arcsin, \arctan, \arg, \cos, \cosh, \cot, \coth, \deg, 
\det, \dim, \exp, \gcd,\\ \hom, \inf, \ker, \lim, \lg, \liminf, \limsup, \ln, \log, 
\max, \min, \Pr, \sec, \sin, \sinh, \sup, \tan, \tanh$ \\
 
Arrows $\leftarrow, \Leftarrow, \rightarrow, \Rightarrow, \leftrightarrow, \rightleftharpoons,
 \uparrow, \downarrow, \Uparrow, \Downarrow, \Leftrightarrow, \Updownarrow, \mapsto, \longmapsto, 
 \nearrow, \searrow, \swarrow, \nwarrow, \leftharpoonup, \rightharpoonup, \leftharpoondown, \rightharpoondown$ \\
 
 Relational Operators $ \geq, \gg, \leq, \ll, \neq $ \\
 
Binary Operation/Relation Symbols $ \approx, \asymp, \bowtie, \cong, \dashv, \doteq, 
\equiv, \frown, \mid, \models, \parallel, \perp, \prec, \preceq, \propto, \sim, \simeq, \smile, 
\succ, \succeq, \vdash $ \\

Latest Symbols Cheat Sheet

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