HSpace

Two modes: with a given width, the space takes up the given amount.

With no width given: create a horizontal stretching space. The space will take up no width as a minimum but is able to stretch up to infinity. Useful in single line contexts. In normal text there will surprising little stretching involved due to the global paragraph optimization algorithm. You will see that all other word spaces will have the minimum width and the excessive whitespace is accumulated at the strechable space.

Child elements

(none)

Parent elements

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

Attributes

leader (text, optional, since version 2.3.50)

The text that should be displayed instead of the space. For example a dot (.).

leader-width (length, optional, since version 2.3.50)

Distance between two leader text starting points

minwidth (length, optional, since version 3.3.5)

The (optional) minimum width of the inserted space.

width (length, optional)

Optional width of the space (a length).

Example

<PlaceObject>
  <Textblock>
    <Paragraph>
      <Value>Hello</Value><HSpace/><Value>World</Value>
    </Paragraph>
  </Textblock>
</PlaceObject>

See also

The section text formatting.