Different space(s) after paragraph in one paragraph style
For our company I'm creating and updating a base document in InDesign so colleagues work faster and the designs will be more consistent. The document is getting better and better with each iteration.
But know I have stumbled upon a challenge for which I cannot find a satisfying answer.
For each heading in the document (H1 to H6) I have created Paragraph styles.
After the H1 and H2 I have added some space in the paragraph style.
H3 to H6 are smaller and the body text (paragraph style) will follow these headings without any extra space between them.
But in some cases a Heading 3 will be directly followed by a Heading 4 (for example). And now I want some extra space between these headings. I could add some space after H3 but then there will also be a unwanted gap between H3 and the body text. So this is not what I'm looking for.
Is there a way to dynamically add spacing between H3 and H4 without making more paragraph styles?
Something like IF, THEN, ELSE?
IF H3 is followed up by H4, THEN add (? pts) line height or ELSE use standard line height.
Kind regards,
Mark
