Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to LaTeX (For Word users)

Guy Kloss
March 15, 2013

Introduction to LaTeX (For Word users)

A presentation used for a number of seminars at university

Guy Kloss

March 15, 2013
Tweet

More Decks by Guy Kloss

Other Decks in Education

Transcript

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. 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