3.11 Skribilo User Manual — Figures
Contents↑ Standard Markups

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.

(figure [:multicolumns] [:number #t] [:legend] [:class "figure"] [:ident] body)
:ident The node identifier. html lout latex context info xml
:class The node class. html lout latex context info xml
:legend 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. html lout latex context info
:number 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. html lout latex context info
:multicolumns A boolean that indicates, for back-ends supporting multi-columns rendering (e.g., "TeX"), if the figure spans over all the columns. html lout latex context info
body The body of the figure.
See also ref , document .
Ex. 15: 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:65:10:] and Introspection. For the sake of simplicity, an example showing how to display the list of figures of a document is included below.

Ex. 16: The figure markup

... produces:

(made with skribilo)