Version 5.9.7

Ul

The name of the font family for the paragraph. The default is “text” (lowercase t).

Child elements

ForAll, Li

Parent elements

Li, SetVariable, Text, Textblock

Attributes

class (text, optional, since version 5.9.7)
CSS class of the list. The rules for ul and li::marker in the stylesheet are applied (list-style-type, list-style-position, padding-left, color, for the marker content, color and padding-right).
color (text, optional, since version 5.9.7)
Color of the marker and the text. Must be defined with DefineColor before use.
fontfamily (text, optional, since version 4.3.1)
Font family of the marker and the text. Without this attribute the marker uses the font family “text” and the text inherits the font of the surrounding text block.
id (text, optional, since version 5.9.7)
CSS id of the list.
label-align (optional, since version 5.9.7)
Alignment of the marker within the width given by label-width. Default is right.
  • left: The marker starts at the left edge.
  • right: The marker ends at the distance label-distance before the text.
label-distance (length, optional, since version 5.9.7)
Horizontal distance between the marker and the text (for right aligned markers). Default is 4pt.
label-width (length, optional, since version 5.9.7)
Width reserved for the marker to the left of the text. The text of all lines starts after this width. Default is 5mm.
marker (text, optional, since version 5.9.7)
The marker of the list items: any text or one of disc, circle, square or none. Without this attribute nested lists use disc, circle and square in turn.
padding-left (length, optional, since version 5.9.7)
Additional indentation of the whole list including the marker.
textformat (text, optional, since version 5.9.7)
Name of the textformat for the list items, for example to set the vertical spacing or the alignment. Without this attribute the textformat of the surrounding text block is used.

Example

<PlaceObject>
  <Textblock>
    <Ul marker="–" label-width="4mm">
      <Li><Value>First item</Value></Li>
      <Li>
        <Value>Second item with a nested list</Value>
        <Ul>
          <Li><Value>Nested item</Value></Li>
          <Li><Value>Nested item</Value></Li>
        </Ul>
      </Li>
      <Li><Value>Third item</Value></Li>
    </Ul>
  </Textblock>
</PlaceObject>

See also

Ol, Li, Enumeration lists