6.1
4 Slideshow Presentations
Link to this section with
@secref["Slideshow_Presentations"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
Link to this section with
@secref["Slideshow_Presentations"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
This module also exports everything provided by
unstable/gui/pict.
4.1 Text Formatting
Link to this section with
@secref["Text_Formatting"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
Link to this section with
@secref["Text_Formatting"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
Adds the attributes for bold, italic, superscript, subscript, or small caps
text, respectively, to
current-main-font while running
text.
4.2 Tables
Link to this section with
@secref["Tables" #:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
Link to this section with
@secref["Tables" #:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
Constructs a table containing the given
rows, all of which must be of
the same length. Applies
t to each string in a
row to
construct a pict. The
hgap,
vgap,
halign, and
valign are used to determine the horizontal and vertical gaps and
alignments as in
table (except that every row and column is uniform).
4.3 Multiple Columns
Link to this section with
@secref["Multiple_Columns"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
Link to this section with
@secref["Multiple_Columns"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
Constructs a two-column pict using
one and
two as the two
columns. Sets
current-para-width appropriately in each column.
Appends each
pict vertically with space between them, similarly to the
slide function.
Combines each pict horizontally, aligned at the top, with space in
between.
Computes the width of one column out of
n that takes up a ratio of
r of the available space (according to
current-para-width).
4.4 Staged Slides
Link to this section with
@secref["Staged_Slides"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
Link to this section with
@secref["Staged_Slides"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
Executes the
body terms once for each stage
name. The terms
may include expressions and mutually recursive definitions. Within the body,
each
name is bound to a number from
1 to the number of stages
in order. Furthermore, during execution
stage is bound to the number
of the current stage and
stage-name is bound to a symbol representing
the
name of the current stage. By comparing
stage to the
numeric value of each
name, or
stage-name to quoted symbols of
the form
'name, the user may compute based on the progression of the
stages.
These keywords are bound during the execution of
staged and should not
be used otherwise.
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.
4.5 Revealing Slides
Link to this section with
@secref["Revealing_Slides"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
Link to this section with
@secref["Revealing_Slides"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
The subsequent bindings were added by Jon Rafkind.
Creates N slides where N is the maximum number given to a
reveal
expression as the first argument. Each slide has the current reveal number
incremented by one so progressive slides can reveal picts in that appear in
arbitrary places.
Creates N slides where N is the maximum number given to a
reveal
similar to
revealing-slide. Each slide will show the names on the left
hand side using right justification and only one reveal will be displayed on the
right. The order of the names will be matched with the current reveal number so
the first item will be displayed while the first reveal is displayed. Reveals
that are not active will have their corresponding items displayed but in a light
font so as to indicate inactivity.
(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"))) |
4.6 Miscellaneous Slide Utilities
Link to this section with
@secref["Miscellaneous_Slide_Utilities"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
Link to this section with
@secref["Miscellaneous_Slide_Utilities"
#:doc '(lib "unstable/scribblings/gui/unstable-gui.scrbl")]
The subsequent bindings were added by Scott Owens.
Adds a blank line of the current font size’s height.