Creating custom styles
You have seen that the Styles and Formatting window provides several predefined styles, such as Heading 1 and Text body. But what if you need something different, like a poem style, that is not in Styles and Formatting? With OpenOffice.org you can make your own styles to suit your needs.
In this section, we will create a Poem paragraph style, and a Poem Header paragraph style, with the following properties:
Poem: Centered, with font-size 10.
PoemHeading: Centered, bold, with font-size 12.
In addition, a PoemHeading is to be followed by a Poem. In other words, when you press Enter, the style changes to Poem.
The keen reader may have noticed this behavior already. After you type a heading and press Enter, the style switches back to Text body.