Loree LaTex Cheat Sheet

Loree LaTex Cheat Sheet

Basics Symbols

Description

Command

Output

Addition

+

+

Subtraction

-

-

Plus or minus

\pm

±

Multiplication (times)  

\times

×

Multiplication (dot)  

\cdot

·

division symbol

\div

÷

division (slash)

/

/

circle plus

\oplus

circle times

\otimes

equal

=

=

not equal

\ne


less than

greater than

less than or equal to  

\le

greater than or equal to

\ge

approximately equal to

\approx

infinity

\infty

dots

1,2,3, \ldots

1, 2, 3, . . .

dots

1+2+3+\cdots

1 + 2 + 3 + · · ·

fraction

\frac{a}{b}


square root

\sqrt{x}


nth root

\sqrt[n]{x}


exponentiation

a^b


subscript

a_b


absolute value

|x|


natural log

\ln(x)


logarithms

\log_{a}b


exponential function  

e^x=\exp(x)


degree

\deg(f)

deg(f)

Logic

Description

Command

Output

not

\neg

~

and

\land

or

\lor

if...then

\implies

if and only if

\iff

logical equivalence

\equiv

therefore

\therefore

there exists

\exists

for all

\forall

Functions

Description

Command

Output

maps to

\to

composition

\circ

Piecewise function

|x|= \begin{cases}
x & x\ge 0\\
-x & x<0
\end{cases}


Number theory

Description

Command

Output

divides

|

|

does not divide

\ndv


div

\dv

div

mod

\mod

mod

greatest common divisor

\gcd

gcd

ceiling

\lceil x \rceil

⌈x⌉

floor

\lfloor x \rfloor

⌊x⌋

Geometry and trigonometry

Description

Command

Output

angle

\angle ABC


degree

90^{\circ}


triangle

\triangle ABC


segment

\overline{AB}


sine

\sin

sin

cosine

\cos

cos

tangent

\tan

tan

cotangent

\cot

cot

secant

\sec

sec

cosecant

\csc

csc

inverse sine

\arcsin

arcsin

inverse cosine

\arccos

arccos

inverse tangent

\arctan

arctan

Calculus

Description

Command

Output

partial derivative

\frac{\partial y} {\partial x}


derivative

\f’


integral

\int


double integral

\iint


triple integral

\iiint


limits

\lim_{x\to \infty}


summation

\sum_{n=1}^{\infty}a_n


product

\prod_{n=1}^{\infty}a_n


Symbols

Description

Command

Output

dollar sign

\$

$

percent

\%

%

ampersand

\&

&

pound

\#


backslash

\textbackslash

\

left quote marks

‘‘

right quote marks

’’

single left quote

single right quote

 

hyphen

X-ray


en-dash

pp. 5--15


em-dash

Yes---or no?


 

Set theory

Description

Command

Output

set brackets

\ {1,2,3\}

 {1,2,3}

element of

\in


not an element of

\not\in


subset of

\subset

subset of

\subseteq

 

not a subset of

\not\subset

contains

\supset

contains

\supseteq

union

\cup

intersection

\cap

        

big union

\bigcup_{n=1}^{10}A_n

  

big intersection

\bigcap_{n=1}^{10}A_n


empty set

\emptyset

power set

\mathcal{P}

P

minimum

\min

min

maximum

\max

max

supremum

\sup

sup

infimum

\inf

inf

limit superior

\limsup

lim sup

limit inferior

\liminf

lim inf

closure

\overline{A} A

 Ā

Linear Algebra

Description

Command

Output

vector

\vec{v}

   

norm

||\vec{v}||

    

matrix

\left[ \begin{array}{ccc} 1 & 2 & 3 \\ 4 & 5 & 6\\ 7 & 8 & 0 \end{array} \right]


determinant

\left| \begin{array}{ccc} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 0 \end{array} \right|


determinant

\det(A)

det(A)

trace

\operatorname{tr}(A)

tr(A)

dimension

\dim(V)

dim(V )