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

Grep code to search for superscript characters?

Participant ,
Dec 23, 2016 Dec 23, 2016

Hello all!

I am wondering if there is Grep code that can be used to search for any

superscript digits or characters in Indesign? For some reason I haven't been

able to discover what it is yet..

Thanks for your help!

11.4K
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 , Dec 23, 2016 Dec 23, 2016

I was on my iPad before. Here is a screen shot:

Translate
Community Expert ,
Dec 23, 2016 Dec 23, 2016

You can do it with a regular text search for formatting. Is there a reason you need GREP?

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 ,
Dec 23, 2016 Dec 23, 2016

I was on my iPad before. Here is a screen shot:

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 ,
Dec 24, 2016 Dec 24, 2016

Hi Awitmer—just clarifying Jane's correct answer, above. You don't need GREP to simply locate text or digits that are using superscript: If there is something behind the question, maybe you do, so in that case come back and let us know. Otherwise:

Edit > Find/Change

InDesign CCss_006.png

InDesign CCss_004.png

InDesign CCss_005.png

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
Participant ,
Dec 26, 2016 Dec 26, 2016

Thank you so much for your replies!

I had forgotten that I could find superscript characters with a regular search for text formatting. The reason I was wondering about the grep code was because I was wanting to create a grep style in a paragraph style that would automatically grab all superscript characters and format them with a character style. I suppose that I could just do this formatting in the Find/Change dialog.

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 ,
Dec 26, 2016 Dec 26, 2016

Find > Basic Character > Superscript

Change to > Character Style > NameOfYourCharStyle

Unless it's a Footnote. You can apply a Character Style in Footnote Options directly.

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 ,
Dec 26, 2016 Dec 26, 2016

GREP styles would not have worked here anyway. You can only include characters to match in a GREP style, no formatting.

(One possible way to make it work with a GREP style would be to replace all faux superscripts with actual Unicode superscript characters - but there are very few fonts that do have 'em, even only for numbers.)

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
Participant ,
Dec 27, 2016 Dec 27, 2016
LATEST

Ok, I get what you are saying. For some reason I was thinking that the superscript characters were characters of their own and not just regular characters with the “superscript” formatting applied.

Thanks all for your help!

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