Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

LATEX Math Cheat Sheet for Undergrads, Cheat Sheet of Programming Languages

Cheat Sheet on LATEX Math: how structure a document

Typology: Cheat Sheet

2019/2020

Uploaded on 10/09/2020

anandit
anandit 🇺🇸

4.8

(19)

255 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
L
A
T
E
X Math for Undergrads
Rule One Any mathematics at all, even a single character,
goes in a mathematical setting. Thus, for ``the value of xis
7'' enter `the value of \textbackslash ( x \textbackslash ) is \textbackslash ( 7 \textbackslash )'.
Template Your document should contain at least this.
\textbackslash do c um en t cl a ss \{ a r ti cl e \}
\textbackslash us ep a ck a ge \{ a ms ma t h , amss y mb , a ms t hm \}
\textbackslash us ep a ck a ge [ u tf 8 ]\{ in pu t en c \}
\textbackslash b e gi n \{ d oc u me n t \}
-- d oc u m en t bod y here --
\textbackslash e n d \{ do c u me n t \}
Common constructs
x2x\textasciicircum 2 \surd 2,n
\surd 3\textbackslash sqrt\{2\},\textbackslash sqrt[n]\{3\}
xi,j x\]\{i,j\} 2
3,2/3\textbackslash frac\{2\}\{3\},2/3
Calligraphic letters Use as \textbackslash ( \textbackslash mathcal\{A\} \textbackslash ).
\scrA \scrB \scrC \scrD \scrE \scrF \scrG \scrH \scrI \scrJ \scrK \scrL \scrM \scrN \scrO \scrP \scrQ \scrR \scrS \scrT \scrU \scrV \scrW \scrX \scrY \scrZ
Greek
\alpha \textbackslash alpha \xi ,\Xi \textbackslash xi,\textbackslash Xi
\beta \textbackslash beta oo
\gamma ,\Gamma \textbackslash gamma,\textbackslash Gamma \pi ,\Pi \textbackslash pi,\textbackslash Pi
\delta ,\Delta \textbackslash delta,\textbackslash Delta \varpi \textbackslash varpi
\epsilon \textbackslash epsilon \rho \textbackslash rho
\varepsilon \textbackslash varepsilon \varrho \textbackslash varrho
\zeta \textbackslash zeta \sigma ,\Sigma \textbackslash sigma,\textbackslash Sigma
\eta \textbackslash eta \varsigma \textbackslash varsigma
\theta \Theta \textbackslash theta,\textbackslash Theta \tau \textbackslash tau
\vargamma \textbackslash vartheta \upsilon ,\Upsilon \textbackslash upsilon,\textbackslash Upsilon
\iota \textbackslash iota \phi ,\Phi \textbackslash phi,\textbackslash Phi
\kappa \textbackslash kappa \varphi \textbackslash varphi
\lambda \Lambda \textbackslash lambda,\textbackslash Lambda \chi \textbackslash chi
\mu \textbackslash mu \psi ,\Psi \textbackslash psi,\textbackslash Psi
\nu \textbackslash nu \omega ,\Omega \textbackslash omega,\textbackslash Omega
Sets and logic
\cup \textbackslash cup \BbbR \textbackslash mathbb\{R\} \forall \textbackslash forall
\cap \textbackslash cap \BbbZ \textbackslash mathbb\{Z\} \exists \textbackslash exists
\subset \textbackslash subset \BbbQ \textbackslash mathbb\{Q\} \neg \textbackslash neg
\subseteq \textbackslash subseteq \BbbN \textbackslash mathbb\{N\} \vee \textbackslash vee
\supset \textbackslash supset \BbbC \textbackslash mathbb\{C\} \wedge \textbackslash wedge
\supseteq \textbackslash supseteq \varnothing \textbackslash varnothing \vdash \textbackslash vdash
\in \textbackslash in \emptyset \textbackslash emptyset | =\textbackslash models
\ni \textbackslash ni \aleph \textbackslash aleph \Rightarrow \textbackslash Rightarrow
/\in \textbackslash notin \setminus \textbackslash setminus \nRightarrow \textbackslash nRightarrow
\not \in \textbackslash not\textbackslash in \equiv \textbackslash equiv
Negate an operator, as in \not \subset , with \textbackslash not\textbackslash subset. Get the
set complement A\sansc with A\textasciicircum \{\textbackslash mathsf\{c\}\}, get A\complement with
A\textasciicircum \{\textbackslash complement\}, or get \=
Awith \textbackslash bar\{A\}.
Decorations
f\prime f' \.a\textbackslash dot\{a\} \~x\textbackslash tilde\{x\}
f\prime \prime f'' \"a\textbackslash ddot\{a\} \=x\textbackslash bar\{x\}
\Sigma \ast \textbackslash Sigma\textasciicircum \{*\} \^x\textbackslash hat\{x\} \vec{}x \textbackslash vec\{x\}
If the decorated letter is ior jthen some decorations need
\textbackslash imath or \textbackslash jmath, as in \textbackslash vec\{\textbackslash imath\}. Some authors use
boldface for vectors: \textbackslash boldsymbol\{x\}.
Entering \textbackslash overline\{x+y\} produces x+y, and
\textbackslash widehat\{x+y\} gives \widehat
x+y. Comment on an expression as
here (there is also \textbackslash overbrace\{..\}).
x+y
\underbrace{} \underbrace{}
| A|
\textbackslash underbrace\{x+y\}\]\{|A|\}
Dots Use low dots in a list \{ 0,1,2, . . .\} , entered as
\textbackslash \{0,1,2,\textbackslash ,\textbackslash ldots\textbackslash \}. (If you use \textbackslash ldots in plain text as
London, Paris, \textbackslash ldots\{\}\textbackslash ,. note the thinspace \textbackslash , be-
fore the period.) Use centered dots in a sum or product
1 + \cdot \cdot \cdot + 100, entered as 1+\textbackslash cdots+100. You can also get
vertical dots \textbackslash vdots and diagonal dots \textbackslash ddots.
Roman names Enter \textbackslash tan(x), with a backslash, instead
of tan(x). These get the same treatment.
sin \textbackslash sin sinh \textbackslash sinh arcsin \textbackslash arcsin
cos \textbackslash cos cosh \textbackslash cosh arccos \textbackslash arccos
tan \textbackslash tan tanh \textbackslash tanh arctan \textbackslash arctan
sec \textbackslash sec coth \textbackslash coth min \textbackslash min
csc \textbackslash csc det \textbackslash det max \textbackslash max
cot \textbackslash cot dim \textbackslash dim inf \textbackslash inf
exp \textbackslash exp ker \textbackslash ker sup \textbackslash sup
log \textbackslash log deg \textbackslash deg lim inf \textbackslash liminf
ln \textbackslash ln arg \textbackslash arg lim sup \textbackslash limsup
lg \textbackslash lg gcd \textbackslash gcd lim \textbackslash lim
Other symbols
<<\angle \textbackslash angle \cdot \textbackslash cdot
\leq \textbackslash leq \measuredangle \textbackslash measuredangle \pm \textbackslash pm
>>\ell \textbackslash ell \mp \textbackslash mp
\geq \textbackslash geq \| \textbackslash parallel \times \textbackslash times
\not =\textbackslash neq 45\circ 45\textasciicircum \{\textbackslash circ\} \div \textbackslash div
\ll \textbackslash ll \sim
=\textbackslash cong \ast \textbackslash ast
\gg \textbackslash gg \ncong \textbackslash ncong | \textbackslash mid
\approx \textbackslash approx \sim \textbackslash sim \nmid \textbackslash nmid
\asymp \textbackslash asymp \simeq \textbackslash simeq n!n!
\equiv \textbackslash equiv \nsim \textbackslash nsim \partial \textbackslash partial
\prec \textbackslash prec \oplus \textbackslash oplus \nabla \textbackslash nabla
\preceq \textbackslash preceq \ominus \textbackslash ominus \hbar \textbackslash hbar
\succ \textbackslash succ \odot \textbackslash odot \circ \textbackslash circ
\succeq \textbackslash succeq \otimes \textbackslash otimes \star \textbackslash star
\propto \textbackslash propto \oslash \textbackslash oslash \surd \textbackslash surd
.
=\textbackslash doteq \upharpoonright \textbackslash upharpoonright \checkmark \textbackslash checkmark
Enter a|b for the divides relation a| b. Use \textbackslash mid as in
\textbackslash \{a\textbackslash in S\textbackslash mid\textbackslash text\{\textbackslash (a=0\textbackslash ) or \textbackslash (a\textbackslash ) is odd\}\textbackslash \} for the
set \{ a\in S| a= 0 or ais odd\} .
Variable-sized operators The summation \sum 3
j=0 j2
\textbackslash sum\]\{j=0\}\textasciicircum 3 j\textasciicircum 2 and the integral \int 3
x=0 x2dx
\textbackslash int\]\{x=0\}\textasciicircum 3 x\textasciicircum 2\textbackslash ,dx expand when displayed.
3
\sum
j=0
j2\int 3
x=0
x2dx
These do the same.
\int \textbackslash int \int \int \int \textbackslash iiint \bigcup \textbackslash bigcup
\int \int \textbackslash iint \oint \textbackslash oint \bigcap \textbackslash bigcap
pf2

Partial preview of the text

Download LATEX Math Cheat Sheet for Undergrads and more Cheat Sheet Programming Languages in PDF only on Docsity!

LATEX Math for Undergrads

Rule One Any mathematics at all, even a single character, goes in a mathematical setting. Thus, for ``the value of x is 7 '' enter `the value of \textbackslash ( x \textbackslash ) is \textbackslash ( 7 \textbackslash )'.

Template Your document should contain at least this.

\textbackslash documentclass { article } \textbackslash usepackage { amsmath , amssymb , amsthm } \textbackslash usepackage [ utf8 ]{ inputenc } \textbackslash begin { document } -- document body here - - \textbackslash end { document }

Common constructs

x^2 x\textasciicircum 2

\surd 2 , n

\surd 3 \textbackslash sqrt{2}, \textbackslash sqrt[n]{3} xi,j x]{i,j} 23 , 2 / 3 \textbackslash frac{2}{3}, 2/

Calligraphic letters Use as \textbackslash ( \textbackslash mathcal{A} \textbackslash ).

\scrA \scrB \scrC \scrD \scrE \scrF \scrG \scrH \scrI \scrJ \scrK \scrL \scrM \scrN \scrO \scrP \scrQ \scrR \scrS \scrT \scrU \scrV \scrW \scrX \scrY \scrZ

Greek

\alpha \textbackslash alpha \xi , \Xi \textbackslash xi, \textbackslash Xi \beta \textbackslash beta o o \gamma , \Gamma \textbackslash gamma, \textbackslash Gamma \pi , \Pi \textbackslash pi, \textbackslash Pi \delta , \Delta \textbackslash delta, \textbackslash Delta \varpi \textbackslash varpi \epsilon \textbackslash epsilon \rho \textbackslash rho \varepsilon \textbackslash varepsilon \varrho \textbackslash varrho \zeta \textbackslash zeta \sigma , \Sigma \textbackslash sigma, \textbackslash Sigma \eta \textbackslash eta \varsigma \textbackslash varsigma \theta \Theta \textbackslash theta, \textbackslash Theta \tau \textbackslash tau \vargamma \textbackslash vartheta \upsilon , \Upsilon \textbackslash upsilon, \textbackslash Upsilon \iota \textbackslash iota \phi , \Phi \textbackslash phi, \textbackslash Phi \kappa \textbackslash kappa \varphi \textbackslash varphi \lambda \Lambda \textbackslash lambda, \textbackslash Lambda \chi \textbackslash chi \mu \textbackslash mu \psi , \Psi \textbackslash psi, \textbackslash Psi \nu \textbackslash nu \omega , \Omega \textbackslash omega, \textbackslash Omega

Sets and logic

\cup \textbackslash cup \BbbR \textbackslash mathbb{R} \forall \textbackslash forall \cap \textbackslash cap \BbbZ \textbackslash mathbb{Z} \exists \textbackslash exists \subset \textbackslash subset \BbbQ \textbackslash mathbb{Q} \neg \textbackslash neg \subseteq \textbackslash subseteq \BbbN \textbackslash mathbb{N} \vee \textbackslash vee \supset \textbackslash supset \BbbC \textbackslash mathbb{C} \wedge \textbackslash wedge \supseteq \textbackslash supseteq \varnothing \textbackslash varnothing \vdash \textbackslash vdash \in \textbackslash in \emptyset \textbackslash emptyset | = \textbackslash models \ni \textbackslash ni \aleph \textbackslash aleph \Rightarrow \textbackslash Rightarrow \in / \textbackslash notin \setminus \textbackslash setminus \nRightarrow \textbackslash nRightarrow \not \in \textbackslash not\textbackslash in \equiv \textbackslash equiv

Negate an operator, as in \not \subset , with \textbackslash not\textbackslash subset. Get the set complement A\sansc^ with A\textasciicircum {\textbackslash mathsf{c}}, get A\complement^ with A\textasciicircum {\textbackslash complement}, or get A= with \textbackslash bar{A}.

Decorations

f \prime^ f' a. \textbackslash dot{a} ~x \textbackslash tilde{x} f \prime \prime^ f'' "a \textbackslash ddot{a} =x \textbackslash bar{x} \Sigma \ast^ \textbackslash Sigma\textasciicircum {*} ^x \textbackslash hat{x} \vec{}x \textbackslash vec{x}

If the decorated letter is i or j then some decorations need \textbackslash imath or \textbackslash jmath, as in \textbackslash vec{\textbackslash imath}. Some authors use boldface for vectors: \textbackslash boldsymbol{x}.

Entering \textbackslash overline{x+y} produces x + y, and \textbackslash widehat{x+y} gives x\widehat + y. Comment on an expression as here (there is also \textbackslash overbrace{..}).

x + y \underbrace{} \underbrace{} | A|

\textbackslash underbrace{x+y}]{|A|}

Dots Use low dots in a list { 0 , 1 , 2 ,.. .} , entered as \textbackslash {0,1,2,\textbackslash ,\textbackslash ldots\textbackslash }. (If you use \textbackslash ldots in plain text as London, Paris, \textbackslash ldots{}\textbackslash ,. note the thinspace \textbackslash , be- fore the period.) Use centered dots in a sum or product 1 + \cdot \cdot \cdot + 100, entered as 1+\textbackslash cdots+100. You can also get vertical dots \textbackslash vdots and diagonal dots \textbackslash ddots. Roman names Enter \textbackslash tan(x), with a backslash, instead of tan(x). These get the same treatment.

sin \textbackslash sin sinh \textbackslash sinh arcsin \textbackslash arcsin cos \textbackslash cos cosh \textbackslash cosh arccos \textbackslash arccos tan \textbackslash tan tanh \textbackslash tanh arctan \textbackslash arctan sec \textbackslash sec coth \textbackslash coth min \textbackslash min csc \textbackslash csc det \textbackslash det max \textbackslash max cot \textbackslash cot dim \textbackslash dim inf \textbackslash inf exp \textbackslash exp ker \textbackslash ker sup \textbackslash sup log \textbackslash log deg \textbackslash deg lim inf \textbackslash liminf ln \textbackslash ln arg \textbackslash arg lim sup \textbackslash limsup lg \textbackslash lg gcd \textbackslash gcd lim \textbackslash lim

Other symbols

< < \angle \textbackslash angle \cdot \textbackslash cdot \leq \textbackslash leq \measuredangle \textbackslash measuredangle \pm \textbackslash pm

\ell \textbackslash ell \mp \textbackslash mp \geq \textbackslash geq | \textbackslash parallel \times \textbackslash times \not = \textbackslash neq 45 \circ^ 45\textasciicircum {\textbackslash circ} \div \textbackslash div \ll \textbackslash ll \sim = \textbackslash cong \ast \textbackslash ast \gg \textbackslash gg \ncong \textbackslash ncong | \textbackslash mid \approx \textbackslash approx \sim \textbackslash sim \nmid \textbackslash nmid \asymp \textbackslash asymp \simeq \textbackslash simeq n! n! \equiv \textbackslash equiv \nsim \textbackslash nsim \partial \textbackslash partial \prec \textbackslash prec \oplus \textbackslash oplus \nabla \textbackslash nabla \preceq \textbackslash preceq \ominus \textbackslash ominus \hbar \textbackslash hbar \succ \textbackslash succ \odot \textbackslash odot \circ \textbackslash circ \succeq \textbackslash succeq \otimes \textbackslash otimes \textbackslash star \propto \textbackslash propto \oslash \textbackslash oslash

\surd \textbackslash surd . = \textbackslash doteq \upharpoonright \textbackslash upharpoonright \checkmark \textbackslash checkmark

Enter a|b for the divides relation a| b. Use \textbackslash mid as in \textbackslash {a\textbackslash in S\textbackslash mid\textbackslash text{\textbackslash (a=0\textbackslash ) or \textbackslash (a\textbackslash ) is odd}\textbackslash } for the set { a \in S | a = 0 or a is odd}. Variable-sized operators The summation

\sum 3 j=0 j

2

\textbackslash sum]{j=0}\textasciicircum 3 j\textasciicircum 2 and the integral

\int (^3) x=0 x

(^2) dx \textbackslash int]{x=0}\textasciicircum 3 x\textasciicircum 2\textbackslash ,dx expand when displayed.

\sum^3

j=

j^2

\int (^3)

x=

x^2 dx

These do the same. \int \textbackslash int

\int \int \int \textbackslash iiint

\bigcup \int \int \textbackslash bigcup \textbackslash iint

\oint \textbackslash oint

\bigcap \textbackslash bigcap

Arrows

\rightarrow \textbackslash rightarrow, \textbackslash to \mapsto \rightarrow \textbackslash mapsto \nrightarrow \textbackslash nrightarrow \mapsto \rightarrow \textbackslash longmapsto \rightarrow \textbackslash longrightarrow \leftarrow \textbackslash leftarrow \Rightarrow \textbackslash Rightarrow \updownarrow \textbackslash leftrightarrow \nRightarrow \textbackslash nRightarrow \downarrow \textbackslash downarrow =\Rightarrow \textbackslash Longrightarrow \uparrow \textbackslash uparrow \rightsquigarrow \textbackslash leadsto \updownarrow \textbackslash updownarrow

The right arrows in the first column have matching left arrows, such as \textbackslash nleftarrow, and there are some other matches for down arrows, etc.

Fences

( ) () \langle \rangle \textbackslash langle\textbackslash rangle | | | | [ ] [] \lfloor \rfloor \textbackslash lfloor\textbackslash rfloor | | \textbackslash | \textbackslash | { } \textbackslash {\textbackslash } \lceil \rceil \textbackslash lceil\textbackslash rceil

They will grow with the enclosed formula using \textbackslash left and \textbackslash right. \Bigl\langle i, 22

i \Bigr\rangle \textbackslash left\textbackslash langle i,2\textasciicircum {2\textasciicircum i}\textbackslash right\textbackslash rangle

Every \textbackslash left must match a \textbackslash right and they must end on the same line in the output. For a one-sided fence put a pe- riod \textbackslash left. or \textbackslash right. on the other side.

df dx

\bigm| \bigm| \bigm| \bigm| x 0

\textbackslash left.\textbackslash frac{df}{dx}\textbackslash right|]{x]0}

Fix the size with \textbackslash big, \textbackslash Big, \textbackslash bigg, or \textbackslash Bigg.

\Bigl[ (^) \sum n

k=

ek

2 \Bigr] \textbackslash Big[\textbackslash sum]{k=0}\textasciicircum n e\textasciicircum {k\textasciicircum 2}\textbackslash Big]

Arrays, Matrices Make an array of mathematical text as you make a table of plain text.

0 \updownarrow 0 1 \updownarrow 1 2 \updownarrow 4 .. .

\textbackslash begin { array }{ rcl } 0 &\textbackslash leftrightarrow &0 \textbackslash \textbackslash 1 &\textbackslash leftrightarrow &1 \textbackslash \textbackslash 2 &\textbackslash leftrightarrow &4 \textbackslash \textbackslash \textbackslash vdots & &\textbackslash vdots \textbackslash end { array }

Definition by cases is an array with two columns.

fn =

\Biggl{ a if n = 0 r \cdot fn 1 else

f]n = \textbackslash begin { cases } a &\textbackslash text { if \textbackslash ( n =0\textbackslash )} \textbackslash \textbackslash r \textbackslash cdot f] {n -1} &\textbackslash text { else } \textbackslash end { cases }

A matrix is another array variant. With this abbreviation you need not specify column alignments.

\biggl( a b c d

\biggr) (^) \textbackslash begin { pmatrix } a & b \textbackslash \textbackslash c & d \textbackslash end { pmatrix }

For the determinant use |A| inline and vmatrix in display.

Spacing in mathematics

\rightarrow \leftarrow \textbackslash , \rightarrow \leftarrow \textbackslash quad \rightarrow \leftarrow \textbackslash : \rightarrow \leftarrow \textbackslash qquad \rightarrow \leftarrow \textbackslash ; \rightarrow \leftarrow \textbackslash!

The left column spaces are in ratio 3 : 4 : 5. The last in the right column is a negative space, opposite to \textbackslash ,. Get arbi- trary space as in \textbackslash hspace{0.5cm}.

Displayed equations Put equations on a separate line with the equation* environment.

S = k log W

\textbackslash begin { equation *} S = k \textbackslash log W \textbackslash end { equation *}

You can break into multiple lines.

sin(x) = x

x^3 3!

x^5 5!

\cdot \cdot \cdot

\textbackslash begin { multline *} \textbackslash sin ( x )= x -\textbackslash frac { x \textasciicircum 3}{3!} \textbackslash \textbackslash +\textbackslash frac { x \textasciicircum 5}{5!} -\textbackslash cdots \textbackslash end { multline *}

Align using the align* environment

\nabla \cdot \bfitD = \rho \nabla \cdot \bfitB = 0

\textbackslash begin { align *} \textbackslash nabla \textbackslash cdot \textbackslash boldsymbol { D } &= \textbackslash rho \textbackslash \textbackslash \textbackslash nabla \textbackslash cdot \textbackslash boldsymbol { B } &= 0 \textbackslash end { align *}

(you can have an empty left or right side of the alignment). For each environment, get a numbered version by dropping the asterisk from the name. Calculus examples The last three here are display style.

f : \BbbR \rightarrow \BbbR f\textbackslash colon\textbackslash mathbb{R}\textbackslash to\textbackslash mathbb{R}

  1. 8 m/s^2 9.8\textasciitilde \textbackslash text{m}/\textbackslash text{s}\textasciicircum 2

\mathrm{l}\mathrm{i}\mathrm{m} h\rightarrow 0

f (x + h) f (x) h \textbackslash lim]{h\textbackslash to 0}\textbackslash frac{f(x+h)-f(x)}{h} \int x^2 dx = x^3 /3 + C \textbackslash int x\textasciicircum 2\textbackslash ,dx=x\textasciicircum 3/3+C

\nabla = \bfiti d dx

  • \bfitj d dy
  • \bfitk d dz \textbackslash nabla=\textbackslash boldsymbol{i}\textbackslash frac{d}{dx}+ \cdot \cdot \cdot

Discrete mathematics examples There are four modulo forms: m mod n is from m\textbackslash bmod n, and a \equiv b (mod m) is from a\textbackslash equiv b\textbackslash pmod m, and a \equiv b mod m is from a\textbackslash equiv b\textbackslash mod m, and a \equiv b (m) is from a\textbackslash equiv b\textbackslash pod m. For combinations the binomial symbol

\bigl( n k

\bigr) is from \textbackslash binom{n}{k}. This resizes to be bigger in a display (to require the display version use \textbackslash dbinom{n}{k} and for the inline version use \textbackslash tbinom{n}{k}). For permutations use nr^ from n\textasciicircum {\textbackslash underline{r}} (some authors use P (n, r), or (^) nPr from {}]nP]r). Statistics examples

\sigma^2 =

\sqrt{} \sum (xi \mu )^2 /N \textbackslash sigma\textasciicircum 2=\textbackslash sqrt{\textbackslash sum (x]i-\textbackslash mu)\textasciicircum 2/N} E(X) = \mu X = \sum (xi P (xi)) E(X)=\textbackslash mu]X=\textbackslash sum (x]i-P(x]i))

The probability density of the normal distribution

1 \surd 2 \sigma^2 \pi

e

(x \mu )^2 2 \sigma^2

comes from this. \textbackslash frac {1}{ sqrt {2\textbackslash sigma \textasciicircum 2\textbackslash pi }} \textbackslash , e \textasciicircum { -\textbackslash frac {( x -\textbackslash mu )\textasciicircum 2}{2\textbackslash sigma \textasciicircum 2}}!.

For more See also the Comprehensive LATEX Symbols List at mirror.ctan.org/info/symbols/comprehensive and DeTEXify at detexify.kirelabs.org/classify.html.

Jim Hefferon, Saint Michael's College, VT USA 2017-Jan-