I am aware of the compatibility option “Add paragraph and table spacing at tops of pages” - with this disabled, if I have a style that calls for spacing above paragraph, that spacing is ignored if the heading is the first thing on a page (but the spacing appears if the heading appears in the middle of a page). I’m trying to understand if it’s possible for this spacing to be ignored at the top of a page for one style, but to always be used for a different style.
Here’s an example. I would like to use Heading 1 for Chapter Titles, and would like the title always to appear 1.5" from the top of the page margin. Normally I would do this by (1) setting the Heading 1 style to include spacing of 1.5" above the paragraph and (2) checking the “Add paragraph and table spacing…” compatibility option. But I also want to use Heading 2 throughout the chapter - with space above Heading 2 if it’s in the middle of a page, but with no space if it’s the first thing on the page. Normally, I would do this by (1) setting the spacing in the Header 2 style, and (2) unchecking the compatibility option. But clearly, this can’t be checked and unchecked at the same time.
I know that one path is to uncheck the compatibility option (so spacing is ignored if a Heading is at the top of a page) and use extra returns above Heading 1 to move it down the page. Since I’m also looking to export as an epub, however, I’d like to avoid this option if possible (in order to help keep the code clean).
Is there another way to configure the document so Heading 1 always has space above it (even when it’s the first think on a page), but Heading 2 only has space when it appears in the middle of a page?