Skip to content

Tag Definition: figure

Generated by rlextra version 4.3.0a1

Attributes

Name

Required?

Default_Value

Values

align

implied

None

['center', 'centre', 'left', 'right', 'CENTER', 'CENTRE', 'LEFT', 'RIGHT']

caption

implied

None

captionAlign

implied

None

['center', 'centre', 'left', 'right', 'CENTER', 'CENTRE', 'LEFT', 'RIGHT']

captionColor

implied

None

captionFont

implied

None

captionGap

implied

None

captionPosition

implied

None

['top', 'bottom']

captionSize

implied

None

growToFit

implied

None

scaleFactor

implied

None

showBoundary

implied

None

shrinkToFit

implied

None

spaceAfter

implied

None

spaceBefore

implied

None

Can contain
((para | p)?, drawing)

Purpose

This lets you define a figure with which you can caption a drawing.

Example usage

<story>
    <figure caption="fig 1. An example BarChart">
        <drawing module="BarChart01" function="BarChart01"/>
    </figure>
</story>

Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.

Example of nesting path from the parent tags to the current tag

<document> ➔ <story> ➔ <figure>