more with latex: tools for slides, graphics ... · and beyond: xy-pic, tikz, pstricks, and bibtex...

21
Slides and presentations with beamer Grapics with ipe And beyond: XY-Pic, tikz, PSTricks, and BIBT E X More with L A T E X: Tools for slides, graphics, bibliographies, and all that Kyle M. Ormsby Massachusetts Institute of Technology October 7, 2011 Kyle M. Ormsby More with L A T E X

Upload: others

Post on 12-Aug-2020

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

More with LATEX:Tools for slides, graphics, bibliographies, and

all that

Kyle M. Ormsby

Massachusetts Institute of Technology

October 7, 2011

Kyle M. Ormsby More with LATEX

Page 2: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Outline

1 Slides and presentations with beamer

2 Grapics with ipe

3 And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Kyle M. Ormsby More with LATEX

Page 3: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Outline

1 Slides and presentations with beamer

2 Grapics with ipe

3 And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Kyle M. Ormsby More with LATEX

Page 4: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Slide presentations: tool for good or necessary evil?

The good:• Distributable• Reusable• Simple• More info, less time

The bad:• Less dynamic• Go to the talk? I’ve got the slides!• Less time, more info

Kyle M. Ormsby More with LATEX

Page 5: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Slides in LATEX? There’s a documentclass for that.

The slides you’re viewing now were created with the beamerdocument class.

The beamer class supports:• All the usual LATEX fonts and symbols• LATEX label and citation referencing features• Automatic outlining• Customizable formatting

Best of all, output is a .pdf file you can display without specialsoftware!

Kyle M. Ormsby More with LATEX

Page 6: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Is it hard to use?

No.

The .tex file for this presentation is available on Stellar. Auseful guide is available atweb.mit.edu/rsi/www/pdfs/beamer-tutorial.pdf

Kyle M. Ormsby More with LATEX

Page 7: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

If it’s easy to make slides, then it’s easy to make agood presentation, right?

If only it were so simple.

When preparing a presentation, consider the following:• Pacing is paramount• There is no rewind• Who has the slides?• Assertion, evidence

Kyle M. Ormsby More with LATEX

Page 8: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

The rationals have gaps

• The rationals don’t have the least upper bound property.• Cauchy sequences of rationals need not converge in the

rationals.

(This is an example of an assertion-evidence slide.)

Kyle M. Ormsby More with LATEX

Page 9: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Displaying information gradually

Sometimes \pause is especially useful:

For instance, perhaps first you want to introduce

DefinitionA sequence is a function a : N→ R.

And next you want to mention that we often think of sequencesas ordered lists of numbers

a1,a2,a3, . . . .

For distribution, change the first line of your .tex file to\documentclass[handout]{beamer} to omit overlaidslides.

Kyle M. Ormsby More with LATEX

Page 10: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Displaying information gradually

Sometimes \pause is especially useful:

For instance, perhaps first you want to introduce

DefinitionA sequence is a function a : N→ R.

And next you want to mention that we often think of sequencesas ordered lists of numbers

a1,a2,a3, . . . .

For distribution, change the first line of your .tex file to\documentclass[handout]{beamer} to omit overlaidslides.

Kyle M. Ormsby More with LATEX

Page 11: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Displaying information gradually

Sometimes \pause is especially useful:

For instance, perhaps first you want to introduce

DefinitionA sequence is a function a : N→ R.

And next you want to mention that we often think of sequencesas ordered lists of numbers

a1,a2,a3, . . . .

For distribution, change the first line of your .tex file to\documentclass[handout]{beamer} to omit overlaidslides.

Kyle M. Ormsby More with LATEX

Page 12: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Displaying information gradually

Sometimes \pause is especially useful:

For instance, perhaps first you want to introduce

DefinitionA sequence is a function a : N→ R.

And next you want to mention that we often think of sequencesas ordered lists of numbers

a1,a2,a3, . . . .

For distribution, change the first line of your .tex file to\documentclass[handout]{beamer} to omit overlaidslides.

Kyle M. Ormsby More with LATEX

Page 13: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

An important note

Compile beamer presentations with pdflatex instead oflatex.

Kyle M. Ormsby More with LATEX

Page 14: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Outline

1 Slides and presentations with beamer

2 Grapics with ipe

3 And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Kyle M. Ormsby More with LATEX

Page 15: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Easy + Easy 6= Easy

With LATEX, it’s easy to:• produce symbolic notation• include figures with \includegraphics.

It’s hard to:• label your figures with LATEX symbols!

Kyle M. Ormsby More with LATEX

Page 16: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

One solution:

ipe

Check out http://ipe7.sourceforge.net/

Kyle M. Ormsby More with LATEX

Page 17: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Outline

1 Slides and presentations with beamer

2 Grapics with ipe

3 And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Kyle M. Ormsby More with LATEX

Page 18: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Other graphics solutions

• PSTricks• Write PostScript code inside of LATEX documents.

• XY-Pic• Object-oriented drawing language• xymatrix is perhaps the easiest way to produce

commutative diagrams• tikz

• Vector graphics macros on top of PGF.

The LATEX Graphics Companion by Goossens, Rahtz, andMittelbach is an excellent reference.

Kyle M. Ormsby More with LATEX

Page 19: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

An xymatrix example

A //

��

X

��

��

Y //

,,

X ∪A Y∃!

##Z

Kyle M. Ormsby More with LATEX

Page 20: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

Advanced bibliographies with BIBTEX

With BIBTEX, you can have• One database of bibliographic references,• Many bibliographies.

Pro tip: To automatically generate BIBTEX database entries,look up the reference on MathSciNet, select BIBTEX from thedropdown menu, copy, and paste!

Kyle M. Ormsby More with LATEX

Page 21: More with LaTeX: Tools for slides, graphics ... · And beyond: XY-Pic, tikz, PSTricks, and BIBTEX More with LATEX: Tools for slides, graphics, bibliographies, and all that Kyle M

Slides and presentations with beamerGrapics with ipe

And beyond: XY-Pic, tikz, PSTricks, and BIBTEX

It’s always nice to conclude by saying. . .

Thank you

Kyle M. Ormsby More with LATEX