Initial

since version 2.9.7 Make some letters appear in a larger font at the beginning of the paragraph.

Child elements

Value

Parent elements

Case, ForAll, Loop, Otherwise, Paragraph, Until, While

Attributes

color (text, optional, since version 2.9.0)
Set the color of the initial. Defaults to black.
fontface (text)
Choose the font family. Only »Regular« shape is used at the moment.
padding-left (length, optional)
Insert space left of the initial.
padding-right (length, optional)
Insert space right of the initial.

Example

<Textblock>
  <Paragraph>
    <Initial fontface="Large" padding-right="2pt">
      <Value select="'A'"/>
    </Initial>
    <Value>certain king had a beautiful garden,
    and in the garden stood a tree which bore golden
    apples.</Value>
  </Paragraph>
</Textblock>
ref initial en

Info

Make sure you set the font face for the surrounding Paragraph to get the spacing right (it defaults to text).

See also