Quote:
Originally Posted by Solitaire1
This is why when I create my own ebooks using LibreOffice I don't insert extra line spaces via hard returns or line breaks, and I make Section Breaks their own paragraph style. If I need more space between the paragraphs I increase the space via the paragraph style. Now I format everything via styles, with the exception of small bits of text (like making words bold/italics).
I've used the EPUB conversion tool in LibreOffice and in Calibre and the results have not been good. The resulting ebooks have formatting that doesn't match the formatting of the original, such as double spaced text where it's supposed to be single spaced, first-line indents where they weren't supposed to be, different text sizes with paragraphs that are supposed to the same size, and section breaks missing the horizontal rule that was in the original. However, when I render the same ebooks as PDFs they are perfect, looking exactly as intended.
|
If you do decide to use space as a section break, do not use a margin. using padding. All you need to use is the following..
Code:
.sectionbreak {
padding-top: 1.5em;
text-indent: 0;
}
That will be the class for the paragraph under the section break space. The reason for padding is that if the section break falls at the bottom or top of the page, the space could be swallowed. But the padding should stay in tact.