Version 5.9.14

U

Underline text.

Child elements

A, B, Barcode, Br, Clip, Color, Fontface, ForAll, Frame, HSpace, I, Image, Loop, Math, NoBreak, Span, Sub, Sup, Switch, U, URL, Value

Parent elements

A, B, Case, Color, Fontface, ForAll, I, Li, Loop, NoBreak, Otherwise, Paragraph, Span, U, URL, Until, While

Attributes

class (text, optional)
CSS class for this element.
dashed (optional, CSS property: border-style, since version 2.3.61)
Use a dashed rule instead of a solid rule.
  • yes: Draw a dashed rule.
  • no: Draw a solid rule.
id (text, optional)
CSS id for this element.

CSS

In CSS selectors, this command is called u. Attributes marked “CSS property” can also be set with CSS; the attribute on the command takes precedence unless the CSS declaration is marked !important. The section CSS for layout commands describes further properties, precedence and inheritance.

Remarks

Currently doesn’t work with margin protrusion.

Example


<Record element="data">
  <PlaceObject>
    <Textblock>
      <Paragraph>
        <U><Value>Underlined text</Value></U>
      </Paragraph>
    </Textblock>
  </PlaceObject>
</Record>

      

See also

B, I, Paragraph, Text formatting