L T A A brief tour David Griffiths Mathematics Division - - PowerPoint PPT Presentation

l t
SMART_READER_LITE
LIVE PREVIEW

L T A A brief tour David Griffiths Mathematics Division - - PowerPoint PPT Presentation

EX presentations with Prosper L T A A brief tour David Griffiths Mathematics Division University of Dundee L A T EX presentations with Prosper p. 1/16 Introduction The PROSPER package has been written by Frdric Goualard, CWI,


slide-1
SLIDE 1

L

A

T EX presentations with Prosper

A brief tour

David Griffiths Mathematics Division University of Dundee

L A T EX presentations with Prosper – p. 1/16

slide-2
SLIDE 2

Introduction

  • The PROSPER package has been written by Frédéric Goualard, CWI, The

Netherlands. These slides have been based on his document prosper-tour.tex as well as the manual.

  • Press on CTRL-L to go to/leave full screen view.
  • Curious? Want to go directly to the last page? Click here.
  • Prev

Next

L A T EX presentations with Prosper – p. 2/16

slide-3
SLIDE 3

Preamble

The basic structure of the document is much like any other, with some some environments redefined and some new ones. \documentclass[Options]{prosper}

L A T EX presentations with Prosper – p. 3/16

slide-4
SLIDE 4

Preamble

The basic structure of the document is much like any other, with some some environments redefined and some new ones. \documentclass[Options]{prosper} Options final, draft total, nototal slideBW, slideColor colorBG, nocolorBG ps, pdf azure, lignesbleues, contemporain nuancegris, troispoints, frames your own style, ...

L A T EX presentations with Prosper – p. 3/16

slide-5
SLIDE 5

Preamble

The basic structure of the document is much like any other, with some some environments redefined and some new ones. The green lines are optional. \documentclass[Options]{prosper} \title {Title of Presentation} \subtitle {optional} \author {Names of authors} \institution {Your institution} \slideCaption {Text for caption}

L A T EX presentations with Prosper – p. 3/16

slide-6
SLIDE 6

Preamble

The basic structure of the document is much like any other, with some some environments redefined and some new ones. The green lines are optional. \documentclass[Options]{prosper} \title {Title of Presentation} \subtitle {optional} \author {Names of authors} \institution {Your institution} \slideCaption {Text for caption} \begin{document} \maketitle \begin{slide}{Slide title} . . . \end{slide} . . . \begin{slide}{Slide title} . . . \end{slide} \end{document}

L A T EX presentations with Prosper – p. 3/16

slide-7
SLIDE 7

Processing L

A

T EX Files

Process the L

A

T EX file with the commands: latex file dvips -o file.ps file ps2pdf file.ps file.pdf and then view the file with acroread.

L A T EX presentations with Prosper – p. 4/16

slide-8
SLIDE 8

Processing L

A

T EX Files

Process the L

A

T EX file with the commands: latex file dvips -o file.ps file ps2pdf file.ps file.pdf and then view the file with acroread. If all your graphics files are jpegs, then you may be able to create a pdf file directly with pdflatex file

L A T EX presentations with Prosper – p. 4/16

slide-9
SLIDE 9

Overlays

The commands available to introduce material step by step are:

  • \fromSlide{n}{text} : puts text on slide n onwards.

L A T EX presentations with Prosper – p. 5/16

slide-10
SLIDE 10

Overlays

The commands available to introduce material step by step are:

  • \fromSlide{n}{text} : puts text on slide n onwards.
  • \onlySlide{n}{text} : puts text on slide n only.

L A T EX presentations with Prosper – p. 5/16

slide-11
SLIDE 11

Overlays

The commands available to introduce material step by step are:

  • \fromSlide{n}{text} : puts text on slide n onwards.
  • \onlySlide{n}{text} : puts text on slide n only.
  • \untilSlide{n}{text}: puts text on slides 1 . . . n only.

L A T EX presentations with Prosper – p. 5/16

slide-12
SLIDE 12

Overlays

The commands available to introduce material step by step are:

  • \fromSlide{n}{text} : puts text on slide n onwards.
  • \onlySlide{n}{text} : puts text on slide n only.
  • \untilSlide{n}{text}: puts text on slides 1 . . . n only.
  • \FromSlide{n}: all succeeding text on slide n onwards.

L A T EX presentations with Prosper – p. 5/16

slide-13
SLIDE 13

Overlays

The commands available to introduce material step by step are:

  • \fromSlide{n}{text} : puts text on slide n onwards.
  • \onlySlide{n}{text} : puts text on slide n only.
  • \untilSlide{n}{text}: puts text on slides 1 . . . n only.
  • \FromSlide{n}: all succeeding text on slide n onwards.
  • \OnlySlide{n}: all succeeding text on slide n only.

L A T EX presentations with Prosper – p. 5/16

slide-14
SLIDE 14

Overlays

The commands available to introduce material step by step are:

  • \fromSlide{n}{text} : puts text on slide n onwards.
  • \onlySlide{n}{text} : puts text on slide n only.
  • \untilSlide{n}{text}: puts text on slides 1 . . . n only.
  • \FromSlide{n}: all succeeding text on slide n onwards.
  • \OnlySlide{n}: all succeeding text on slide n only.
  • \UntilSlide{n}: all succeeding text on slides 1 . . . n only.

L A T EX presentations with Prosper – p. 5/16

slide-15
SLIDE 15

Overlays

The commands available to introduce material step by step are:

  • \fromSlide{n}{text} : puts text on slide n onwards.
  • \onlySlide{n}{text} : puts text on slide n only.
  • \untilSlide{n}{text}: puts text on slides 1 . . . n only.
  • \FromSlide{n}: all succeeding text on slide n onwards.
  • \OnlySlide{n}: all succeeding text on slide n only.
  • \UntilSlide{n}: all succeeding text on slides 1 . . . n only.

One has to specify the number of overlays when starting a slide: \overlays{N}{% for N overlays \begin{slide}{Slide title} . . . \end{slide}}

L A T EX presentations with Prosper – p. 5/16

slide-16
SLIDE 16

An example of Overlays

This uses five overlays, each separate equations . . . d dx x + 3 (x − 1)2 =

L A T EX presentations with Prosper – p. 6/16

slide-17
SLIDE 17

An example of Overlays

This uses five overlays, each separate equations . . . d dx x + 3 (x − 1)2 = (x − 1)2 − 2(x + 3)(x − 1) (x − 1)4

L A T EX presentations with Prosper – p. 6/16

slide-18
SLIDE 18

An example of Overlays

This uses five overlays, each separate equations . . . d dx x + 3 (x − 1)2 = (x − 1)2 − 2(x + 3)(x − 1) (x − 1)4

L A T EX presentations with Prosper – p. 6/16

slide-19
SLIDE 19

An example of Overlays

This uses five overlays, each separate equations . . . d dx x + 3 (x − 1)2 = (x − 1)2 − 2(x + 3)(x − 1) (x − 1)4 = (x − 1)((x − 1) − 2(x + 3)) (x − 1)4

L A T EX presentations with Prosper – p. 6/16

slide-20
SLIDE 20

An example of Overlays

This uses five overlays, each separate equations . . . d dx x + 3 (x − 1)2 = (x − 1)2 − 2(x + 3)(x − 1) (x − 1)4 = (x − 1)((x − 1) − 2(x + 3)) (x − 1)4 = ((x − 1) − 2(x + 3)) (x − 1)3 = − x + 7 (x − 1)3 Overlays do not seem to perform satisfactorily with more sophisticated environments such as align and gather.

L A T EX presentations with Prosper – p. 6/16

slide-21
SLIDE 21

Code For Overlayed Equations

lhs =

L A T EX presentations with Prosper – p. 7/16

slide-22
SLIDE 22

Code For Overlayed Equations

lhs = rhs

L A T EX presentations with Prosper – p. 7/16

slide-23
SLIDE 23

Code For Overlayed Equations

lhs = rhs = rhs2

L A T EX presentations with Prosper – p. 7/16

slide-24
SLIDE 24

Code For Overlayed Equations

lhs = rhs = rhs2 The code for this example is: \begin{eqnarray*} \onlySlide*{1}{lhs & = & \phantom{rhs 2} % the longest rhs}\\} \fromSlide*{2}{lhs & = & rhs \phantom{2}\\} \fromSlide*{3}{\phantom{lhs} & = & rhs 2\\} \end{eqnarray*} The starred versions of the commands are used because they use replacement. Note the use of \phantom{ . . . } which allocates space for its argument but does not print it.

L A T EX presentations with Prosper – p. 7/16

slide-25
SLIDE 25

Stepped Bullet Lists

Creating a list with “itemstep” environment

  • First line

is not very inspired

L A T EX presentations with Prosper – p. 8/16

slide-26
SLIDE 26

Stepped Bullet Lists

Creating a list with “itemstep” environment

  • First line
  • Second line

is not very inspired

L A T EX presentations with Prosper – p. 8/16

slide-27
SLIDE 27

Stepped Bullet Lists

Creating a list with “itemstep” environment

  • First line
  • Second line
  • Third line

is not very inspired — both come in on the 3rd overlay.

L A T EX presentations with Prosper – p. 8/16

slide-28
SLIDE 28

Stepped Bullet Lists

Creating a list with “itemstep” environment

  • First line
  • Second line
  • Third line

is not very inspired — both come in on the 3rd overlay. The 4th layer is the code: \overlays{4}{% \begin{slide}[R]{Stepped Bullet Lists} Creating a list with {\blue “itemstep”} environment \begin{itemstep} \item First line \item Second line \item Third line \end{itemstep} is not very inspired \fromSlide*{3}{-- {\red both come in on the 3rd overlay}.} \bigskip \fromSlide*{4}{% . . . } \end{slide}}

L A T EX presentations with Prosper – p. 8/16

slide-29
SLIDE 29

Diagrams

A small diagram with a few lines of L

A

T EX. (X − A, N − A) ( ˜ ˜ X, a) (X, N) ( ˜ ˜ X, N) a r b s

L A T EX presentations with Prosper – p. 9/16

slide-30
SLIDE 30

Diagrams

A small diagram with a few lines of L

A

T

  • EX. Since the diagram and the text are at the same

level, there is no difficulty to add some link from one to another using PSTRICKS (X − A, N − A) ( ˜ ˜ X, a) (X, N) ( ˜ ˜ X, N) a r b s

L A T EX presentations with Prosper – p. 9/16

slide-31
SLIDE 31

Transitions

Prosper offers seven transitions between slides:

  • Split;

L AT EX presentations with Prosper – p. 10/16

slide-32
SLIDE 32

Transitions

Prosper offers seven transitions between slides:

  • Split;
  • Blinds;

L AT EX presentations with Prosper – p. 10/16

slide-33
SLIDE 33

Transitions

Prosper offers seven transitions between slides:

  • Split;
  • Blinds;
  • Box;

L AT EX presentations with Prosper – p. 10/16

slide-34
SLIDE 34

Transitions

Prosper offers seven transitions between slides:

  • Split;
  • Blinds;
  • Box;
  • Wipe; the one used on this slide

L AT EX presentations with Prosper – p. 10/16

slide-35
SLIDE 35

Transitions

Prosper offers seven transitions between slides:

  • Split;
  • Blinds;
  • Box;
  • Wipe; the one used on this slide
  • Dissolve;

L AT EX presentations with Prosper – p. 10/16

slide-36
SLIDE 36

Transitions

Prosper offers seven transitions between slides:

  • Split;
  • Blinds;
  • Box;
  • Wipe; the one used on this slide
  • Dissolve;
  • Glitter;

L AT EX presentations with Prosper – p. 10/16

slide-37
SLIDE 37

Transitions

Prosper offers seven transitions between slides:

  • Split;
  • Blinds;
  • Box;
  • Wipe; the one used on this slide
  • Dissolve;
  • Glitter;
  • Replace. The default

L AT EX presentations with Prosper – p. 10/16

slide-38
SLIDE 38

Transitions

Prosper offers seven transitions between slides:

  • Split;
  • Blinds;
  • Box;
  • Wipe; the one used on this slide
  • Dissolve;
  • Glitter;
  • Replace. The default

They are invoked by an optional argument to the slide environment: \begin{slide}[Wipe]{Transitions} . . . \end{slide}

L AT EX presentations with Prosper – p. 10/16

slide-39
SLIDE 39

Some PSTricks

Any practical use for this? ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS

L AT EX presentations with Prosper – p. 11/16

slide-40
SLIDE 40

Some PSTricks

Any practical use for this? ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–ICMS–IC ICMS–ICMS–ICMS–ICMS–ICMS–ICMS

  • r this ...

I C M S – I C M S – I C M S – I C M S – I C M S – I C M S – I C M S – I C M S – I C M S – I C M S – I C M

L AT EX presentations with Prosper – p. 11/16

slide-41
SLIDE 41

Householder formula

The Householder formula below lets you compute f−1(x) for an arbitrary f. xk+1 → Φn(xk) = xk + (n − 1)

  • 1

f(xk)

n−2

1 f(xk)

n−1 + f(xk)n+1 ψ

(1)

L AT EX presentations with Prosper – p. 12/16

slide-42
SLIDE 42

Householder formula

The Householder formula below lets you compute f−1(x) for an arbitrary f. xk+1 → Φn(xk) = xk + (n − 1)

  • 1

f(xk)

n−2

1 f(xk)

n−1 + f(xk)n+1 ψ

(2) where n ≥ 2 and ψ is an arbitrary function.

L AT EX presentations with Prosper – p. 12/16

slide-43
SLIDE 43

Householder formula

The Householder formula below lets you compute f−1(x) for an arbitrary f. xk+1 → Φn(xk) = xk + (n − 1)

  • 1

f(xk)

n−2

1 f(xk)

n−1 + f(xk)n+1 ψ

(3) where n ≥ 2 and ψ is an arbitrary function. Formula (1) gives an iteration of order n converging towards x∗ such that: f(x∗) = 0.

L AT EX presentations with Prosper – p. 12/16

slide-44
SLIDE 44

Householder Code

This slide has 3 overlays and the relevant parts that use PSTRICKS are \[ . . . \fromSlide*{2}{% \rnode{NA}{\pscirclebox[linecolor=red]{\psi}}} \onlySlide*{1}{% \rnode{NA}{\pscirclebox[linecolor=red,linestyle=none]{\psi}}} \] \FromSlide{2}% where $n\geq 2$ and \rnode{NB}{$\psi$} is an arbitrary function. \fromSlide*{3}{% \nccurve[linecolor=red,angleA=90,angleB=270]{->}{NB}{NA}}

L AT EX presentations with Prosper – p. 13/16

slide-45
SLIDE 45

Overlaps of colors

Intersection of sets. First the yellow one . . .

L AT EX presentations with Prosper – p. 14/16

slide-46
SLIDE 46

Overlaps of colors

Intersection of sets. First the yellow one . . . Then the blue one.

L AT EX presentations with Prosper – p. 14/16

slide-47
SLIDE 47

Overlaps of colors

Intersection of sets. First the yellow one . . . Then the blue one. Remember how to do that with MS PowerPoint?

L AT EX presentations with Prosper – p. 14/16

slide-48
SLIDE 48

Movies

We can run a movie that has the format of an avi file with the command \href{run:moviefile.avi}{Start Animation}

L AT EX presentations with Prosper – p. 15/16

slide-49
SLIDE 49

Movies

We can run a movie that has the format of an avi file with the command \href{run:moviefile.avi}{Start Animation} This one was created from the example in Matlab (help avifile) and it can be started by clicking the red text: Start Animation

L AT EX presentations with Prosper – p. 15/16

slide-50
SLIDE 50

Last slide

This is the last slide. Do you want to go to the second one? Start Animation

L AT EX presentations with Prosper – p. 16/16