Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Using GREP to apply object style to character style

Contributor ,
Feb 28, 2019 Feb 28, 2019

Hi all, pardon if my English is a bit hard to read.

I'm doing a yearbook for a client, and the client requests that drop shadow to be added to the student's full name. However, the text boxes of the students' full name also include the students' nicknames.

Screen Shot 2019-02-28 at 6.09.23 PM.png

Text in bold is the nickname, while smaller italic text is the full name, which is what the client wants drop shadow on. If I apply drop shadow to the object style I set for this, then the text in bold will also get drop shadow, which I don't want.

Currently the text box is set in paragraph style <student_name> and the full name is set in character style <full_name>. Is there a way to use GREP or other means to apply drop shadow only to the <full_name> character style?

Thank you very much!

699
Translate
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

correct answers 1 Correct answer

Community Expert , Feb 28, 2019 Feb 28, 2019

Drop shadows can only be applied to textframe objects; not individual letters, words, sentences, or paragraphs. You would have to devise a way to split the name captions into two textframes in order to apply the terribly bad idea your client wants. GREP will not help you here.

Translate
Community Expert ,
Feb 28, 2019 Feb 28, 2019

Drop shadows can only be applied to textframe objects; not individual letters, words, sentences, or paragraphs. You would have to devise a way to split the name captions into two textframes in order to apply the terribly bad idea your client wants. GREP will not help you here.

Mike Witherell
Translate
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
Contributor ,
Feb 28, 2019 Feb 28, 2019

Thank you Mike, I was afraid it would be impossible as well. One of the more difficult clients for sure. Thank you for your reply.

Translate
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 ,
Feb 28, 2019 Feb 28, 2019

As Mike said, terrible, terrible design idea. Better change the colour for instance...

Translate
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
Contributor ,
Feb 28, 2019 Feb 28, 2019
LATEST

Thank you Frans. I'll try to negotiate a way out. The client requested this after the templates have been previously approved, and I have already overridden master page items...

Translate
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