Copy link to clipboard
Copied
Hello all
I want to apply a Character Style to a Paragraph Style via GREP which applies said Character Style up to an Indent to Here, but struggling to make it work
Can anyone help me with this query please
Why GREP? why not just Nested Styles?
Copy link to clipboard
Copied
Why GREP? why not just Nested Styles?
Copy link to clipboard
Copied
You don't necessarily need a GREP style to do this, you can use a Nested style:
Copy link to clipboard
Copied
Exactly, as per @Robert Tkaczyk. We need GREP for pattern matching. A nested style does exactly what you are asking for.
~Barb
Copy link to clipboard
Copied
Yes, I have it set up on a Nested Style presently
I guess that will do.
To give a full explanation, it is to style up footnotes and what I really want to happen is the cavaet symbols, such as an asterisk, dagger, double asterisk etc appear in a different font size and baseline shift to the other copy in that paragraph
So it could be achieved with a positive look behind from the first 'space' character and ideally I only want the characters to switch to the Character Style and not the tab characters which flank it / attached screenshot. Maybe I am overthinking it...
Copy link to clipboard
Copied
Yes, you are 😉
As you need to ONLY style first one / few characters - up to a specific character - there is no need to bring big guns 😉 GREP will slow down your InDesign significantly.
Copy link to clipboard
Copied
Cheers Robert
Copy link to clipboard
Copied
Personally, I use an en space between my note number and contents so that's how I handle it.
~Barb