Tag Definition: li
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 |
|
style |
implied |
None |
|
value |
implied |
None |
|
Can contain |
Purpose
This lets you declare a list item. Use alongside an ordered list or unordered list. Style elements you can apply to the parent elements can also be applied to these list items. You may wish to use a listStyle for consistency.
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.