Skip to content

Instantly share code, notes, and snippets.

@LKS90
Last active April 30, 2024 14:45
Show Gist options
  • Star 62 You must be signed in to star a gist
  • Fork 16 You must be signed in to fork a gist
  • Save LKS90/252ac41bd4a173be35b0 to your computer and use it in GitHub Desktop.
Save LKS90/252ac41bd4a173be35b0 to your computer and use it in GitHub Desktop.
Cheatsheet for LaTex, using Markdown for markup. I use this with atom.io and markdown-preview-plus to write math stuff

Description

Cheatsheet for LaTex, using Markdown for markup. I use this with atom.io and 📦markdown-preview-plus to write math stuff. 📦keyboard-localization is necessary when using an international layout (like [swiss] german).

Further Reference and source: ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf

Example expressions / functions

Input Rendered
$a = b + c − d$ $a = b + c − d$
$\sqrt{?\frac{\pi}{2}}$ $\sqrt{\frac{\pi}{2}}$
$y = a x_1^2 + b x_2 + c$ $y = a x_1^2 + b x_2 + c$

Special characters / Symbols

###Latin: #####No dot:
\imath $\rightarrow$ $\imath$, \jmath $\rightarrow$ $\jmath$

#####Hat:
\hat{\imath} $\rightarrow$ $\hat{\imath}$, \hat{\jmath} $\rightarrow$ $\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 $\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 $\mapsto$
\geq \leq
\equiv \sim
\gg \ll
\subset \subseteq
\in \notin
\mid $\mid$ \propto
\perp \parallel
\vartriangle $\vartriangle$

####Binary operators

LaTex LaTex
\wedge \vee
\neg``\not ¬

####Cumulative operators

LaTex LaTex
\int \iint $\iint$
\iiint $\iiint$ \idotsint $\idotsint$
\prod $\prod$ \sum $\sum$
\bigcup $\bigcup$ \bigcap $\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$

@marfravi
Copy link

marfravi commented Dec 1, 2023

Great info! I noticed that the symbols for < and > are missing.

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