Você está na página 1de 11

Common LaTex Functions

Marcus Bonin
February 24, 2015

Contents
1 Getting Started!!
1.1 This is an example of a section. . . . .
1.2 Setting font families: . . . . . . . . . . .
1.3 This line demonstrates alignment using
1.4 Lists . . . . . . . . . . . . . . . . . . .
1.5 Math Symbols . . . . . . . . . . . . . .

. . . . .
. . . . .
parbox.
. . . . .
. . . . .

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

.
.
.
.
.

5
5
5
6
7
7

2 Time for some Math


11
2.1 Fonts for Set Theory . . . . . . . . . . . . . . . . . . . . . . . 11

CONTENTS

Chapter 1
Getting Started!!
1.1

This is an example of a section.

To output a special character use a backslash followed by the character. For


example $ , ? & Exceptions are the double backslash; This prints out a
carriage return.
Carriage Return. For a backslash type \
For a new paragraph leave a blank line between text.
Text can be emphasized or bold or slanted or italisized or small caps.
We can even nest text types to revert to default text within a paragraph.
We can also specify a specific font. Here is Sans Serif. What about
typewriter?
Latex typeset: LATEX

1.2

Setting font families:

Lets change the font from Sans-serif to Roman font


Default Text sizes:
tiny scriptsize footnotesize small normal size large
Defining a custom command:
The result of typing \key: value
Example: Marbles

Large

huge Huge

CHAPTER 1. GETTING STARTED!!

1.3

This line demonstrates alignment using


parbox.

Some Text

This
is a
bottom
aligned
text
This
is
with
a
center
1cm
aligned
width
text
of
2cm width.
syllogism.

This is
a top
aligned
text of
1.4cm
width.
syllogism.

Parbox usage:
\parbox[alignment][height][inner alignment]{width}{text}

This is an example of a minipage with a width of 5 cenitimeters. Notice the text is


word wrapped and justified.
a
This is a second set of text
in a minipage. Note the additional footnote. b
a
b

This is a a footnote
footnote for second text

ellipsis. . .
Heres a quote
Yet another quote
Here are lines of random text. Hello, here is some text without a meaning.
This text should show what a printed text will look like at this place. If you

1.4. LISTS

read this text, you will get no information. Really? Is there no information?
Is there a difference between this text and some nonsense like Huardest
gefburn? Kjift not at all! A blind text like this gives you information
about the selected font, how the letters are written and an impression of the
look. This text should contain all letters of the alphabet and it should be
written in of the original language. There is no need for special content, but
the length of words should match the language.

1.4

Lists

Number List
1. One
2. Two
3. Three
Bullet List
One
Two
Three

1.5

Math Symbols

operators can use superscripts and subscripts using

CHAPTER 1. GETTING STARTED!!

Table 1.1: Greek Alphabet


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

Table 1.2: Common operators


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

Table 1.3: Binary operators


\approx
\equiv
\prec
\asymp
\succ
" \frown
\preceq
\succeq
\bowtie
| \mid
9 \propto
$ \vdash
\cong
| \models
\sim
% \dashv
k \parallel \simeq
.
\doteq
K \perp
! \smile
 \divides
K \perp
! \smile

1.5. MATH SYMBOLS

Table 1.4: Inequality symbols


\geq$
" \gg
\leq
! \ll$
\neq
Table 1.5: Set relation symbols
\sqsubseteq$
\subset
\supset
\sqsupseteq$
\subseteq \leq
Table

\bigcap
\prod$
\sum
\int
\oint

1.6:
Scaling size
\bigotimes
\bigcup
\bigodot
\bigcup
\bigvee

\Rightarrow
\longleftrightarrow
\rightarrow
\Downarrow
\updownarrow
\mapsto
\nearrow
\Leftarrow
\longleftarrow

symbols

\bigwedge
\coprod
\biguplus
\bigoplus

Table 1.7: Arrows


\Leftrightarrow
\leftrightarrow
\Longrightarrow
\downarrow
\Uparrow
\longmapsto
\searrow
\hookleftarrow
\Longleftarrow

\Longleftrightarrow
\hookrightarrow
\longrightarrow
\Updownarrow
\uparrow
\nwarrow
\swarrow
\leftarrow

Table 1.8: Harpoons


\rightharpoonup
\leftharpoonup
\leftharpoondown
\rightharpoondown \rightleftharpoons
Table 1.9: Proof
K \bot
@ \forall
Q \ni
J \top
h
\hbar P \in
\wp
D \exists
\jmath < \Re

symbols
\imath
` \ell
B \partial
= \Im

10

CHAPTER 1. GETTING STARTED!!

Table 1.10: Number Set symbols


C \mathds{C} R \mathds{R}
Z \mathds{Z}
Q \mathds{Q} N \mathds{N}

Table 1.11: Other symbols


\aleph
\nabla
7 \sharp
= \angle
5 \flat
6 \natural
\spadesuit
\clubsuit
\heartsuit

\neg
\surd
\diamondsuit
8 \infty
1 \prime
4 \triangle
H \emptyset

Chapter 2
Time for some Math
2.1

Fonts for Set Theory

?
This is the root function: root somenumber How about some super and
numerator
subscripting y0 a1 e2t ` a2 e2t Fractions: denominator

11

Você também pode gostar