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

find/change to create universal baseline shift to em dash

Contributor ,
Jan 18, 2023 Jan 18, 2023

How do I give a new Baseline Shift setting to all the em-dashes within a document?

TOPICS
How to
663
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 2 Correct answers

Community Expert , Jan 18, 2023 Jan 18, 2023

Create a character style with the desired baseline shift amount and use a GREP style:

Capture d’écran 2023-01-18 à 23.03.52.png

Translate
Community Expert , Jan 18, 2023 Jan 18, 2023

Pretty much as shown. In each Paragraph Style you want the fix applied, click on  GREP Style, then New GREP Style, and enter the Character Style name that fixes the shift, and the text code for em-dash, as shown.

 

All em-dashes in that Para style will have the specified Char style applied automatically.

 

Translate
Community Expert ,
Jan 18, 2023 Jan 18, 2023

Create a character style with the desired baseline shift amount and use a GREP style:

Capture d’écran 2023-01-18 à 23.03.52.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
Contributor ,
Jan 18, 2023 Jan 18, 2023

Forgive me for being dense on this. I did create a character style with the desired baseline shift....  but don't know how to implement that within the grep window.

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 ,
Jan 18, 2023 Jan 18, 2023

Pretty much as shown. In each Paragraph Style you want the fix applied, click on  GREP Style, then New GREP Style, and enter the Character Style name that fixes the shift, and the text code for em-dash, as shown.

 

All em-dashes in that Para style will have the specified Char style applied automatically.

 

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 ,
Jan 18, 2023 Jan 18, 2023

Ohhhhhh! I was approaching it from the find/change dialogue box, instead of within the paragraph style grep options. Perfect! Thank you both.

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 ,
Jan 18, 2023 Jan 18, 2023
LATEST

It's a crazy powerful feature if you use it right. It does propagate through style hierarchies, so if you've set up your styles carefully, just applying it to (say) Body Text or whatever will work down the line in bullets, indent text, etc. You don't necessarily have to add it to each style, that is.

 

You will want a variant for each general style group, though — the shift for 11pt body text is probably off for larger header or title text, etc. But it's all quite manageable.

 

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 ,
Jan 18, 2023 Jan 18, 2023

Ah, someone else who hates the way dashes sit too low within most fonts. 🙂

 

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