Skip to main content
Bedazzled532
Inspiring
October 11, 2024
Answered

Cover Quotes in Nested Styles

  • October 11, 2024
  • 2 replies
  • 959 views

I would like to increase the size of the quotes only using Nested Styles.

This is the output I would like. It may contain more than 1 sentence.

This is a test of nested styles. Also there are multiple sentences.

I tried but it is not working. Screenshot attached.

I want just the quotes to be in bigger size. I have achieved this with GREP style but client wants Nested Style.

 

 

This topic has been closed for replies.
Correct answer rob day

This is the output I would like. It may contain more than 1 sentence.

 

Hi @Bedazzled532 , By more than one sentence do you mean multiple sentences each enclosed in their own quotes, or a single multi-sentence quote? If it’s the latter then:

 

2 replies

rob day
Community Expert
rob dayCommunity ExpertCorrect answer
Community Expert
October 11, 2024

This is the output I would like. It may contain more than 1 sentence.

 

Hi @Bedazzled532 , By more than one sentence do you mean multiple sentences each enclosed in their own quotes, or a single multi-sentence quote? If it’s the latter then:

 

Bedazzled532
Inspiring
October 11, 2024

@rob day Single multiple sentence quote.

James Gifford—NitroPress
Legend
October 11, 2024

I am at a loss to find a way to use Nested Style for this — it's very specifically a GREP operation to find the quotes and apply a Character Style. Nested styles apply only to a defined string of text with no (obvious) way to apply it only to two characters.

 

Does your client have a reason for making this request? When the perfectly straightforward GREP solution is at hand?

Bedazzled532
Inspiring
October 11, 2024

I have already given a grep solution to my client. His concern is that GREP styles will slow down the file.

 

I have given this grep code :

\p{pf}|\p{pi}

 

Robert at ID-Tasker
Legend
October 11, 2024

@Bedazzled532

 

That's my concern about GREP Styles as well - but others here report no slowdown.