When typesetting for print or ebook, styles are important. But what are they, and how do they help?
Just imagine the structure of your book for a minute. It’s probably something like
- chapter number
- chapter title
- first para flush left with a drop cap
- main text indented
- divider
- para flush left
- main text indented
And repeat for every chapter, as often as necessary.
Now imagine that you want to increase the size of the chapter title, or change the font of the main text. Without styles, you would need to go to each small chunk in turn and change the formatting on it. If you have two or three changes to make on each chunk, it could take some time. Even using format painter, it’s fiddly and there’s the danger of missing something.
Now consider using styles. Styles come in two stages – tell the text what style you want it to use, and tell the style how it needs to display the text. So you’ll set the Heading 1 style to the right font, point size and weight, and you’ll highlight the text and apply the Heading 1 style. You can do these two steps in either order.
Once you’ve been through the entire document, applying styles to everything, it’s just a matter of changing the settings for that particular style, and that will then be applied all the way through the document, wherever that style has been applied.
One additional benefit of using styles correctly is that an automatic Table of Contents can be generated, using the specified styles to pick out the links that are needed and automatically adding the correct page number. This can be updated as the layout of the book is altered.
It’s also possible to save a set of styles, so it’s easy to copy them over from one document to another, ensuring efficiency and consistency.