1 / 13

LaTeX Introduction

LaTeX Introduction. Wenguang Wang Department of Computer Science University of Saskatchewan February 28, 2000. What is LaTeX. How to pronounce LaTeX? (Lah-tek, or Lay-tek) A typesetting program, not a word-processor Macros of TeX (Donald E. Knuth) Current version LaTeX2 

timon-boyer
Télécharger la présentation

LaTeX Introduction

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LaTeX Introduction Wenguang Wang Department of Computer Science University of Saskatchewan February 28, 2000

  2. What is LaTeX • How to pronounce LaTeX? (Lah-tek, or Lay-tek) • A typesetting program, not a word-processor • Macros of TeX (Donald E. Knuth) • Current version LaTeX2 • Designed for producing beautiful books, thesises, papers, articles... • De facto standard for writing academic papers

  3. Why LaTeX, not Word? • Professional result • Platform, version independent (Unix, Windows…) • Pre-set standard formats (for paper, thesis…) • Bibliography management • Fast, professional math equations typesetting • Free available • The commands are easy to learn • Never crash, never lose your file • Can compile very big books (unless your document is more than 70,000 pages!)

  4. Disadvantages • You need other software (xfig) for pictures (Word picture can be used in LaTeX) • Spelling/grammar checking is not as convenient as those in MS Word (emacs+ispell is good) • Not WYSIWYG (try klyx and lyx on /grad/wew036/bin) • Remember some commands • Not straightforward for creating complex tables • Not integrated with other MS Office products

  5. Where to get LaTeX? • Unix: • Skorpio, buzz, all ultra* machines in our department • Windows • MikTeXhttp://www.miktex.de/ • WinShell, a free LaTeX editor • Emacs for Windows, ispell for Windows • Where to get help? newsgroup comp.text.tex • http://www.cs.usask.ca/grads/wew036/latex/ • Introduction and tips for LaTeX

  6. How To Run LaTeX • Edit emacs myfile.tex • Compile latex myfile F5 (WinShell) • View the dvi file xdvi myfile (UNIX) F7 (WinShell) yap myfile (Windows) • Dvi --> PostScript dvips myfile F8 (WinShell) • View PostScript gv myfile (UNIX) F9 (WinShell) Use gsview (Windows)

  7. BibTeX--Bibliography Management • Bibliography database file mybib.bib • Command \cite{biblabel} • How to compile • latex myfile • bibtex myfile • latex myfile (may need to run twice) • “.bib” file template (see my home page) • Two bibliography servers (see my home page) • Powerful search engines • BibTeX file included

  8. Spell checking by emacs+ispell • Edit  Spell  Check Buffer • Edit  Spell  Continue Check • Commands: • Space: keep unchanged • a: accept this word for this session • i: insert to my directory • <num>:replace the word • x: exit spell checking

  9. LaTeX Skeleton % my first LaTeX file \documentclass{article} % preamble \usepackage{graphicx} \begin{document} \section{This is a section} \subsection{This is a subsection} First paragraph is here. Second paragraph is here. \end{document}

  10. Now let’s learn by samples We concentrate on what you can do, not how do you do.

  11. Thank you! For more details, check my home page: http://www.cs.usask.ca/grads/wew036/latex

  12. How to run LaTeX myfile.tex Edit myfile Resolve compile error Resolve cross-reference latex myfile myfile.dvi xdvi myfile (UNIX) yap myfile (Windows) myfile.ps dvips myfile print

More Related