Skip to content

Tag Definition: ul

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

bulletAlign

implied

None

bulletColor

implied

None

bulletDedent

implied

None

bulletDir

implied

None

bulletFontName

implied

None

bulletFontSize

implied

None

bulletFormat

implied

None

bulletOffsetY

implied

None

bulletType

implied

None

leftIndent

implied

None

rightIndent

implied

None

spaceAfter

implied

None

spaceBefore

implied

None

start

implied

None

style

implied

None

Can contain
(li*)

Purpose

This lets you declare an unordered list. Unlike ol the bullet type cant be changed but it's alignment and colours can be. You may wish to use a listStyle for consistency.

To change the bullet symbol you can alter the "start" attribute

Check out our docs page on this.

Example usage

Simple example:

<story>
    <ul>
        <li><para>Item 1</para></li>
        <li><para>Item 2</para></li>
    </ul>
</story>

Detailed example:

<story>
    <ul bulletOffsetY="-4" bulletColor="red" bulletFontName="Times-Roman" bulletFontSize="5" rightIndent="10">
        <li bulletColor="blue" bulletFontName="Helvetica">
            <para>unordered 1</para>
        </li>
        <li>
            <para>unordered 2</para>
        </li>
    </ul>
</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> ➔ <ul>