Slide 1

Slide 1 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Introduction to L A TEX . . . for Word users Guy Kloss Computing + Mathematical Sciences Auckland University of Technology Guy Kloss | Introduction to L ATEX 1/32

Slide 2

Slide 2 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Peter Flynn, http://www.silmaril.ie/cgi-bin/blog/ L A TEX can save about two months formatting time off the average 3–4 year PhD writing cycle. Guy Kloss | Introduction to L ATEX 2/32

Slide 3

Slide 3 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Outline 1 What is L A TEX? 2 L A TEX vs. Word 3 Producing a Simple Document 4 L A TEX installation under Windows 5 How to deal with problems? Guy Kloss | Introduction to L ATEX 3/32

Slide 4

Slide 4 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Outline 1 What is L A TEX? 2 L A TEX vs. Word 3 Producing a Simple Document 4 L A TEX installation under Windows 5 How to deal with problems? Guy Kloss | Introduction to L ATEX 4/32

Slide 5

Slide 5 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? What is L A TEX? TEX – Computer program created by Donald E. Knuth Aimed at typesetting text and mathematical formulas L A TEX – Macro package enabling authors to typeset and print their work at highest typographical quality Uses TEX formatter as its typesetting engine Uses a pre-designed, professional layout Originally written by Leslie Lamport Guy Kloss | Introduction to L ATEX 5/32

Slide 6

Slide 6 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Why use L A TEX? Portability (Unix, Linux, Windows, MacOS, Amiga OS, DOS, . . . ) Flexibility (lots of packages) Precise control Quality of output (e. g. math formulas) Can be used to write documents in any language Guy Kloss | Introduction to L ATEX 6/32

Slide 7

Slide 7 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Pronouncing and writing L A TEX L A TEX (LaTeX) is usually pronounced [lah-tek] or [lei-tek] (in English) Last character: Capital χ (chi) TEX (TeX) derives from the Greek τ χνη (skill, art, technique) X is a guttural sound as in the Scottish “loch” or German “Bach” Unique capitalisation L A TEX (to avoid confusion with “latex”) Guy Kloss | Introduction to L ATEX 7/32

Slide 8

Slide 8 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Support for any Language Guy Kloss | Introduction to L ATEX 8/32

Slide 9

Slide 9 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Other Examples Guy Kloss | Introduction to L ATEX 9/32

Slide 10

Slide 10 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Other Examples Guy Kloss | Introduction to L ATEX 9/32

Slide 11

Slide 11 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Other Examples Guy Kloss | Introduction to L ATEX 9/32

Slide 12

Slide 12 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Other Examples Guy Kloss | Introduction to L ATEX 9/32

Slide 13

Slide 13 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Other Examples Guy Kloss | Introduction to L ATEX 9/32

Slide 14

Slide 14 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Outline 1 What is L A TEX? 2 L A TEX vs. Word 3 Producing a Simple Document 4 L A TEX installation under Windows 5 How to deal with problems? Guy Kloss | Introduction to L ATEX 10/32

Slide 15

Slide 15 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? L A TEX vs. Word Suitable for large projects Clear, explicit separation: Content ⇐⇒ Style Ease with which a table of contents, bibliography and index can be generated Ability to split books, theses, . . . into smaller (more manageable) pieces that are easily combined once writing is complete Guy Kloss | Introduction to L ATEX 11/32

Slide 16

Slide 16 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? L A TEX vs. Word (continued) Stability and interchangeability of documents (as opposed to Word 6 vs. Office 95 vs. Office 97 vs. Office 2000 vs. Office XP vs. . . . ) No pressure to upgrade NOW OR ELSE! No Word viruses Guy Kloss | Introduction to L ATEX 12/32

Slide 17

Slide 17 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? L A TEX vs. Word (continued) document complexity effort and time consumption impossible to do MS Word L A TEX Guy Kloss | Introduction to L ATEX 13/32

Slide 18

Slide 18 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Quality TEX monetary awards Word Microsoft Error Reporting version: 3.141592 version: Word 2 Guy Kloss | Introduction to L ATEX 14/32

Slide 19

Slide 19 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Quality TEX monetary awards Word Microsoft Error Reporting version: 3.141592 version: Word 6 Guy Kloss | Introduction to L ATEX 14/32

Slide 20

Slide 20 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Quality TEX monetary awards Word Microsoft Error Reporting version: 3.141592 version: Office 2000 Guy Kloss | Introduction to L ATEX 14/32

Slide 21

Slide 21 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Quality TEX monetary awards Word Microsoft Error Reporting version: 3.141592 version: Office XP Guy Kloss | Introduction to L ATEX 14/32

Slide 22

Slide 22 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Math Equations Word: L A TEX: G u∇2v − v∇2u d3V = S u ∂v ∂n − v ∂u ∂n d2A Guy Kloss | Introduction to L ATEX 15/32

Slide 23

Slide 23 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Outline 1 What is L A TEX? 2 L A TEX vs. Word 3 Producing a Simple Document 4 L A TEX installation under Windows 5 How to deal with problems? Guy Kloss | Introduction to L ATEX 16/32

Slide 24

Slide 24 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Producing a Simple Document We will start with a simple, empty (text) document Usually you start out by filling stuff into a skeleton document Then you learn as you go L A TEX is more WYMIWYG (What You Mean is What You Get) rather than WYSIWYG Time invested initially will be very well gotten back at later times (less annoyances in formatting . . . ) Guy Kloss | Introduction to L ATEX 17/32

Slide 25

Slide 25 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Producing a Simple Document We will start with a simple, empty (text) document Usually you start out by filling stuff into a skeleton document Then you learn as you go L A TEX is more WYMIWYG (What You Mean is What You Get) rather than WYSIWYG Time invested initially will be very well gotten back at later times (less annoyances in formatting . . . ) Guy Kloss | Introduction to L ATEX 17/32

Slide 26

Slide 26 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Producing a Simple Document We will start with a simple, empty (text) document Usually you start out by filling stuff into a skeleton document Then you learn as you go L A TEX is more WYMIWYG (What You Mean is What You Get) rather than WYSIWYG Time invested initially will be very well gotten back at later times (less annoyances in formatting . . . ) Guy Kloss | Introduction to L ATEX 17/32

Slide 27

Slide 27 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Simple document Guy Kloss | Introduction to L ATEX 18/32

Slide 28

Slide 28 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? L A TEX Hello World Guy Kloss | Introduction to L ATEX 19/32

Slide 29

Slide 29 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Author Info Guy Kloss | Introduction to L ATEX 20/32

Slide 30

Slide 30 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Document Structure Guy Kloss | Introduction to L ATEX 21/32

Slide 31

Slide 31 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Steps to Produce a Document Guy Kloss | Introduction to L ATEX 22/32

Slide 32

Slide 32 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? L A TEX File Types .tex – L A TEX or TEX input file. Can be compiled with latex .sty – L A TEX macro package. This is a file you can load into your L A TEX document using the \usepackage command. .cls – Class files define what your document looks like. They are selected with the \documentclass command. Guy Kloss | Introduction to L ATEX 23/32

Slide 33

Slide 33 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Outline 1 What is L A TEX? 2 L A TEX vs. Word 3 Producing a Simple Document 4 L A TEX installation under Windows 5 How to deal with problems? Guy Kloss | Introduction to L ATEX 24/32

Slide 34

Slide 34 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Setting up L A TEX for Windows Step One – MiKTeX http://www.miktex.org/ Step Two – Ghostscript and GSview http://www.cs.wisc.edu/~ghost/ Step Three – Acrobat Reader http://www.adobe.com/products/acrobat/readstep2.html Guy Kloss | Introduction to L ATEX 25/32

Slide 35

Slide 35 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Setting up L A TEX for Windows Step Four – Windows Editor: TeXnicCenter (open source) http://www.toolscenter.org/ WinEdt (share ware, AUT license) http://www.winedt.com/ SciTE (open source) L A TEX plugin for Eclipse (open source) emacs, vi, . . . (open source) Guy Kloss | Introduction to L ATEX 26/32

Slide 36

Slide 36 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Support Programs Viewers: DVI (xdvi, kdvi, Okular, . . . ) PDF (Acrobat Reader, GhostView, xpdf, Okular, . . . ) Support tools: BibTeX GNUplot Inkscape, xfig, LibreOffice, . . . Guy Kloss | Introduction to L ATEX 27/32

Slide 37

Slide 37 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Support Programs Other tools: Reference Manager JabRef (open source, Java) http://jabref.sourceforge.net/ Mind Manager FreePlane (open source, Java) http://freeplane.sourceforge.net/ Guy Kloss | Introduction to L ATEX 28/32

Slide 38

Slide 38 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Outline 1 What is L A TEX? 2 L A TEX vs. Word 3 Producing a Simple Document 4 L A TEX installation under Windows 5 How to deal with problems? Guy Kloss | Introduction to L ATEX 29/32

Slide 39

Slide 39 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? How to deal with problems? The Not So Short Introduction to L A TEX2e http://tobi.oetiker.ch/lshort/lshort.pdf L A TEX for Word Processor Users http://www.tex.ac.uk/tex-archive/info/latex4wp/latex4wp.pdf Comprehensive TEX Archive Network http://www.ctan.org/ or http://www.tex.ac.uk/ TEX Catalogue http://www.ctan.org/tex-archive/help/Catalogue/ Wikibook L A TEX http://en.wikibooks.org/wiki/LaTeX Guy Kloss | Introduction to L ATEX 30/32

Slide 40

Slide 40 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? How to deal with problems? L A TEX Related Information http://www.dickimaw-books.com/latexresources.html For Complete Novices http://www.dickimaw-books.com/latex/novices/ To Write a PhD Thesis http://www.dickimaw-books.com/latex/thesis/ L A TEX2e help 1.4 http://www.emerson.emory.edu/services/latex/latex2e/latex2e_toc.html Beginning L A TEX http://www.cs.cornell.edu/Info/Misc/LaTeX-Tutorial/LaTeX-Home.html 5-Minute L A TEX Tutorial http://heather.cs.ucdavis.edu/~matloff/LaTeX/FiveMinute.html Guy Kloss | Introduction to L ATEX 31/32

Slide 41

Slide 41 text

What is L ATEX? L ATEX vs. Word Producing a Simple Document L ATEX installation under Windows How to deal with problems? Questions? Guy Kloss | Introduction to L ATEX 32/32