2022.1

Table Of Contents
Formatting text
To open the Text Formatting dialog, select some text and then select Format > Text. In the Text
Formatting dialog you can set:
l The font, font size, color and background color:
l Font: Select the font used to display text. See also: "Fonts" on page823. This is
equivalent to setting the font-family property in CSS.
l Font size. Enter the size in a measure, named size or percentage. This is
equivalent to setting the font-size property in CSS.
l Color: Specify the color of the text: select a named color (defined in the "Colors
Properties" on page1017) from the drop-down, or click the colored square to open
the Color Picker dialog ("Color Picker" on page1017). Alternatively you could type
a name or value in the Color field directly. It must be a predefined CSS color name
(CSS color names), a hexadecimal color code (HTML Hex Color), an RGB color
value, for example rgb(216,255,170) or a CMYK color value, for example cmyk
(15%, 0%, 33%, 0%).
This setting is equivalent to the color property in CSS.
l Background color: Specify the background color of the text: select a named color
(defined in the "Colors Properties" on page1017) from the drop-down, or click the
colored square to open the Color Picker dialog ("Color Picker" on page1017).
Alternatively you could type a name or value in the Color field directly. It must be a
predefined CSS color name (CSS color names), a hexadecimal color code (HTML
Hex Color), an RGB color value, for example rgb(216,255,170) or a CMYK color
value, for example cmyk(15%, 0%, 33%, 0%).
This setting is equivalent to the background-color property in CSS.
l The spacing between letters and words and the way the text is wrapped:
l Letter Spacing: The space between characters in a text in measure or percentage.
This is equivalent to the letter-spacing property in CSS.
l Word Spacing: Set the space between each word in a text in measure or
percentage. This is equivalent to the word-spacing property in CSS.
l Whitespace: Specify how the text wraps. See CSS White-Space for details. This is
equivalent to the white-space property in CSS.
l The style of the text. Check any option to apply the selected style to text within the
element. This list shows the CSS property and value for each of the options:
l Bold: Sets the font-weight to 700.
l Italic: Sets the font-style to italic.
Page 800