A T Introduction to L EX Benjamin Barenblat bbaren@mit.edu - - PowerPoint PPT Presentation

a t introduction to l ex
SMART_READER_LITE
LIVE PREVIEW

A T Introduction to L EX Benjamin Barenblat bbaren@mit.edu - - PowerPoint PPT Presentation

A T Introduction to L EX Benjamin Barenblat bbaren@mit.edu Student Information Processing Board Massachusetts Institute of Technology January 12, 2011 Benjamin Barenblat (SIPB/MIT) Introduction to L T EX January 12, 2011 1 / 50 A


slide-1
SLIDE 1

Introduction to L

AT

EX

Benjamin Barenblat bbaren@mit.edu

Student Information Processing Board Massachusetts Institute of Technology

January 12, 2011

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 1 / 50

slide-2
SLIDE 2

Outline

1

Introduction

2

Your First L

AT

EX Document

3

Basic Language Features

4

Mathematics

5

Specialized Applications

6

Where to Go from Here

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 2 / 50

slide-3
SLIDE 3

Introduction What is L

A

T EX?

Figure: Donald Knuth in 2005. Source: Wikimedia Commons.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 3 / 50

slide-4
SLIDE 4

Introduction What is L

A

T EX?

Figure: The Art of Computer Programming. Source: MSDN.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 4 / 50

slide-5
SLIDE 5

Introduction What is L

A

T EX?

Figure: The T EX logo.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 5 / 50

slide-6
SLIDE 6

Introduction What is L

A

T EX?

\ newif \ ifFPD@overflow \newdimen\FBD@denom \ def \ f p d i v i d e #1#2{ % \ FPD@overflowfalse \ i f d i m \AbsValD#2<1\p@ \ begingroup \FBD@denom\ i f d i m#2<\z@−\ f i 5000#2% \ l e t \ next \@empty \ i f d i m \AbsValD#1>\FBD@denom \ def \ next {% \ FPD@overflowtrue \debug 2{ Overflow d i v i d i n g \ the#1 by \ the#2 − > i n f }% #1=5000\p@}% \ f i \ i f d i m \AbsValD#2<.001\p@\ i f d i m \AbsValD#2<.001\p@ \ def \ next {% \ FPD@overflowtrue \debug 2{ Overflow d i v i d i n g \ the#1 by \ the#2 − > 0}% #1=0\p@}% \ f i \ f i \ expandafter \ endgroup\ next \ f i

Figure: Some T EX code. Source: The Lone T EXnician.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 6 / 50

slide-7
SLIDE 7

Introduction What is L

A

T EX?

Figure: Leslie Lamport in 2004. Source: Wikimedia Commons.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 7 / 50

slide-8
SLIDE 8

Introduction What is L

A

T EX?

\ section {Problem 4} \ begin { enumerate } \ setcounter {enumi }{24} \item \ begin { enumerate } \item $W$ i s the i n t e r i o r volume

  • f

a half −p a r a b o l o i d

  • pening

i n the $+z$ d i r e c t i o n , truncated

  • n

the top by $z = 4 − y ˆ2$ , which l o o k s a b i t l i k e the r o o f

  • f

a greenhouse , and truncated

  • n

the bottom by the $xy$ plane . The p a r a b o l o i d has equation $z = xˆ2 + 3y ˆ2$ , and i t s shadow i n the $xy$ plane i s $x ˆ2/4 + yˆ2 \ l e 1$. \item The a p p r o p r i a t e i n t e g r a l i s \ begin { a l i g n } \ i n t 0ˆ1 \ i n t {−2\ sqrt{1−y ˆ2}}ˆ{2\ sqrt{1−y ˆ2}} \ i n t { xˆ2+3yˆ2}ˆ{4−yˆ2} \ l e f t ( xˆ3 + yˆ3\ r i g h t ) dzdxdy . \end{ a l i g n }

Figure: Some L

AT

EX code.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 8 / 50

slide-9
SLIDE 9

Introduction What is L

A

T EX?

Figure: The L

AT

EX logo.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 9 / 50

slide-10
SLIDE 10

Introduction What is L

A

T EX?

What is L

AT

EX?

L

AT

EX is a sophisticated document preparation system and desktop publishing utility. L

AT

EX has . . . Footnotes and endnotes Bibliography support Reference tracking Stylistic uniformity Crazy algorithms However . . . L

AT

EX is not a word processor!

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 10 / 50

slide-11
SLIDE 11

Introduction What is L

A

T EX?

What is L

AT

EX not?

L

AT

EXis a programming language, not a word processor. L

AT

EX will not . . . Spell-check your documents Give you complete control over the way your document looks Let you see your document while you are writing it Core L

AT

EX philosophy: You take care of writing; we’ll take care of presentation. Humans write text. Computers figure out how to display the text.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 11 / 50

slide-12
SLIDE 12

Introduction Why should I use L

A

T EX?

Why should I use L

AT

EX?

Sometimes, presentation gets in the way of content. Example: underlining vs. italics Word processor way: set italics and/or underlining each time L

AT

EX way: tell L

AT

EX to emphasize; set what that means later Example: journal article / thesis Word processor way: risk accidentally modifying provided template L

AT

EX way: write your text, let L

AT

EX worry about layout

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 12 / 50

slide-13
SLIDE 13

Introduction Why should I use L

A

T EX?

Why should I not use L

AT

EX?

Generally slower (exception: mathematics) Lack of complete control

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 13 / 50

slide-14
SLIDE 14

Your First L

A

T EX Document

Your first L

AT

EX document

4 basic steps

1 Write a .tex file using your favorite text editor 2 Typeset using L

AT

EX or PDFL

AT

EX

3 Preview the result using xdvi or xpdf (or Acrobat Reader or Evince) 4 (optional) Convert the result to PostScript and print Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 14 / 50

slide-15
SLIDE 15

Your First L

A

T EX Document Writing a .tex File

  • 1. Write a .tex file

hello.tex \documentclass{ a r t i c l e } \begin{document} Hello , world ! \end{document}

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 15 / 50

slide-16
SLIDE 16

Your First L

A

T EX Document Typesetting

  • 2. Typeset using L

AT

EX

In a terminal: $ cd path / to / f o l d e r / c o n t a i n i n g / your /. tex / f i l e $ l a t e x h e l l o . tex

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 16 / 50

slide-17
SLIDE 17

Your First L

A

T EX Document Typesetting

  • 2. Typeset using L

AT

EX

Result:

This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) entering extended mode (./hello.tex LaTeX2e <2009/09/24> Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, german-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, ar abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutc h, esperanto, estonian, farsi, finnish, french, galician, german, ngerman, mono greek, greek, hungarian, icelandic, indonesian, interlingua, irish, italian, ku rmanji, latin, latvian, lithuanian, mongolian, mongolian2a, bokmal, nynorsk, po lish, portuguese, romanian, russian, sanskrit, serbian, slovak, slovenian, span ish, swedish, turkish, ukenglish, ukrainian, uppersorbian, welsh, loaded. (/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/texlive/2009/texmf-dist/tex/latex/base/size10.clo)) No file hello.aux. (./hello.aux) ) Output written on hello.dvi (1 page, 232 bytes). Transcript written on hello.log.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 17 / 50

slide-18
SLIDE 18

Your First L

A

T EX Document Previewing

  • 3. Preview using xdvi

New files! hello.aux hello.dvi hello.log hello.dvi $ xdvi h e l l o . dvi

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 18 / 50

slide-19
SLIDE 19

Your First L

A

T EX Document Previewing

  • 3. Preview using xdvi

Result:

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 19 / 50

slide-20
SLIDE 20

Your First L

A

T EX Document Printing

  • 4. Convert to PostScript and print

Converting to PostScript $ dvips −t l e t t e r −o h e l l o . ps h e l l o . dvi Printing Don’t run this command right now! $ l p r −Pprintername h e l l o . ps

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 20 / 50

slide-21
SLIDE 21

Your First L

A

T EX Document When L

A

T EX Complains

When L

AT

EX complains

Overfull/underfull hbox L

AT

EX couldn’t make your text fit nicely on one line. Overfull/underfull vbox L

AT

EX couldn’t make your text fit nicely on a page. Runaway argument You forgot to close a brace. Solution

1 Type x and hit enter 2 Fix the error 3 Re-run L

AT

EX

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 21 / 50

slide-22
SLIDE 22

Basic Language Features

Sample document 1

“Synthesizing Congestion Control Using Replicated Archetypes” Generated by SCIgen, the automatic computer science paper generator pdos.csail.mit.edu/scigen/

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 22 / 50

slide-23
SLIDE 23

Basic Language Features Commands

Declarations and environments

Declarations . . . Are stated once Take effect until further notice Can be constrained using curly braces Example: \documentclass Environments . . . Have corresponding \begin and \end declarations Apply formatting to their contents Example: \begin{document} / \end{document}

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 23 / 50

slide-24
SLIDE 24

Basic Language Features \documentclass

The \documentclass declaration

\documentclass tells L

AT

EX what basic document template to use. Other templates (“classes”): book report letter revtex4-1 thesis beamer

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 24 / 50

slide-25
SLIDE 25

Basic Language Features Structure

Sectioning declarations

\part (book only) \chapter (book and report only) \section \subsection \subsubsection \paragraph \subparagraph \subsubparagraph Example: \chapter{A Mad Tea-Party}

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 25 / 50

slide-26
SLIDE 26

Basic Language Features Command Arguments

Arguments

Arguments can be required or optional. Required arguments . . . Are placed in curly braces Cause L

AT

EX to complain if left out Example: \documentclass{article} Optional arguments . . . Are placed in square brackets Don’t cause errors if left out Come before required arguments Example: \documentclass[12pt,letterpaper]{article}

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 26 / 50

slide-27
SLIDE 27

Basic Language Features Document components

The title

Place in preamble (before \begin{document}): \title{Synthesizing Congestion Control Using Replicated Archetypes} \author{Benjamin Barenblat\\MIT \and SCIgen\\CSAIL} \date{\today} Place in document: \maketitle Some classes allow for more preamble commands.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 27 / 50

slide-28
SLIDE 28

Basic Language Features Document components

Including graphics

Straight L

AT

EX requires documents to be in encapsulated PostScript format. Place in preamble: \usepackage{graphicx} Place in document: \begin{figure} \begin{center} \includegraphics{doc1/flowchart.eps} \end{center} \caption{The diagram used by Oxymel.} \end{figure}

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 28 / 50

slide-29
SLIDE 29

Basic Language Features Document components

Labeling figures

Place after caption: \label{robots} Place in appropriate location: . . . figure∼\ref{robots} You will have to run L

AT

EX twice!

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 29 / 50

slide-30
SLIDE 30

Basic Language Features Document components

Labeling figures and stuff

Place after appropriate command: \label{robots} Place in appropriate location: . . . \ref{robots} You will have to run L

AT

EX twice!

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 30 / 50

slide-31
SLIDE 31

Basic Language Features Document components

Tables

Recall figures: \begin{figure} \begin{center} \includegraphics{doc1/flowchart.eps} \end{center} \caption{The diagram used by Oxymel.} \end{figure} Similar method for tables: \begin{table} \begin{center} \includegraphics{doc1/datatable.eps} \end{center} \caption{Our raw data.} \end{table}

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 31 / 50

slide-32
SLIDE 32

Basic Language Features Document components

Tabular

Code: \begin{tabular}{ℓ ℓ ℓ} Language & Seek time & Write time\\ \hline BLooP & 27 & 42\\ FLooP & 12 & 19\\ GLooP & 11 & 22 \end{tabular} Result: Language Seek time Write time BLooP 27 42 FLooP 12 19 GLooP 11 22

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 32 / 50

slide-33
SLIDE 33

Basic Language Features Document components

Lists

Lists can be numbered (enumerated) or bulleted (itemized). Numbered lists: \begin{enumerate} \item Item 1 \item Item 2 \end{enumerate} Bulleted lists: \begin{itemize} \item Item 1 \item Item 2 \end{itemize}

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 33 / 50

slide-34
SLIDE 34

Basic Language Features Document components

Quoting other works

quote

\begin{quote} Here’s a single-paragraph quote. \end{quote}

quotation

\begin{quotation} Here’s a multiparagraph quote. Here’s the second paragraph. \end{quotation}

verse

\begin{verse} Here’s some poetry.\\ Here’s the second line.\\ \end{verse}

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 34 / 50

slide-35
SLIDE 35

Basic Language Features Document components

Finishing touches

The abstract: \begin{abstract} Yada yada yada. . . . \end{abstract} A title page \documentclass[titlepage]{article} Real headers \pagestyle{headings}

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 35 / 50

slide-36
SLIDE 36

Basic Language Features Document components

Miscellaneous

Spaces ∼ nonbreaking space \ force normal interword space (e.g., Steele et al.\ discovered) \@. force end-of-sentence space (e.g., I program in C\@. You?) \hspace{1in} make horizontal space \vspace{1in} make vertical space Breaking \\ force new line \newpage force new page \noindent force no indentation of current paragraph Comments: Anything after % on a single line is ignored.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 36 / 50

slide-37
SLIDE 37

Basic Language Features Customizing L

A

T EX

Customizing L

AT

EX

Some customization commands are built-in. Changing font face: \emph{text}, \textnormal{text}, \textrm{text}, \textsf{text}, \texttt{text}, \textbf{text}, \textit{text}, \textsc{text} Changing font size:

\tiny, \scriptsize, \footnotesize, \small, \normalsize, \large, \Large,

\LARGE, \huge,\Huge

Changing alignment: \begin{center}, \begin{flushright}, \begin{flushleft}

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 37 / 50

slide-38
SLIDE 38

Basic Language Features Customizing L

A

T EX

Customizing L

AT

EX

Customizations can also occur through packages. Including a package: \usepackage{packagename} Useful packages graphicx, geometry, setspace, fancyhdr, calc, mathpazo, microtype, amsmath, amsfonts, amsthm, amssymb, url, ulem, textcomp, listings, eco, mathtools, mhchem, units, wrapfig, color, ccaption, titlesec, epstopdf, tabularx, tocloft . . .

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 38 / 50

slide-39
SLIDE 39

Basic Language Features Customizing L

A

T EX

A survey of useful packages

geometry Controls margins: \usepackage[margin=1.1in]{geometry} setspace Allows you to use double and 1.5 spacing: \usepackage{setspace} \doublespacing fancyhdr Controls header and footer:

\usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % Reset header and footer \fancyhead[R]{\thepage} % This puts the page in the right of the header

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 39 / 50

slide-40
SLIDE 40

Basic Language Features Customizing L

A

T EX

Changing fonts

Fonts are usually loaded through packages as well. \usepackage[urw-garamond]{mathdesign} Garamond \usepackage{mathpazo} Palatino \usepackage[scaled]{helvet} Helvetica \usepackage{courier} Courier \renewcommand*\sfdefault{uop} Optima \usepackage{concrete} Computer Concrete \usepackage{tgbonum} Bookman \usepackage{txfonts} Times More fonts are available at The L

AT

EX Font Catalogue, www.tug.dk/FontCatalogue/.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 40 / 50

slide-41
SLIDE 41

Mathematics

Typesetting mathematics

L

AT

EX’s math support far outstrips that of any other available piece of software. The Leibniz integral rule d dα ˆ b(α)

a(α)

f (x, α)dx = db(α) dα f

  • b(α), α
  • − da(α)

dα f

  • a(α), α
  • +

ˆ b(α)

a(α)

∂ ∂αf (x, α)dx Generalized Stokes theorem If ω is an (n − 1)-form with compact support on M and ∂M denotes the boundary of M with its induced orientation, then ˆ

M

dω = ˛

∂M

ω.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 41 / 50

slide-42
SLIDE 42

Mathematics Math Mode

Text and math modes

L

AT

EX is always operating in either text mode, display math mode, or inline math mode. Inline math mode Enter/exit using $. . . $ or \(. . . \) Large symbols and super/subscripts are squashed: ´ ∞

1 e−xdx

n=0 n!

1 0

0 1

  • Display math mode

Enter/exit using \begin{equation}. . . \end{equation} or \[. . . \] Large symbols and super/subscripts are displayed in full glory Equations can be numbered ˆ ∞

1

e−xdx

  • n=0

n! 1 1

  • Benjamin Barenblat (SIPB/MIT)

Introduction to L

A

T EX January 12, 2011 42 / 50

slide-43
SLIDE 43

Mathematics Basic mathematics

Basic mathematics

The vast majority of math commands are highly logical. 974 974 x x 4 + 2 4 + 2 49 ± 71 49 \pm 71

3

√ 5 \sqrt[3]{5} φ ∈ U \phi \in U x2

1

x 1ˆ2 f ′′(ξ) f′′(\xi)

x y

\frac{x}{y} ∀x∃y \forall x\exists y n

k=1 k

\sum {k=1}ˆn k U ∩ V U\cap V x y x \leqslant y P ⇔ Q P\Leftrightarrow Q 2 = 4 2 \ne 4 R ⊂ C \mathbb{R}\subset ∇ · Ψ \nabla\cdot\mathbf{\Psi} \mathbb{C} ˆ ı ׈  = ˆ k \hat{\i}\times\hat{\j}=\hat{\k} Detexify2 (detexify.kirelabs.org/) gives commands for any symbol.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 43 / 50

slide-44
SLIDE 44

Mathematics Environments

Mathematics packages and environments

Use \usepackage{amsfonts,amsmath,amssymb,amsthm} unless you have a good reason not to. \usepackage{esint} will get you cool integral signs. equation ‹

∂Ω

F · dS = ˚

∇ · Fdxdydz (1) equation* ‹

∂Ω

F · dS = ˚

∇ · Fdxdydz

The Short Math Guide for L

AT

EX (ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf) has a full listing.

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 44 / 50

slide-45
SLIDE 45

Mathematics Environments

Mathematics packages and environments

align \begin{ block } \begin{ a l i g n } a &= \ o i i n t {\ p a r t i a l \Omega}\mathbf{F}\cdot d\mathbf{S} & (3)(5 + 7) &= (3)(12)\\ &= \ i i i n t \Omega\nabla\cdot\mathbf{F}dxdydz & &= 36 \end{ a l i g n } \end{ block } a = ‹

∂Ω

F · dS (3)(5 + 7) = (3)(12) (2) = ˚

∇ · Fdxdydz = 36 (3)

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 45 / 50

slide-46
SLIDE 46

Mathematics Environments

Labeling figures and stuff

Place after appropriate command: \label{robots} Place in appropriate location: . . . \ref{robots} You will have to run L

AT

EX twice!

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 46 / 50

slide-47
SLIDE 47

Mathematics Environments

Labeling figures and equations and stuff . . .

Place in environment: \label{gaussthm} Place in appropriate location: . . . equation \ref{gaussthm} You will have to run L

AT

EX twice!

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 47 / 50

slide-48
SLIDE 48

Specialized Applications Beamer

Presentations with Beamer

Why use Beamer? Just as full-featured as PowerPoint, OpenOffice.org Impress, etc. Easy to get going (it’s L

AT

EX!) Variety of predefined themes for professional presentations Math support Getting started \documentclass{beamer} frame environment

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 48 / 50

slide-49
SLIDE 49

Specialized Applications Beamer

New commands

Preamble \documentclass{beamer} \usetheme{CambridgeUS} sets theme \institute{CSAIL\\MIT} appears below author name Document body frame environment

\frametitle{} block environment

\titlepage makes a title slide (\maketitle is for handouts) \tableofcontents makes an outline slide \section, \subsection diminish in importance

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 49 / 50

slide-50
SLIDE 50

Where to Go from Here

Where to go from here

Further resources The Not So Short Introduction to L

AT

EX 2ε: www.ctan.org/tex-archive/info/lshort/english/lshort.pdf The L

AT

EX 2ε cheat sheet: www.stdout.org/~winston/latex/latexsheet.pdf A Short Math Guide for L

AT

EX: ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf The texdoc command

L

AT

EX on your own computer Linux: T EX Live (use your package manager) Mac OS: MacT EX: www.tug.org/mactex/ Windows: MikT EX: www.miktex.org/

Benjamin Barenblat (SIPB/MIT) Introduction to L

A

T EX January 12, 2011 50 / 50