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

How to keep shaded paragraphs within text frame and maintain inner border? Is this possible?

Engaged ,
May 24, 2025 May 24, 2025

Hi folks

 

I'm using Paragraph Shading to create text boxes in a text frame, by intending the text left and right, and using a top and bottom offset of 1 x leading, and Space After/Before = 2 x leading. 

 

craftycurate_0-1748108877139.png

 

This works fine when the text box is contained entirely within a single text frame. But if the paragraph text occupies the first and/or last line in the text frame e.g. when it flows across multiple text frames, we have a problem.

 

craftycurate_1-1748109256521.png

 

craftycurate_2-1748109313972.png

 

The only solution I can think of is to resize the text frames on those pages (moving the text frame top edge down by 1 x leading, or the bottom edge up by the same amount). But this cumbersome, and needs to be adjusted back if the text reflows. Parent Pages can help with this, of course, but still clunky. 

 

This is the result after adjusting the bottom edge of the text frame, which is the the layout I'm after (Paragraph Shading clipped to frame, and no text on bottom (or top line):

 

craftycurate_3-1748109809461.png


Is there a way to achieve this just by using Paragraph Style or other settings, so the correct layout happens automatically rather than having to be adjusted manually?


A one-cell table works up to a point, but a cell can not flow between text frames AFAIK.

Thanks for your help!
Richard

TOPICS
How to , Type
128
Translate
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 ,
May 24, 2025 May 24, 2025

You could add top and/or bottom inset to the frames in text frame options...

That could be achieved with an Object Style, I think, which might make changing after reflow a bit easier

Translate
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
Engaged ,
Jun 03, 2025 Jun 03, 2025

Hi Peter ...

 

Thanks - that would certainly work. Object styles can specify X,Y position and Width/Height coordinates. I've used that approach for other projects.

In the end I created Master Pages for each option - Top inset only, Bottom inset only, and Top & Bottom. I can then just apply the master pages as needed, as I am using a Primary Text Frame, it adjusts the size of the text frame accordingly.

Translate
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 ,
Jun 03, 2025 Jun 03, 2025
LATEST

Hi CC,

Not sure if I understand, but lower down in the Paragraph Styles Options > Paragraph Shading, you can switch on "Clip to Frame".

Mike Witherell
Translate
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