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

space before footnote reference

New Here ,
Nov 30, 2018 Nov 30, 2018

Hi everyone

I have a really big book with thousands of footnotes, and in the word document every one of them has a space before the footnote reference in the text which needs to be removed. Has anybody any ideas how to do this? --- really hope so

Peter

2.9K
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 , Nov 30, 2018 Nov 30, 2018

Assuming you have placed the word docx text into InDesign:

InDesign Edit menu > Find/Change to the rescue!

In a GREP search:

Find What: \s(?=~F)

Change to: nothing in this field

Translate
Community Expert ,
Nov 30, 2018 Nov 30, 2018

When you say "space before" you mean space that precedes the footnote reference correct? I ask because there's a "space before" feature in InDesign that adds space above a paragraph. If what you desire is to remove the space that precedes the footnote reference, you can use Find/Change to remove it.

  1. Open the Find/Change dialog box by choosing Edit > Find/Change
  2. The footnote reference will either have a character style applied to it or will have the superscript format applied to it however you can't search for characters that have superscript applied because the space that precedes the number won't have that format applied. So in the Find/Change dialog box, click on the GREP tab and in the Find What field, type \s(\d+) and in the change to field, type $1. For safe measure, click on the specify attributes to change property and choose either superscript for the position or choose a character style in which to format the footnote reference.
  3. Click find then change a few times to ensure that it is doing what you expect, then click change all.

ForumsFootnoite.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
Community Expert ,
Nov 30, 2018 Nov 30, 2018

Assuming you have placed the word docx text into InDesign:

InDesign Edit menu > Find/Change to the rescue!

In a GREP search:

Find What: \s(?=~F)

Change to: nothing in this field

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
New Here ,
Nov 30, 2018 Nov 30, 2018

brilliant Vinny, big thank you

Peter

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 ,
Nov 30, 2018 Nov 30, 2018

Vinny?

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
Explorer ,
Nov 10, 2021 Nov 10, 2021
LATEST

Thank you,\s(?=~F) worked for me.

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