• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to include 2 paragraphs in above/below paragraph rule lines with no lines between paragraphs

Contributor ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

Please refer to attached: 01 Screen Shot re Paragraph Rule.

I find the controls for the application of the rule abstruse - settings as per 02 Screen Shot re Paragraph Rule with "Rule Below" yields a line above and a line below both paragraph.

My thought was to create a paragraph style with a line above (Rule Above) for the 1st paragraph, and a 2nd style (Rule Below) for the 2nd but I still end up with at least one line in between.

Thanks in advance for assistance.

TOPICS
How to

Views

899

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Community Expert , Sep 06, 2022 Sep 06, 2022

Don't use rules but paragraph borders, with these settings (highlighted in my screenshot).

Capture d’écran 2022-09-06 à 17.00.55.jpgCapture d’écran 2022-09-06 à 17.05.14.jpg

So you need only one paragraph style.

Votes

Translate

Translate
Community Expert , Sep 06, 2022 Sep 06, 2022

If two styles have IDENTICAL border settings, and the merge checkbox is checked, the border style will flow across as many paragraphs as you like. Very powerful formatting feature. But if there is any difference between two styles (even a point of rule width or spacing), it won't work.

 

Best to use cascading styles to keep things aligned. Set all the border characteristics in the first style, then create child styles for things like first-paragraphs and indented quote text. Don't touch the bord

...

Votes

Translate

Translate
Community Expert ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

You could accomplish this with two Paragraph Styles - one to add a rule above, one to add a rule below. The apply to then individual paragraphs instead of selecting them both. I'm sure a script could be written to accomplish this as well once you have the base styles created. Apply A to the first paragraph, apply B to second paragraph.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

Unfortunately I cannot get a "Rule Above" style to work properly. To see the problem:

• refer to "01 Rule Below" for style for the 2nd paragraph;

• refer to "02 Using Rule Below" to see how it applies...very nice line below 2nd paragraph.

Then:

• refer to "03 Rule Above" for style for the 1st paragraph;

• refer to "04 Using Rule Above" to see how it applies...it puts in a line both above and below the 1st paragraph !!! 

Why?

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

> • refer to "04 Using Rule Above" to see how it applies...it puts in a line both above and below the 1st paragraph !!!

> Why?

I know this has been solved by using shading instead of rules, but to answer the "why?"question my guess is you probably based the rule above style on the rule below style and simply forgot to turn off the rule below.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

Don't use rules but paragraph borders, with these settings (highlighted in my screenshot).

Capture d’écran 2022-09-06 à 17.00.55.jpgCapture d’écran 2022-09-06 à 17.05.14.jpg

So you need only one paragraph style.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

As I illustrated above, setting up a style for 1st paragraph rule led to a line both above and below the paragraph.

 

Now, if I set up a paragraph border style it puts a line above and below - refer to 3 attached screen shots.

 

I cannot figure out why it is applying the bottom line, which has the characteristics of a Rule Below line.

Why?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

Because you did not tick the “Merge consecutive borders and shadings with same settings” check box (see my screenshot) and you also must have a border below.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

Actually, I found I had both the old Rule and the new Border turned on simultaneously. When I turned the Rule off, leaving only the Border above, the problem cleared up.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

LATEST

Yes, paragraph borders and rules sort of cooperate and sort of fight; you can combine them to achieve certain style effects but the way they interact is not always predictable. Best by far to use one or the other.

 


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 06, 2022 Sep 06, 2022

Copy link to clipboard

Copied

If two styles have IDENTICAL border settings, and the merge checkbox is checked, the border style will flow across as many paragraphs as you like. Very powerful formatting feature. But if there is any difference between two styles (even a point of rule width or spacing), it won't work.

 

Best to use cascading styles to keep things aligned. Set all the border characteristics in the first style, then create child styles for things like first-paragraphs and indented quote text. Don't touch the border settings in the child styles. Trying to set everything exactly the same in multiple styles just leads to frustration. 🙂

 


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines