Paragraph styles, nested styles GREP

New Here ,
Sep 15, 2022 Sep 15, 2022

Copy link to clipboard

Copied

Hello, I'm trying to create a directory. The column on the left is the text that was created using data merge. I want to create some kind of style, in order to deal with changes. I want it to look like the columns on right. Is this possible? Thank you in advance.Screen Shot 2022-09-15 at 8.23.59 PM.png

TOPICS
How to

Views

49

Likes

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 15, 2022 Sep 15, 2022

Copy link to clipboard

Copied

If it is truly as consistent as you are showing us, you can do this with nested styles.

 

Create these 5 styles (fine tuning the formatting):

  1. Name: Blue, uppercase, Next style: Company
  2. Company: Italics: Next style: Address1
  3. Address1: Roman, Next style: Address2
  4. Address2: Roman, Next style: Phone
  5. Phone: Italics, Next Style: Name 

 

Then, select the entire story, right click Name in the Styles panel and choose Apply Name, then Next style. It's magical!

 

Details on the next style attribute here: https://www.rockymountaintraining.com/adobe-indesign-how-to-use-the-next-style-attribute/

 

~Barb

 

Likes

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
New Here ,
Sep 16, 2022 Sep 16, 2022

Copy link to clipboard

Copied

Thank you so much, I'll give this a try.

Likes

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 16, 2022 Sep 16, 2022

Copy link to clipboard

Copied

Barb, you haven't accounted for the specialties titles (red, all caps), so while nested styles will work (as long as each listing has the same number of lines), you can't do the whole doc in one go.

Likes

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 16, 2022 Sep 16, 2022

Copy link to clipboard

Copied

LATEST

Good point. You'd have to do it in sections. 

 

~Barb

Likes

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