An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is...

54
An Introduction to Mathematical Document Preparation with LaTeX Ray Cheng

Transcript of An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is...

Page 1: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

An Introduction to Mathematical

Document Preparation with

LaTeX

Ray Cheng

Page 2: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

What is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is based on TeX, created by Donald Knuth. LaTeX is not a text editor or word processor. There are many software programs that run LaTeX; they include freeware. Not to be confused with “latex.”

Page 3: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Command File vs. Output FIle

Page 4: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Paragraph Mode vs. Math Mode

Page 5: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

The Backslash \

Page 6: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Cast of Characters

Page 7: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Accents in Action

Page 8: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Getting Spaced

Page 9: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Getting Spaced, Part Deux

Page 10: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Sizes and Styles

Page 11: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

A Matter of Scale

Page 12: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Lining it Up

Page 13: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Quoted Text

Page 14: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is
Page 15: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Bullet Lists

Page 16: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Customized Bullets

Page 17: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Numbered Lists

Page 18: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Descriptive Lists

Page 19: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Put it on your tab

Page 20: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Benign Neglect

Page 21: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is
Page 22: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Math Mode

Page 23: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Formulas and Symbols

Page 24: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is
Page 25: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Math Displays

Page 26: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Arrays of Equations

Page 27: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

It’s All Greek to Me

Page 28: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Limitless Possibilities

Page 29: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

The Matrix

Page 30: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Lay it on the Table

Page 31: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Catch the Wave

Page 32: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

D.I.Y.

Page 33: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

The Article Class of Documents

Page 34: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

The Title Page

Page 35: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

The Abstract

Page 36: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Sections

Page 37: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Theorems and Such

Page 38: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Numbering Displayed Lines

Page 39: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Footnotes

Page 40: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

The Bibliography

Page 41: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Citations

Page 42: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

To Err is Human

Page 43: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Packages

Packages are extensions to LaTeX Many can be downloaded for free The package itself is a LaTeX command file saved in the document folder Packages offer additional commands, fonts, document classes, etc.

Page 44: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

“fullpage” - wider margins “amsmath” - more commands “graphics” - importing graphics

Page 45: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Put it to the Test

Page 46: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is
Page 47: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

By the Letter

Page 48: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Resources

www.latex-project.org www.ams.org H. Kopka and P. W. Daly, A Guide to LaTeX. Addison-Wesley: New York (1999). L. Lamport, LaTeX: A Document Preparation System. Addison-Wesley: New York (1994) http://www.lions.odu.edu/~hkaneko/GPD/Latex/frontpage.html

Page 49: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

At Old Dominion University

Ask the nice people from OCCS to install the software “MikTeX” on your office workstation. Do not install it yourself. In case of doubt, see last note.

Page 50: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

More Symbols...

Page 51: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

...and more symbols...

Page 52: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

...and yet more symbols...

Page 53: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

...we’ve got symbols out the wazoo!

Page 54: An Introduction to Document Preparation with LaTeXWhat is LaTeX? Written by Leslie Lamport. LaTeX is a programming language for high quality mathematical document preparation. It is

Fonts, too - don’t get me started on fonts!