Skip to main content
Inspiring
March 1, 2024
Answered

Help with nested styles and line break

  • March 1, 2024
  • 2 replies
  • 947 views

I have a number of text frames on a page. Each Is to be formatting as follows:

 

(TITLE):

<BREAK>

(MAIN BODY)

 

Where the title is a serif font, terminated by a colon and a break, and then the main body begins.

I am able to get main body to appear after the colon, but I need to insert a line break here which seems to restart the paragraph style. How do I update the paragraph style to change only after I hit "enter" ?

 

This topic has been closed for replies.
Correct answer James Gifford—NitroPress

Thank you for the clarification. Would this be the correct approach:

So I can avoid using character styles altogether?


Yes. That lets you control font, size, spacing and (if you set up next-paragraph-style) paragraph to paragraph flow, and manage each independently — if for example you want to make a global tweak on title spacing or font size.

 

Using any kind of override, even defined Character Styles (the only proper method) imposes a layer of complexity that makes it harder to get consistency and to make global changes easily. And soft returns bypass a lot of the style control features, making consistent formatting and changes, among other things (like clean TOCs) much harder.

2 replies

Scott Falkner
Community Expert
Community Expert
March 1, 2024

Are you easily able to change the return after the colon the a line break (Shift+Enter)? That will keep the text all in one paragraph where you can use Nested Styles to format the text.

Inspiring
March 1, 2024

That approach works for most cases. What if I want to have some frames with bullets as the following shows:

does the above scheme work to make this?

Willi Adelberger
Community Expert
Community Expert
March 1, 2024

Yes, but you have to create another title style, a bullet style and another object style. But object and titele style can be based on the first one.

 

Willi Adelberger
Community Expert
Community Expert
March 1, 2024

Not a task for nested style.

Define in paragraph style next style. Use paragraphs, not forced returns.

Create an Object style, where the Paragraph with next style is selected.

Apply the object style to the text frames.

 

Inspiring
March 1, 2024

Could you kindly show me the steps to do this or point me towards a resource? I am not totally clear on how to follow these instructions.

 

thanks for the help.