1.4

This topic explains how to apply local formatting to text. It is recommended though, to format
text using style sheets; see "Styling and formatting" on page 217 and "Styling templates with
CSS files" on page 219.
Formatting text and paragraphs locally
An intuitive way of formatting text locally is by using the toolbar buttons: select some text, or an
element that contains text (see: "Selecting an element" on page 76) and click one of the toolbar
buttons to make it bold, center it, create a numbered or bulleted list, etc.
To quickly change a paragraph into a Heading, Address or Pre element, select the paragraph
(see: "Selecting an element" on page 76) and on the Format menu, select the appropriate
element.
More local formatting options are available in the Formatting dialogs; see below.
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: see also: "Fonts" on page 239. 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: this the color of the text. Select a named font color as defined in the Edit
Colors dialog (see "Colors" on page 235) or click the colored square to create a
new color or to enter a color manually. The color value must be a valid HTML color
name or hexadecimal color code. This setting is equivalent to the color property in
CSS.
l
Background color: this is the background color of the text. Select a named font
color as defined in the Edit Colors dialog (see "Colors" on page 235) or click the
colored square to create a new color or to enter a color value manually. a valid
HTML color name or hexadecimal color code. 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.
Page 227