The figure markup shown below produces floating
figures. Well, whether the figure is really ``floating'' depends on the
engine used (see Chapter 13): printed
output as produced by the lout and latex engines do
produce floating figures, but on-line output as produced by the html engine does not.
| prototype |
(figure [:multicolumns] [:number #t] [:legend] [:class "figure"] [:ident] body) |
| :ident | html lout latex context xml | The node identifier. |
| :class | html lout latex context xml | The node class. |
| :legend | html lout latex context | The legend of the figure. If no :ident is
provided to the figure, it uses the legend value as an
identifier. In consequence, it is possible to use the
:legend value in
references. |
| :number | html lout latex context | If the optional argument :number is a number,
that number is used as the new Scribe compiler figure
counter. If it is #t the compiler automatically
sets a number for that figure. If it is #f the
figure is numberless. |
| :multicolumns | html lout latex context | A boolean that indicates, for back-ends
supporting multi-columns rendering (e.g., "TeX"), if the figure
spans over all the columns. |
body | The body of the figure. |
ref document |
Ex. 14: The figure markup
| Skribe is a functional programming language. |
Fig. : This is a unnumbered figure

Fig. 1: The great Penguin
3.11.1 List of Figures
Skribilo has no built-in facility to display the list of figures.
Instead, it provides a general machinery for displaying any kind of
lists of items contained in a document. This is described in the
section [?section Resolve: ./figure.skb:64:] and Introspection. For the sake of simplicity, an example showing how to
display the list of figures of a document is included below.
Ex. 15: The figure markup
... produces: