1. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Introduction to LTEX
A
. . . for Word users
Guy Kloss
Computing + Mathematical Sciences
Auckland University of Technology
A
Guy Kloss | Introduction to L TEX 1/32
2. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Peter Flynn, http://www.silmaril.ie/cgi-bin/blog/
LTEX can save about
A
two months formatting time
off the average 3–4 year PhD writing cycle.
A
Guy Kloss | Introduction to L TEX 2/32
3. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Outline
A
1 What is LTEX?
A
2 LTEX vs. Word
3 Producing a Simple Document
A
4 LTEX installation under Windows
5 How to deal with problems?
A
Guy Kloss | Introduction to L TEX 3/32
4. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Outline
A
1 What is LTEX?
A
2 LTEX vs. Word
3 Producing a Simple Document
A
4 LTEX installation under Windows
5 How to deal with problems?
A
Guy Kloss | Introduction to L TEX 4/32
5. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
A
What is LTEX?
TEX – Computer program created by Donald E. Knuth
Aimed at typesetting text and mathematical formulas
A
LTEX – 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
A
Guy Kloss | Introduction to L TEX 5/32
6. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
A
Why use LTEX?
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
A
Guy Kloss | Introduction to L TEX 6/32
7. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
A
Pronouncing and writing LTEX
A
LTEX (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”
A
Unique capitalisation LTEX
(to avoid confusion with “latex”)
A
Guy Kloss | Introduction to L TEX 7/32
8. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Support for any Language
A
Guy Kloss | Introduction to L TEX 8/32
9. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Other Examples
A
Guy Kloss | Introduction to L TEX 9/32
10. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Other Examples
A
Guy Kloss | Introduction to L TEX 9/32
11. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Other Examples
A
Guy Kloss | Introduction to L TEX 9/32
12. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Other Examples
A
Guy Kloss | Introduction to L TEX 9/32
13. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Other Examples
A
Guy Kloss | Introduction to L TEX 9/32
14. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Outline
A
1 What is LTEX?
A
2 LTEX vs. Word
3 Producing a Simple Document
A
4 LTEX installation under Windows
5 How to deal with problems?
A
Guy Kloss | Introduction to L TEX 10/32
15. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
A
LTEX 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
A
Guy Kloss | Introduction to L TEX 11/32
16. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
A
LTEX 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
A
Guy Kloss | Introduction to L TEX 12/32
17. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
A
LTEX vs. Word
(continued)
impossible to do
effort and time consumption
MS Word
A
LTEX
document complexity
A
Guy Kloss | Introduction to L TEX 13/32
18. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Quality
TEX Word
monetary awards Microsoft Error Reporting
version: 3.141592 version: Word 2
A
Guy Kloss | Introduction to L TEX 14/32
19. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Quality
TEX Word
monetary awards Microsoft Error Reporting
version: 3.141592 version: Word 6
A
Guy Kloss | Introduction to L TEX 14/32
20. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Quality
TEX Word
monetary awards Microsoft Error Reporting
version: 3.141592 version: Office 2000
A
Guy Kloss | Introduction to L TEX 14/32
21. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Quality
TEX Word
monetary awards Microsoft Error Reporting
version: 3.141592 version: Office XP
A
Guy Kloss | Introduction to L TEX 14/32
22. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Math Equations
Word:
A
LTEX:
2 2 ∂v ∂u
u v −v u d 3V = u −v d 2A
G S
∂n ∂n
A
Guy Kloss | Introduction to L TEX 15/32
23. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Outline
A
1 What is LTEX?
A
2 LTEX vs. Word
3 Producing a Simple Document
A
4 LTEX installation under Windows
5 How to deal with problems?
A
Guy Kloss | Introduction to L TEX 16/32
24. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
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
A
LTEX 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 . . . )
A
Guy Kloss | Introduction to L TEX 17/32
25. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
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
A
LTEX 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 . . . )
A
Guy Kloss | Introduction to L TEX 17/32
26. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
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
A
LTEX 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 . . . )
A
Guy Kloss | Introduction to L TEX 17/32
27. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Simple document
A
Guy Kloss | Introduction to L TEX 18/32
28. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
A
LTEX Hello World
A
Guy Kloss | Introduction to L TEX 19/32
29. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Author Info
A
Guy Kloss | Introduction to L TEX 20/32
30. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Document Structure
A
Guy Kloss | Introduction to L TEX 21/32
31. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Steps to Produce a Document
A
Guy Kloss | Introduction to L TEX 22/32
32. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
A
LTEX File Types
A
.tex – LTEX or TEX input file.
Can be compiled with latex
A
.sty – LTEX macro package.
A
This is a file you can load into your LTEX document
using the usepackage command.
.cls – Class files define what your document looks like.
They are selected with the documentclass command.
A
Guy Kloss | Introduction to L TEX 23/32
33. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Outline
A
1 What is LTEX?
A
2 LTEX vs. Word
3 Producing a Simple Document
A
4 LTEX installation under Windows
5 How to deal with problems?
A
Guy Kloss | Introduction to L TEX 24/32
34. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
A
Setting up LTEX 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
A
Guy Kloss | Introduction to L TEX 25/32
35. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
A
Setting up LTEX 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)
A
LTEX plugin for Eclipse (open source)
emacs, vi, . . . (open source)
A
Guy Kloss | Introduction to L TEX 26/32
36. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Support Programs
Viewers:
DVI
(xdvi, kdvi,
Okular, . . . )
PDF
(Acrobat Reader,
GhostView, xpdf,
Okular, . . . )
Support tools:
BibTeX
GNUplot
Inkscape, xfig,
LibreOffice, . . .
A
Guy Kloss | Introduction to L TEX 27/32
37. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Support Programs
Other tools:
Reference Manager
JabRef (open source, Java)
http://jabref.sourceforge.net/
Mind Manager
FreePlane (open source, Java)
http://freeplane.sourceforge.net/
A
Guy Kloss | Introduction to L TEX 28/32
38. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Outline
A
1 What is LTEX?
A
2 LTEX vs. Word
3 Producing a Simple Document
A
4 LTEX installation under Windows
5 How to deal with problems?
A
Guy Kloss | Introduction to L TEX 29/32
39. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
How to deal with problems?
A
The Not So Short Introduction to LTEX2e
http://tobi.oetiker.ch/lshort/lshort.pdf
A
LTEX 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/
A
Wikibook LTEX
http://en.wikibooks.org/wiki/LaTeX
A
Guy Kloss | Introduction to L TEX 30/32
40. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
How to deal with problems?
A
LTEX 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/
A
LTEX2e help 1.4
http://www.emerson.emory.edu/services/latex/latex2e/latex2e_toc.html
A
Beginning LTEX
http://www.cs.cornell.edu/Info/Misc/LaTeX-Tutorial/LaTeX-Home.html
A
5-Minute LTEX Tutorial
http://heather.cs.ucdavis.edu/~matloff/LaTeX/FiveMinute.html
A
Guy Kloss | Introduction to L TEX 31/32
41. What is L TEX? L TEX vs. Word Producing a Simple Document L TEX installation under Windows How to deal with problems?
A A A
Questions?
A
Guy Kloss | Introduction to L TEX 32/32