




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth exploration of LATEX math mode, which is used for formatting mathematical equations and expressions. It covers various types of math mode, using and ending math mode, examples of mathematical expressions, typing mathematical symbols, super- and subscripts, nonmath uses of math mode, and variables and symbols in math mode. It also discusses fractions, roots, common mathematical functions, symbols, and assignments.
Typology: Slides
1 / 28
This page cannot be seen from the preview
Don't miss anything!





















RSI 2007 Staff
appears in the middle of running text (e.g. x^2 + y^2 ).
the formula is set off on its own line. ∫ (^) ∞ 0
sin x x
π 2
reference purposes (1):
( 0 1 1 0
)t ·
( 1 0 0 B
) ·
( 0 1 1 0
)t (1)
Long or tall formulae should ordinarily be displayed.
There are several shorthand techniques of using math mode.
It is important to make sure that the way you end math mode matches the way you started it. For example,
will not work.
If $a + 2 = 4 + b$ and $2(3b - a) = 43$, then $b = 47/4$.
If a + 2 = 4 + b and 2(3b − a) = 43, then b = 47/4.
Letters typed in math mode are set in an italic type, as is conventional for Roman variables (x, etc.).
But do not use this as a quick way to italicize ordinary text! Words typed in math mode look reallyf reakin′ugly (that was $really freakin’ ugly$). Use \emph{...} instead.
For sin, cos, lim, and other notations written in upright type, use commands \sin, \cos, \lim, and so forth.
Subscripts and superscripts are often useful in chemical formulae and temperature values.
Text Result CH$_{3}$COOH CH 3 COOH
180$^{\circ}$C 180 ◦C
$^{238}_{92}$U 23892 U
Notice that subscripts and superscripts may be attached to nothing (as in $_{3}$ in the formula for acetic acid above).
Greek letters: for lowercase, use \lettername in math mode ($\gamma$ → γ). Some uppercase letters can be obtained by \Lettername ($\Gamma$ → Γ).
Assignment 1: Open math.tex in your examples directory, and typeset the following sentence into the body of the document.
If f (ω) = ω−e log ω then f ′(ω) = 1−e/ω and ef^ (ω)^ = Ω(1) in positive ω.
(In text math mode, the slashed forms n/d usually look better.)
3 x + 5).
x).
Assignment 2: Typeset the equation
1 1 + 3
Note that it is numbered.
\begin{equation} \frac{1}{1 + \sqrt[3]{2}
1 1 + 3 √ 2 + 3 √ 4 = 3
√ 2 − 1 (3)
Most common mathematical symbols have corresponding commands related to the symbol name or symbol appearance.
Command Result Command Result \in ∈ \nabla ∇ \cap,\cup ∩, ∪ \subset,\supset ⊂, ⊃ \geq,\leq ≥, ≤ \ldots,\cdots... , · · ·
To negate = and ∈, use \neq and \notin. Other symbols can be negated using the \not command: \not\leq →6≤, \not> →6>.
Assignment 3: Typeset the following.
If A, B ⊂ Γ then (Γ − A ∪ B) ⊂ (Γ − A ∩ B).
If $A,B\subset \Gamma$ then $(\Gamma - A\cup B) \subset (\Gamma - A\cap B)$.
If A, B ⊂ Γ then (Γ − A ∪ B) ⊂ (Γ − A ∩ B).
In text: \sum_{i=1}^{\infty} i^{-2} ∑∞ i=1 i−^2
\int_{3}^{2x} y, dy ∫ (^2) x 3 y dy
\lim_{n \to \infty} \frac{1}{n} limn→∞ (^1) n
In displays:
\sum_{i=1}^{\infty} i^{-2}
∑^ ∞ i=
i−^2
\int_{3}^{2x} y, dy
∫ (^2) x 3
y dy
\lim_{n \to \infty} \frac{1}{n} (^) nlim→∞
n
In text:
\bigcap_{i=0}^{\infty} U_i ⋂∞ i=0 Ui \bigcup_{k=3}^{n} {1, 2, \ldots, k} ⋃n k=3{^1 ,^2 ,... , k}
In displays:
\bigcap_{i=0}^{\infty} U_i
⋂^ ∞ i=
Ui
\bigcup_{k=3}^{n} {1, 2, \ldots, k}
⋃^ n k=
{ 1 , 2 ,... , k}
(\bigcup_i U_i) \cup (\bigcup_i V_i) (
⋃ i
Ui) ∪ (
⋃ i
Vi)