: Indesign equivalent of ms word's "Don't add space between paragraphs of the same style" feature In microsoft word, for paragraph formatting, you have this option: "Don't add space between
In microsoft word, for paragraph formatting, you have this option:
"Don't add space between paragraphs of the same style"
Is there a similar feature in indesign?
Note: this question is also related with this question and this question
More posts by @Cofer715
4 Comments
Sorted by latest first Latest Oldest Best
I would love for Adobe to implement a feature that would behave like the :first-of-type and :last-of-type selectors in CSS.
I have a similar problem. In my document, I have these paragraph styles:
Code Listing uses line numbering and a fixed-pitch font.
Code Listing: First Line is based on Code Listing but has additional Space Before.
Code Listing: Final Line is based on Code Listing but has additional Space After.
Code Listing: Single Line is based on Code Listing but has additional Space Before and Space After.
I have to select from these paragraph styles manually. It's an error-prone process. I wish I could include the :first-of-type and :last-of-type conditions within the definition of Code Listing so that ID would take care of the spacing for me, even when I insert or delete lines of code.
But, alas, I don't think there's a way to do that, at least not as of InDesign CC 2018.
The short answer: no.
The useful answer: you can do this by making use of "Next Style" in the Paragraph Style definition:
Set up the Paragraph Style for (as an example) body copy with no space before/after. Call it "Body" (or whatever you like).
Set up a Paragraph Style for your lead paragraph. Lead paras often have slightly different styling from the rest of the body copy, but don't have to. Under "Based On" select your body copy style. Under "Next Style" select "Body," or whatever you named that style.
When you paste text, select all and in the Paragraph Styles panel right-click the "Lead Para" style and choose "Apply Lead Para, then Next Style".
For repetitive formatting of text in individual frames, a killer shortcut is to set one up as above, then make it a new Object Style. In the Object Style definition check "Paragraph Styles" and "Apply Next Style". You can then drop text into a new frame and apply all the formatting with one click on the Object Style.
You've defined that your Body style has no extra space. The only time there's extra space around Body is when it's next to something which isn't Body.
So put the space in the other styles — your Headline, Subhead, Scene, whatever. Any running Body copy will have no spaces. Any Headlines will have them.
Use your Styles to define your spacing before and after specific paragraphs...
You'll most likely need to create a custom style (eg. "No space") and define the paragraph spacing within that style. Then when you select that saved style for each of the paragraphs you've stacked, it will adjust the spacing between paragraphs as defined in the style.
One way to set your paragraph spacing...
Push Alt + Ctrl + T to show the paragraph options.
Adjust your spacing options in boxes 5 & 6
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.