On this page:
figure-style-extras
figure
figure*
figure**
Figure-target
Figure-ref
Version: 4.2.1

2 Figures

 (require scriblib/figure)

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-content ...)  block?
  tag : string?
  caption : any/c
  pre-content : any/c
(figure* tag caption pre-content ...)  block?
  tag : string?
  caption : any/c
  pre-content : any/c
(figure** tag caption pre-content ...)  block?
  tag : string?
  caption : any/c
  pre-content : any/c
Creates a figure. The given tag is for use with Figure-ref. The caption is an element. The pre-content 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-target tag)  element?
  tag : string?
Generates a new figure label – normally not used directly, since it is used by figure.

(Figure-ref tag)  element?
  tag : string?
Generates a reference to a figure.