GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for...

55
Introduction Ideas GAF Speakers Latex: 1 - Bloody Beginners Max Klinger GAF Mathematisches Institut Ludwig-Maximilians-Universität TBA Max Klinger GAF Speakers

Transcript of GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for...

Page 1: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

GAF SpeakersLatex: 1 - Bloody Beginners

Max Klinger

GAFMathematisches Institut

Ludwig-Maximilians-Universität

TBA

Max Klinger GAF Speakers

Page 2: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Types of skills required for typesetting a piece of work:

Subject Expertise Noone can help you with that, although a good visualimpression can cover up a lot.

Editing and Writing This is mostly the author’s department as well,although some tools help to a varying degree.

Design Now this should be done by someone other than youusually and software should help you implement it.

Technical Skills including the ability to work with said programs.

You should only have to deal with one or two of the above, hardly anyoneis really good at more.

Max Klinger GAF Speakers

Page 3: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Types of skills required for typesetting a piece of work:Subject Expertise Noone can help you with that, although a good visual

impression can cover up a lot.

Editing and Writing This is mostly the author’s department as well,although some tools help to a varying degree.

Design Now this should be done by someone other than youusually and software should help you implement it.

Technical Skills including the ability to work with said programs.You should only have to deal with one or two of the above, hardly anyoneis really good at more.

Max Klinger GAF Speakers

Page 4: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Types of skills required for typesetting a piece of work:Subject Expertise Noone can help you with that, although a good visual

impression can cover up a lot.Editing and Writing This is mostly the author’s department as well,

although some tools help to a varying degree.

Design Now this should be done by someone other than youusually and software should help you implement it.

Technical Skills including the ability to work with said programs.You should only have to deal with one or two of the above, hardly anyoneis really good at more.

Max Klinger GAF Speakers

Page 5: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Types of skills required for typesetting a piece of work:Subject Expertise Noone can help you with that, although a good visual

impression can cover up a lot.Editing and Writing This is mostly the author’s department as well,

although some tools help to a varying degree.Design Now this should be done by someone other than you

usually and software should help you implement it.

Technical Skills including the ability to work with said programs.You should only have to deal with one or two of the above, hardly anyoneis really good at more.

Max Klinger GAF Speakers

Page 6: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Types of skills required for typesetting a piece of work:Subject Expertise Noone can help you with that, although a good visual

impression can cover up a lot.Editing and Writing This is mostly the author’s department as well,

although some tools help to a varying degree.Design Now this should be done by someone other than you

usually and software should help you implement it.Technical Skills including the ability to work with said programs.

You should only have to deal with one or two of the above, hardly anyoneis really good at more.

Max Klinger GAF Speakers

Page 7: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Types of skills required for typesetting a piece of work:Subject Expertise Noone can help you with that, although a good visual

impression can cover up a lot.Editing and Writing This is mostly the author’s department as well,

although some tools help to a varying degree.Design Now this should be done by someone other than you

usually and software should help you implement it.Technical Skills including the ability to work with said programs.

You should only have to deal with one or two of the above, hardly anyoneis really good at more.

Max Klinger GAF Speakers

Page 8: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Types of skills required for typesetting a piece of work:Subject Expertise Noone can help you with that, although a good visual

impression can cover up a lot.Editing and Writing This is mostly the author’s department as well,

although some tools help to a varying degree.Design Now this should be done by someone other than you

usually and software should help you implement it.Technical Skills including the ability to work with said programs.You should only have to deal with one or two of the above, hardly anyoneis really good at more.

Max Klinger GAF Speakers

Page 9: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Why latex?Pros

TEX’s Typesetting is superior

Math is easier to enter and looks better than with anythingelse.TEXfiles are text files.TEX is relatively stableUse syntactic markup rather than plain formattingIt tends to look good by default

Max Klinger GAF Speakers

Page 10: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Why latex?Pros

TEX’s Typesetting is superiorMath is easier to enter and looks better than with anythingelse.

TEXfiles are text files.TEX is relatively stableUse syntactic markup rather than plain formattingIt tends to look good by default

Max Klinger GAF Speakers

Page 11: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Why latex?Pros

TEX’s Typesetting is superiorMath is easier to enter and looks better than with anythingelse.TEXfiles are text files.

TEX is relatively stableUse syntactic markup rather than plain formattingIt tends to look good by default

Max Klinger GAF Speakers

Page 12: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Why latex?Pros

TEX’s Typesetting is superiorMath is easier to enter and looks better than with anythingelse.TEXfiles are text files.TEX is relatively stable

Use syntactic markup rather than plain formattingIt tends to look good by default

Max Klinger GAF Speakers

Page 13: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Why latex?Pros

TEX’s Typesetting is superiorMath is easier to enter and looks better than with anythingelse.TEXfiles are text files.TEX is relatively stableUse syntactic markup rather than plain formatting

It tends to look good by default

Max Klinger GAF Speakers

Page 14: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Why latex?Pros

TEX’s Typesetting is superiorMath is easier to enter and looks better than with anythingelse.TEXfiles are text files.TEX is relatively stableUse syntactic markup rather than plain formattingIt tends to look good by default

Max Klinger GAF Speakers

Page 15: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Examples of what’s possible with TEX

The One Ring (Tengwar Annatar Italic)

»AE5,Ex26Yw1EjY z Yº AE5,ExxwpT 1EjY«

AE5,Ex37zE1EjY z Yº XEw6YktYAT ` Tz7qpT1EjY

The West Gate of Moria (Tengwar Formal)

l5I6 2.7`6 ]7]6 yh7` T] = ql2h yljjh6 ] y` T5h`y 6]7r` 9]Õ6 ld]1 p- aljlw7` Twph7 h l7ls` Th6 1lÕ3]1 p ` T 3` Tn 9` T6-

Namárië (Tengwar Gothika)

lE Á j.E7T R jE4E6 jE,T 8~ U7T5R5 =hÍ~ R5T ~ U5~ Y1TtR y R 7~ EtE6 ` EmE7 Y5 ÁhÍ~ R5T y R jT4R hÍ UmE6 ` Ey~ E5T ` R6tT ` Y7 YtEuT jT,RtT 7 Uy~ Y7 RyE` E2~ U5R q Rj;E = yEu Y 1 Rj; UtE65U jlU5T hÍE,R5 1T4TjE6 ` T ` RjR5T~ YtE 7 ÍY lE7 R1~ E7Tj~ T7T5R5 -8~ T tE5 ` T hÍ UjtE 5T5 ` RvE 4UyE À` E5 8~ T 1T4Ej;R yEu E lY` YjY,R` Yy R e E5ÍE6 t~ E7 ÍE1 ` RjR4~ E7T ` Y61E5R` E6 ` TjÍR 1T` R6 ` U2Uj~ Ey R jUwUjR` E6 iT2E5~ Y7T Rj; Y alE1E tY65T ` R` T e EjtEjT5; E6 ` TwR tR1 = ` E6 9~ TiT` R` U4~ UqE aEjEaT7 ÍY t~ T7T lY` EjR -8~ T yE5nE 5~ E = 7~ YtRj; Y yE5nE = yEjTtE6 Á5Et~ E7T R Á 5lE 9T7 UyEjÍR yEjTtE6 Á5lE ` RjÍR 9T7 UyE Á 5Et~ E7T R Á

Max Klinger GAF Speakers

Page 16: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Examples of what’s possible with TEX

有り難う – あ·り·がと·う – Danke

有有有有有有有有有有有有有難難難難難難難難難難難難難

下さい – くだ·さい – Bitte (geben Sie mir)

下下下下下下下下下下下下下お願いします – お·ねが·いします – Bitte (um etwas)

願願願願願願願願願願願願願大丈夫 – だい·じょう·ぶ – Alles in Ordnung

大大大大大大大大大大大大大丈丈丈丈丈丈丈丈丈丈丈丈丈夫夫夫夫夫夫夫夫夫夫夫夫夫

駄目 – だ·め – Schlecht, nicht in Ordnung

駄駄駄駄駄駄駄駄駄駄駄駄駄目目目目目目目目目目目目目

乾杯 – かん·ぱい – Prost

乾乾乾乾乾乾乾乾乾乾乾乾乾杯杯杯杯杯杯杯杯杯杯杯杯杯

お腹いっぱい – お·なか·いっぱい – satt, nicht hungrig

腹腹腹腹腹腹腹腹腹腹腹腹腹

Max Klinger GAF Speakers

Page 17: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Examples of what’s possible with TEX

BA

RN

STO

RM

ING

BIT

TE

R“M

assi

vem

alta

ttac

kin

the

mou

th,

heav

il yho

pped

with

aw

etno

sefin

ish”

Ingredients: Malt — Pale (Perl)

6kg. Hops — Challenger 60g,

Northern Brewer 30g (copper)

& Fuggles (aroma), Irish moss

BottledonFebruary27th,2003

Brewedby‘BarnStorming’Clegg

BA

RN

STO

RM

ING

BIT

TE

R“M

assi

vem

alta

ttac

kin

the

mou

th,

heav

il yho

pped

with

aw

etno

sefin

ish”

Ingredients: Malt — Pale (Perl)

6kg. Hops — Challenger 60g,

Northern Brewer 30g (copper)

& Fuggles (aroma), Irish moss

BottledonFebruary27th,2003

Brewedby‘BarnStorming’Clegg

BA

RN

STO

RM

ING

BIT

TE

R“M

assi

vem

alta

ttac

kin

the

mou

th,

heav

il yho

pped

with

aw

etno

sefin

ish”

Ingredients: Malt — Pale (Perl)

6kg. Hops — Challenger 60g,

Northern Brewer 30g (copper)

& Fuggles (aroma), Irish moss

BottledonFebruary27th,2003

Brewedby‘BarnStorming’Clegg

BA

RN

STO

RM

ING

BIT

TE

R“M

assi

vem

alta

ttac

kin

the

mou

th,

heav

il yho

pped

with

aw

etno

sefin

ish”

Ingredients: Malt — Pale (Perl)

6kg. Hops — Challenger 60g,

Northern Brewer 30g (copper)

& Fuggles (aroma), Irish moss

BottledonFebruary27th,2003

Brewedby‘BarnStorming’Clegg

BA

RN

STO

RM

ING

BIT

TE

R“M

assi

vem

alta

ttac

kin

the

mou

th,

heav

il yho

pped

with

aw

etno

sefin

ish”

Ingredients: Malt — Pale (Perl)

6kg. Hops — Challenger 60g,

Northern Brewer 30g (copper)

& Fuggles (aroma), Irish moss

BottledonFebruary27th,2003

Brewedby‘BarnStorming’Clegg

BA

RN

STO

RM

ING

BIT

TE

R“M

assi

vem

alta

ttac

kin

the

mou

th,

heav

il yho

pped

with

aw

etno

sefin

ish”

Ingredients: Malt — Pale (Perl)

6kg. Hops — Challenger 60g,

Northern Brewer 30g (copper)

& Fuggles (aroma), Irish moss

BottledonFebruary27th,2003

Brewedby‘BarnStorming’Clegg

BA

RN

STO

RM

ING

BIT

TE

R“M

assi

vem

alta

ttac

kin

the

mou

th,

heav

il yho

pped

with

aw

etno

sefin

ish”

Ingredients: Malt — Pale (Perl)

6kg. Hops — Challenger 60g,

Northern Brewer 30g (copper)

& Fuggles (aroma), Irish moss

BottledonFebruary27th,2003

Brewedby‘BarnStorming’Clegg

BA

RN

STO

RM

ING

BIT

TE

R“M

assi

vem

alta

ttac

kin

the

mou

th,

heav

il yho

pped

with

aw

etno

sefin

ish”

Ingredients: Malt — Pale (Perl)

6kg. Hops — Challenger 60g,

Northern Brewer 30g (copper)

& Fuggles (aroma), Irish moss

BottledonFebruary27th,2003

Brewedby‘BarnStorming’Clegg

BA

RN

STO

RM

ING

BIT

TE

R“M

assi

vem

alta

ttac

kin

the

mou

th,

heav

il yho

pped

with

aw

etno

sefin

ish”

Ingredients: Malt — Pale (Perl)

6kg. Hops — Challenger 60g,

Northern Brewer 30g (copper)

& Fuggles (aroma), Irish moss

BottledonFebruary27th,2003

Brewedby‘BarnStorming’Clegg

BA

RN

STO

RM

ING

BIT

TE

R“M

assi

vem

alta

ttac

kin

the

mou

th,

heav

il yho

pped

with

aw

etno

sefin

ish”

Ingredients: Malt — Pale (Perl)

6kg. Hops — Challenger 60g,

Northern Brewer 30g (copper)

& Fuggles (aroma), Irish moss

BottledonFebruary27th,2003

Brewedby‘BarnStorming’Clegg

Max Klinger GAF Speakers

Page 18: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Examples of what’s possible with TEX1

Le premier li re de Moy e,Di Gene e.

o

.Ce premier li re comprend l’origine ca ſes de to tes choſes, principalement la creation de l’homme, q ’il a esté dcommencement, ſa che te rele ement : comment d’ n to s ont esté procreés, po r le rs enormes pechés Dieles a conſ més, par le del ge, reſer é h i , dont la ſemence a rempli to te la terre. P is il deſcrit les vies, fai s, reli-gion, lignees des ſaints Patriarches, q i ont veſc de ant la Loy : Les benedi ions, prome es, alliances d Sei-gne r fai es a ec ice x : Comment de le la terre de Chanaan ſont deſcend s enEgypte. A c ns ont appelé ce li re, leli re des I stes. To tefois ceci a obten entre nos predece e rs no s, q ’il est appelé Geneſe, q i est n mot Grec,gnifiant generation origine : d’a tant q ’en icel i est deſcrite l’origine procreation de to tes choſes : nom-mément des Peres anciens, q i ont esté tant de ant q ’apres le del ge, e eſgard à deſcen-d d’ice x ſelon la chair.

.ICreation d ciel de la terre, II, 10. de to t ce q i y estcomprins. 3.14. De la l miere a , 26 de l’homme, 18

q el to t est a ietti. 2.2. 18 Die benit to tes ſes œ -vres, 31 q ’il a accomplies en x io rs.

1Ie acreaba commence -ment cleciel & laterre.2 Or laterre eſ-toit ansorme, &

v ide, & les tenebres estoyent ſ r lesaby mes : & l’E prit de Die destoite pand par de s les ea x.3 Adonc Die dît, 2 ’il y ait l mie-re. eEt la l miere f t.4 Et Die vid q la l miere estoit bon-ne : & epara la l miere des tenebres.5 Et Die appela la l miere io r,& lestenebres n i . Lors f t ai le f oir &le matin d premier io r.6 ¶ P is Die dît, 3 ’il y ait ne geſ-tend e entre les ea x, & q elle epareles hea x da ec les ea x.7 Die donc fit lestend e, & di i a

ICe premier cha-pitre est ort diffi-cile : & po r cetteca e, il estoit de-end entre les Hebrie x de le lire &interpreter de antlaage de trenteans.aFit de rien, &ans a c ne ma-tiere.

1Iob 38.4,Pſea . 33.6, &89.13.bTo t premiere-

ment, & a ãt q ’ily e t a c ne crea-t re, Iean 1.10.2Hebr. 11.3.cLe ciel & la

terre, les ea x, lesaby mes, e pren-nent ici po r vneme me cho e : a ç.po r ne matierecõf e & ans or-me, q Die orma& agença aprespar a Parole.dO , e mo oit.Cest, o stenoit etcon er oit en onestre cette matiereconf e. Car ilest impo ble,q a c ne cho eapres a oir estéai es, p i eſ b ster n e lmoment, Diene la o stient& cõ er e par avert , Pſea . 130.

eCette l mierenestoit pointencore a oleil, caril na oit pas estécreé, mais estoit enla main de Die ,ayãt on ordreſ cce f a ec lestenebres, po raire le io r & lan i & ce i q esa q atriemeio r, q e Diefit le oleil po restre ministre &di pen ate r decette l miere, a ecla l ne & estoilles.3Pſea . 33.6 &

136.5.fIci est la ca e

les ea x, q i estoyent o s lestend e,da ec celles, q i estoyent ſ r lesten-d e. Et f t ain ai .8 EtDie appela lestend e, Ciel. Lorsf t ai le oir & le matin d econdio r.9 ¶ P isDie dît, 4 i e les ea x, q iont o s le ciel, oyent a emblees enn lie , & q e le ec apparoi e. Et f tain ai .10 EtDie appeꝉale ec,Terre,& la emblee des ea x, mers. Et Die vid q ecelà estoit bon.11 Et Die dît, e la terre prod i everd re, herbe prod i ant emence, &arbre r i ier, ai ant r i elon one pece, leq el ait a emẽce en oy-meſ-me ſ r la terre. Et f t ain ai .12 La terre dõc prod i t verd re, her-be prod i ant emẽce elon on e pece,& arbre ans r i , leq el a oit aemence en oyme me elon on e pe-ce. Et Die vid q e celà estoit bon.13 Lors f t ai le oir & le matin dtroi eme io r.14 ¶ApresDie dît,5 k ’il y ait l minaires en lestend e d ciel, po r epa-rer la n i d io r : & oyẽt en l gnes,

a en

po rq oy les He-brie x cõmencentle io r nat rel leoir apres le oleilco chant.gCe mot d’Estẽ

d e, comprẽd to tce q i e voit parde s no s, tãt enla region celeste,q elementaire.4Pſea . 33.7.hIl est ici parlé

de de x manieresdea x : asça oir,celles q ont o slestend e, commela mer, les fle es,& a tres q i ontſ r la terre & cel-les, q i ont ſ rlestend e, commeont les n eespleines dea çaha t en lair parde s no s.Die a mis entreces de x orcesdea x ne grãdeestend e, q onappelle le ciel : delà no s appelonsles oi ea x d ciel.iCeci appartiẽt aecõd io r, a q elDie epara, & fitapparoir la terre dmilie des ea x.kIl instit e n

no el ordre ennat re, q and ila t & ordonne leoleil distrib te rde cette l miereq ’il a oit creéea ant l i, & a antla l ne & les eſ-toilles.5Pſea . 136.7lCest po r -

gnifier di er es di-po tions q e lescorps ĩ erie rs e-lon lordre de na-t re ont des corpscelestes, cõme caes ecõdes ordonnees de Die à ce-là. En q oy to -teſ ois a t f ir c -rio té & ſ persti-tion q les hõmesont cõtro ee ſ rcelà.Max Klinger GAF Speakers

Page 19: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Examples of what’s possible with TEX

Representing Homology Classes by Locally Flat Surfacesof Minimum Genus∗

Ronnie Lee and Dariusz M. WilczynskiYale University

Utah State University

1 Introduction

A necessary and sufficient condition will be given for a nontrivial homology class of a simply con-nected 4-manifold to be represented by a simple, topologically locally flat embedding of a compactRiemann surface.

2 Splittings of Hermitian Modules

We begin with an algebraic result.

Theorem 1. The following is a commutative diagram of pointed hermitian modules.

(M,h, z)

π0

��

α∼= ))SSSSSSSSSSSSSS

π1 // (M1, h1, 0)

π1d

��

α1

∼= ))RRRRRRRRRRRRR

(M ′, h′, z′)⊕H(Λk)

π0

��

π1 // (M ′1, h

′1, 0)⊕H(Λk

1)

π1d

��

(M0, h0, z0)α0

∼= ))RRRRRRRRRRRRRRπ0d // (Md, hd, 0)

αd

∼= ((RRRRRRRRRRRRR

(M ′0, h

′0, z

′0)⊕H(Λk

0)

β′0⊕id∼=

��

π0d // (M ′d, h

′d, 0)⊕H(Λk

d)

β′d⊕id∼=

��

(M0, h0, z0)β0

∼= ))RRRRRRRRRRRRRRπ0d // (Md, hd, 0)

βd

∼= ((RRRRRRRRRRRRR

(L, λ, x)⊕H(Λk0)

π0d // (Ld, λd, 0)⊕H(Λkd)

∗This is an excerpt from a paper published under the same title in the American Journal of Mathematics 119(1997), 1119–1137. Typeset by the authors using LATEX with packages from AMS and XY-pic.

Max Klinger GAF Speakers

Page 20: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Why Latex?

Why latex?Pros

TEX’s Typesetting is superior.Math is easier to enter and looks better than with anythingelse.TEXfiles are text files.TEX is relatively stable.Use syntactic markup rather than plain formatting.It tends to look good by default.

ConsFloats (Tables, Figures, Images) are still a Pita

exact, free placement can be a tad annoyingerror messages are usually not exactly helpfulfinding out quickly how to du something is hard in thebeginnning

Max Klinger GAF Speakers

Page 21: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Why Latex?

Why latex?Pros

TEX’s Typesetting is superior.Math is easier to enter and looks better than with anythingelse.TEXfiles are text files.TEX is relatively stable.Use syntactic markup rather than plain formatting.It tends to look good by default.

ConsFloats (Tables, Figures, Images) are still a Pitaexact, free placement can be a tad annoying

error messages are usually not exactly helpfulfinding out quickly how to du something is hard in thebeginnning

Max Klinger GAF Speakers

Page 22: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Why Latex?

Why latex?Pros

TEX’s Typesetting is superior.Math is easier to enter and looks better than with anythingelse.TEXfiles are text files.TEX is relatively stable.Use syntactic markup rather than plain formatting.It tends to look good by default.

ConsFloats (Tables, Figures, Images) are still a Pitaexact, free placement can be a tad annoyingerror messages are usually not exactly helpful

finding out quickly how to du something is hard in thebeginnning

Max Klinger GAF Speakers

Page 23: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Why Latex?

Why latex?Pros

TEX’s Typesetting is superior.Math is easier to enter and looks better than with anythingelse.TEXfiles are text files.TEX is relatively stable.Use syntactic markup rather than plain formatting.It tends to look good by default.

ConsFloats (Tables, Figures, Images) are still a Pitaexact, free placement can be a tad annoyingerror messages are usually not exactly helpfulfinding out quickly how to du something is hard in thebeginnning

Max Klinger GAF Speakers

Page 24: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

When to use what?

More than a couple of lines math → LATEX

Quick solutions for standard problems → LATEXOne-shot documents with a fair bit of formatting → WordOne-shot documents that need high-end design → DTPAutomated solutions (chain letter, . . . ) → Word + Excel/LATEX+ScriptingLot’s of pictures → DTPMore than one conflicting requirement ⇒ You’re Screwed

Max Klinger GAF Speakers

Page 25: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

When to use what?

More than a couple of lines math → LATEXQuick solutions for standard problems → LATEX

One-shot documents with a fair bit of formatting → WordOne-shot documents that need high-end design → DTPAutomated solutions (chain letter, . . . ) → Word + Excel/LATEX+ScriptingLot’s of pictures → DTPMore than one conflicting requirement ⇒ You’re Screwed

Max Klinger GAF Speakers

Page 26: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

When to use what?

More than a couple of lines math → LATEXQuick solutions for standard problems → LATEXOne-shot documents with a fair bit of formatting → Word

One-shot documents that need high-end design → DTPAutomated solutions (chain letter, . . . ) → Word + Excel/LATEX+ScriptingLot’s of pictures → DTPMore than one conflicting requirement ⇒ You’re Screwed

Max Klinger GAF Speakers

Page 27: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

When to use what?

More than a couple of lines math → LATEXQuick solutions for standard problems → LATEXOne-shot documents with a fair bit of formatting → WordOne-shot documents that need high-end design → DTP

Automated solutions (chain letter, . . . ) → Word + Excel/LATEX+ScriptingLot’s of pictures → DTPMore than one conflicting requirement ⇒ You’re Screwed

Max Klinger GAF Speakers

Page 28: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

When to use what?

More than a couple of lines math → LATEXQuick solutions for standard problems → LATEXOne-shot documents with a fair bit of formatting → WordOne-shot documents that need high-end design → DTPAutomated solutions (chain letter, . . . ) → Word + Excel/LATEX+Scripting

Lot’s of pictures → DTPMore than one conflicting requirement ⇒ You’re Screwed

Max Klinger GAF Speakers

Page 29: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

When to use what?

More than a couple of lines math → LATEXQuick solutions for standard problems → LATEXOne-shot documents with a fair bit of formatting → WordOne-shot documents that need high-end design → DTPAutomated solutions (chain letter, . . . ) → Word + Excel/LATEX+ScriptingLot’s of pictures → DTP

More than one conflicting requirement ⇒ You’re Screwed

Max Klinger GAF Speakers

Page 30: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

When to use what?

More than a couple of lines math → LATEXQuick solutions for standard problems → LATEXOne-shot documents with a fair bit of formatting → WordOne-shot documents that need high-end design → DTPAutomated solutions (chain letter, . . . ) → Word + Excel/LATEX+ScriptingLot’s of pictures → DTPMore than one conflicting requirement ⇒ You’re Screwed

Max Klinger GAF Speakers

Page 31: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Hello world

\documentclass[a4]{article}\usepackage{lipsum}\begin{document}\lipsum\end{document}

Lazy people go to tehsuck.de/latex/minxmpl.tex

To compile it use pdflatex file.Later you will want to use pdflatex -halt-on-error file orpdflatex -interactionmode=nonstopmode file. The secondcommand keeps going even in case of an error.

Max Klinger GAF Speakers

Page 32: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Hello world

\documentclass[a4]{article}\usepackage{lipsum}\begin{document}\lipsum\end{document}

Lazy people go to tehsuck.de/latex/minxmpl.texTo compile it use pdflatex file.Later you will want to use pdflatex -halt-on-error file orpdflatex -interactionmode=nonstopmode file. The secondcommand keeps going even in case of an error.

Max Klinger GAF Speakers

Page 33: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

What is Tex

Engine tex, pdftex, xetex and luatex

Formats/Macro packages LATEX, Context, plain TEX and AMS TEXDistributions texlive, miktex and mactex

Packages geometry, KoMa, . . .

Max Klinger GAF Speakers

Page 34: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

What is Tex

Engine tex, pdftex, xetex and luatex

Formats/Macro packages LATEX, Context, plain TEX and AMS TEX

Distributions texlive, miktex and mactex

Packages geometry, KoMa, . . .

Max Klinger GAF Speakers

Page 35: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

What is Tex

Engine tex, pdftex, xetex and luatex

Formats/Macro packages LATEX, Context, plain TEX and AMS TEXDistributions texlive, miktex and mactex

Packages geometry, KoMa, . . .

Max Klinger GAF Speakers

Page 36: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

What is Tex

Engine tex, pdftex, xetex and luatex

Formats/Macro packages LATEX, Context, plain TEX and AMS TEXDistributions texlive, miktex and mactex

Packages geometry, KoMa, . . .

Max Klinger GAF Speakers

Page 37: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Commands

3 kinds of input: text, control symbols and whitespace. Control symbolscome in three types:commands specially formed words, mostly starting with \, e.g.

\text{}, \%,\listoffigures,

but also some without like $.environments a construction changing something about the text

contained within, looks like:

\begin{ env}t e x t a f f e c t e d by env

\end{ env}

declarations like commands but purely sideeffectual, e.g.\pagenumbering{roman}

Max Klinger GAF Speakers

Page 38: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Command Arguments

Symbols with a special meaning: # $ & ~ _ ^ % { }All of these can be reproduced by putting a backslash in front! Allother of the 127 ASCII characters are normal text. Avoid @ until youstart hacking TEX.

% starts a comment, anything after it is ignored until the end of line# is the TEX internal marker for a command argument (forget ituntil you start straight TEX)& is used in tables (later)$ starts the math mode; _ and ˆ are used in it (second/third talk)~ gives an unbreakable space (Dr. Echsler instead of the wrong Dr.Echsler)Alternate forms of a command are usually denoted by a star

Max Klinger GAF Speakers

Page 39: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Command Arguments

Symbols with a special meaning: # $ & ~ _ ^ % { }All of these can be reproduced by putting a backslash in front! Allother of the 127 ASCII characters are normal text. Avoid @ until youstart hacking TEX.% starts a comment, anything after it is ignored until the end of line

# is the TEX internal marker for a command argument (forget ituntil you start straight TEX)& is used in tables (later)$ starts the math mode; _ and ˆ are used in it (second/third talk)~ gives an unbreakable space (Dr. Echsler instead of the wrong Dr.Echsler)Alternate forms of a command are usually denoted by a star

Max Klinger GAF Speakers

Page 40: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Command Arguments

Symbols with a special meaning: # $ & ~ _ ^ % { }All of these can be reproduced by putting a backslash in front! Allother of the 127 ASCII characters are normal text. Avoid @ until youstart hacking TEX.% starts a comment, anything after it is ignored until the end of line# is the TEX internal marker for a command argument (forget ituntil you start straight TEX)

& is used in tables (later)$ starts the math mode; _ and ˆ are used in it (second/third talk)~ gives an unbreakable space (Dr. Echsler instead of the wrong Dr.Echsler)Alternate forms of a command are usually denoted by a star

Max Klinger GAF Speakers

Page 41: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Command Arguments

Symbols with a special meaning: # $ & ~ _ ^ % { }All of these can be reproduced by putting a backslash in front! Allother of the 127 ASCII characters are normal text. Avoid @ until youstart hacking TEX.% starts a comment, anything after it is ignored until the end of line# is the TEX internal marker for a command argument (forget ituntil you start straight TEX)& is used in tables (later)

$ starts the math mode; _ and ˆ are used in it (second/third talk)~ gives an unbreakable space (Dr. Echsler instead of the wrong Dr.Echsler)Alternate forms of a command are usually denoted by a star

Max Klinger GAF Speakers

Page 42: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Command Arguments

Symbols with a special meaning: # $ & ~ _ ^ % { }All of these can be reproduced by putting a backslash in front! Allother of the 127 ASCII characters are normal text. Avoid @ until youstart hacking TEX.% starts a comment, anything after it is ignored until the end of line# is the TEX internal marker for a command argument (forget ituntil you start straight TEX)& is used in tables (later)$ starts the math mode; _ and ˆ are used in it (second/third talk)

~ gives an unbreakable space (Dr. Echsler instead of the wrong Dr.Echsler)Alternate forms of a command are usually denoted by a star

Max Klinger GAF Speakers

Page 43: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Command Arguments

Symbols with a special meaning: # $ & ~ _ ^ % { }All of these can be reproduced by putting a backslash in front! Allother of the 127 ASCII characters are normal text. Avoid @ until youstart hacking TEX.% starts a comment, anything after it is ignored until the end of line# is the TEX internal marker for a command argument (forget ituntil you start straight TEX)& is used in tables (later)$ starts the math mode; _ and ˆ are used in it (second/third talk)~ gives an unbreakable space (Dr. Echsler instead of the wrong Dr.Echsler)

Alternate forms of a command are usually denoted by a star

Max Klinger GAF Speakers

Page 44: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Command Arguments

Symbols with a special meaning: # $ & ~ _ ^ % { }All of these can be reproduced by putting a backslash in front! Allother of the 127 ASCII characters are normal text. Avoid @ until youstart hacking TEX.% starts a comment, anything after it is ignored until the end of line# is the TEX internal marker for a command argument (forget ituntil you start straight TEX)& is used in tables (later)$ starts the math mode; _ and ˆ are used in it (second/third talk)~ gives an unbreakable space (Dr. Echsler instead of the wrong Dr.Echsler)Alternate forms of a command are usually denoted by a star

Max Klinger GAF Speakers

Page 45: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Command Arguments

Most commands start with \and contain any valid character endingwith whitespace. @ is special in that it isn’t to be used in commandsthat are visible to normal users. Capitalization is important!Whitespace is spaces, tabs and newline. Any amount of these are allcollapsed into one space in the output, except for more than onenewline which is translated into a new paragraph.Some commands have arguments, some are mandatory some areoptional. If they consist of more than one token they need to beenclosed by { and }, optional ones are to be surrounded by [ and ].

\\\\ [11 pt ]\ sect ion { head ing }\ sect ion [ k u r z e r T i t e l ] { Bescheue r t l a n g e r T i t e l }\ f r ac 1 2 i s t abe r i d e n t i s c h zu \ f r ac {1}{2}\alpha \neq \Alpha

Max Klinger GAF Speakers

Page 46: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Document Structure

\documentclass{ c l a s s }Praeamble\usepackage{}\begin{document}Document\end{document}

Max Klinger GAF Speakers

Page 47: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Document Structure

The overall design is handled by the documentclass

\documentclass{class}

Standard classes:LATEX AMS Koma forarticle amsart scrartcl normal documentsreport amsproc scrreprt longer documents, that contain an

overlying structurebook amsbook scrbook (long) booksletter - scrletter briefe (also see dinbrief and gaf-

brief)There are a lot of more special purpose ones, that you don’t usually need.

Max Klinger GAF Speakers

Page 48: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Extending LATEX

More packages can be loaded with \usepackage[Options]{Package}Check your distro for the packages you need first! If you look for moresearch on CTAN.org or google for ctan and the package.geometry You really shouldn’t need it, but you will.

babel Handles all language specific issueshyperref Url and link supportinputenc internationalization support (usually needs fontenc)

microtype makes for better type setting, does not work with XeLaTeX

fontspec direct inclusion of system fonts, does not work with pdflatex

graphicx Pretty Pictures

Max Klinger GAF Speakers

Page 49: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Document Structure

These commands are structured like

\struktur[safe title for toc]{Long title in the document}

\ pa r t /\ chap t e r\ sect ion\ s u b s e c t i o n\ s u b s ub s e c t i o n\ paragraph\ subparag raph

The table of contents can be seen by \tableofcontents

Max Klinger GAF Speakers

Page 50: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Quoting, Dashes and Hyphenation

quotes Single quotes are achieved by typing ‘ and ’, double quotesare achieved by typing them twice! For more complicatedcase use package csquotes.

dashes There are four types of dashes1 Figure dash: - which you get by one - in the source

(mostly hyphenation)2 En dash: – caused by two - (indicates ranges and

connections)3 Em dash: — three - (indicates a change of thought)4 Minus : − only valid in math mode $-$

hyphenation Usually \usepackage[ngerman]{babel} does just whatyou want. Suppress with \mbox{Penisfürst}andmanually hyphenate with Pe\-nis\-fürst or globallywith \hyphenation{Penisfürst}

Max Klinger GAF Speakers

Page 51: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Lists

1 One2 two

1 \begin{enumerate}2 \item One3 \item two4 \end{enumerate}

Onetwo

1 \begin{itemize}2 \item One3 \item two4 \end{itemize}

Onetwo

1 \begin{description}2 \item[One]3 \item[two]4 \end{description}

Max Klinger GAF Speakers

Page 52: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Floats

Several types of floats1 Tables

1 2 34 5 67 8 9

Table: A simple table

1 \begin{table}[h!]2 \begin{center}3 \begin{tabular}{| l c r |}4 \hline5 1 & 2 & 3 \\6 4 & 5 & 6 \\7 7 & 8 & 9 \\8 \hline9 \end{tabular}

10 \end{center}11 \caption{A simple table}12 \end{table}

2 Graphics

Figure: bla

1 \begin{figure}2 \ includegraphics [width=2cm]{gaf} % without the file ending!3 \caption{bla}4 \end{figure}

Max Klinger GAF Speakers

Page 53: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

references

\label{prefix:labelname}\ref{prefix:labelname}

Needs at least two runs to work

Max Klinger GAF Speakers

Page 54: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Command Declaration Effect\textrm{...} \rmfamily Roman (with Serifen)\textsf{...} \sffamily Sans Serif Font\texttt{...} \ttfamily Typewriter\textmd{...} \mdseries Medium Font\textbf{...} \bfseries Bold Font\textup{...} \upshape Upright Font\textit{...} \itshape Italic Font\textsl{...} \slshape Slanted Font\textsc{...} \scshape Small Capitals\emph{...} \em Emphasized\textnormal{...} \normalfont Defaultfont

Max Klinger GAF Speakers

Page 55: GAF Speakers - Latex: 1 - Bloody Beginners · Introduction Ideas Types of skills required for typesetting a piece of work: Subject Expertise Noone can help you with that, although

Introduction Ideas

Where to get help

1 Chris2 and Max2 en.wikibooks.org/wiki/LaTeX3 google for CTAN and whatever (important, latex and X will often

give you Fetish and Chemistry)4 IRC channel #latex oder #latex-de (freenode)5 Mailing Liste [email protected] HomePage tex.stackexchange.com7 detexify.kirelabs.org ( to look up symbols interactively )8 mirror.ctan.org/info/symbols/comprehensive/symbols-a4.

pdf ( more symbols )

Max Klinger GAF Speakers