32.4 Slideshow Presentations
(require unstable/gui/slideshow) |
This module also exports everything provided by unstable/gui/pict.
32.4.1 Text Formatting
syntax
(with-size size expr)
syntax
(with-scale scale expr)
syntax
(with-font font expr)
syntax
(with-style style expr)
syntax
(bold text)
syntax
(italic text)
syntax
(subscript text)
syntax
(superscript text)
syntax
(caps text)
32.4.2 Tables
procedure
(tabular row ... [ #:gap gap #:hgap hgap #:vgap vgap #:align align #:halign halign #:valign valign]) → pict? row : (listof (or/c string? pict?)) gap : natural-number/c = gap-size hgap : natural-number/c = gap vgap : natural-number/c = gap
align : (->* [] [] #:rest (listof pict?) pict?) = lbl-superimpose halign : (->* [] [] #:rest (listof pict?) pict?) = align valign : (->* [] [] #:rest (listof pict?) pict?) = align
32.4.3 Multiple Columns
syntax
(two-columns one two)
procedure
(mini-slide pict ...) → pict?
pict : pict?
syntax
(column width body ...)
procedure
(column-size n [r]) → real?
n : exact-positive-integer? r : real? = (/ n)
32.4.4 Staged Slides
syntax
(staged [name ...] body ...)
syntax
syntax
syntax
(slide/staged [name ...] arg ...)
Within a staged slide, the boolean arguments to hide, show, strike, and shade can be used to determine in which stages to perform a transformation. The macros pict-if, pict-cond, pict-case, and pict-match may also be used to create images which change naturally between stages.
32.4.5 Revealing Slides
The subsequent bindings were added by Jon Rafkind.
syntax
(reveal number expr ...)
syntax
(revealing-slide expr ...)
(revealing-slide (hc-append (reveal 0 (t "I show up first")) (reveal 1 (t "I show up second"))) (reveal 1 (t "I also show up second")))
syntax
(items-slide (name ...) expr ...)
(items-slide ("item1" "item2" "item3") (reveal 0 (t "I will show up for item1")) (reveal 1 (t "I will show up for item2")) (reveal 2 (t "I will show up for item3")))
32.4.6 Miscellaneous Slide Utilities
The subsequent bindings were added by Scott Owens.
procedure
(blank-line) → pict?