▼ |  | Scriblib: Extra Scribble Libraries

1 | Writing Examples with Pict Results
2 | Figures
3 | Bibliographies
4 | Footnotes

On this page:

figure-style-extras
figure
figure*
figure**
figure-ref
Figure-ref
Figure-target

Version: 5.0.2
top ← prev up next →

### 2`` Figures

( require scriblib/figure )

(figure-style-extras) → list?

Include the content of the result list in the style of a document part that includes all figures. These style extras pull in HTML and Latex rendering support.

( figure tag caption pre-flow ...) → block?
tag : string?
caption : content?
pre-flow : pre-flow?

( figure* tag caption pre-flow ...) → block?
tag : string?
caption : content?
pre-flow : pre-flow?

( figure** tag caption pre-flow ...) → block?
tag : string?
caption : content?
pre-flow : pre-flow?

Creates a figure. The given tag is for use with figure-ref or Figure-ref. The caption is an element. The pre-flow is decoded as a flow.

For HTML output, the figure* and figure* functions center the figure content, while figure** allows the content to be wider than the document body.

For two-column latex output, figure* and figure** generate a figure that spans columns.

( figure-ref tag) → element?
tag : string?

Generates a reference to a figure, using a lowercase word “figure”.

( Figure-ref tag) → element?
tag : string?

Generates a reference to a figure, capitalizing the word “Figure”.

( Figure-target tag) → element?
tag : string?

Generates a new figure label. This function is normally not used directly, since it is used by figure.
top ← prev up next →