Quote:
Originally Posted by AlexBell
I'm working on an epub ebook which in each of its 18 books and 208 chapters has a 'preface' of several words or a few sentences. The text of the 'preface' is centered, often using several lines, and quite often the last word on a line breaks, and is hyphenated. I think this looks awful.
Is there a way to prevent all of the words in the centered text from breaking? A word at the end of a line which would otherwise break will then drop to the next line.
I know how to prevent a single word from breaking and hyphenating. But I really don't want to have to apply this markup to all or most of the words in each of the 226 'prefaces'.
|
However, if the last word fully splits off to the next line, you could end up with gaps depending on the text size and the length of the word. excessive gaps and also look awful. Much more so then a hyphen.