Skip to main content
irphan
Known Participant
May 2, 2017
Answered

Style Sheet and GREP

  • May 2, 2017
  • 3 replies
  • 844 views

I want to use a character style sheet in TAB Leader. How is it possible? Should I use GREP or something else?

Please help.

Thank you in Advance!

This topic has been closed for replies.
Correct answer dhafirp16891848

In GREP you can use this: \t and do what do you want

3 replies

Barb Binder
Community Expert
Community Expert
May 3, 2017

Are you asking how to change the leader dots automatically? In the example below, I used a character style to target just the leaders:

If that is what you are after, you can just nest character styles in a paragraph style.

For the text below, I have a ¶ style called TOC assigned the the three lines. In Drop Caps and Nested Styles, I created the first nested style to assign [None] up to 1 tab (so that the words in front are unaffected) and added a second nested style to assign the Character tag called Leaders (which simply changes the color of the text) through 1 tab.

~Barb at Rocky Mountain Training
dhafirp16891848Correct answer
Inspiring
May 3, 2017

In GREP you can use this: \t and do what do you want

irphan
irphanAuthor
Known Participant
May 4, 2017

Thank you for your answer@dhafirp16891848

. I had resolved it already but this was the correct answer I was looking for. Thank you once again.

Inspiring
May 5, 2017

Welcome

dave c courtemanche
Inspiring
May 2, 2017

You want to apply a character style to the tab? You could do this with a nested style "through one tab".