Skip to content

Tag Definition: stylesheet

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

Can contain
(initialize?, (paraStyle | boxStyle | blockTableStyle | listStyle)*)*

Purpose

The parent structure for styles used for tables and paragraphs

Check out our docs page on how this works in the open source for reference.

Example usage

<stylesheet>
    <paraStyle name="normal" fontName="Helvetica" fontSize="10" leading="12"/>
    <blockTableStyle id="yellow_table" spaceAfter="0.5 cm">
        <blockBackground colorName="yellow" start="0,0" stop="-1,-1"/>
    </blockTableStyle>
</stylesheet>
<story>
    <para style="normal">Para style example</para>
    <blockTable style="yellow_table">
        <tr>
            <td>Table style example</td>
        </tr>
    </blockTable>
</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> ➔ <stylesheet>