Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Indented Footnotes with Hanging Numbers

Return to Member Forum

  • Author
    Posts
    • #83153
      Ari Singer
      Member

      Hi, here’s my problem:

      I set up my footnote numbering to be ‘hanging’ by entering an ‘Indent to Here’ separator in the Separator field of the Footnote Formatting options. So all the footnote numbering are hanging and the rows below it are indented.

      My problem is that I want that the subsequent paragraphs of the same footnote (which don’t have a number) to be indented on the left side so that is in line with the previous paragraph.

      To set up the paragraph style to indent entirely doesn’t work because then the numbers indent as well and don’t hang. To apply First Line negative indent doesn’t help either because the subsequent paragraphs (without the numbers) will have a hanging first line.

      The only option for me now is to create another paragraph style with left indent, and to apply it manually to the paragraphs. It is obviously not the most efficient approach. To utilize the ‘next style’ option is also not an option, because the document is set up to use the original ‘footnotes’ style to any footnotes.

      Is there any way to automate this?

      Any help will be greatly app appreciated. Thanks in advance!

    • #83155

      Not sure if this will work, but try: Type->Story->check Optimal Margin Alignment

      I’m sure someone else here knows the real answer….

      • #83157
        Ari Singer
        Member

        Thanks, but Optical Margin Alignment is not intended for this purpose.

    • #83206
      Peter Kahrel
      Participant

      Ari,

      I don’t think that you can do this entirely automatically. I would do this: set up the footnote style with left indent and negative first-line indent. This will cause the second and following paragraphs to be set with negative first-line indent too. Then at some stage run this Find/Change:

      Find what: ^([^~F])
      Change to: $1
      Find Format: <the note paragraph style>
      And include the footnotes in the search

      Save it as a GREP query. If you run that query frequently, you can assign it to a keyboard shortcut as follows. If you saved the query as footnote indent, save this one-line script in your script folder:

      app.loadFindChangeQuery ('footnote indent', SearchModes.grepSearch);
      app.activeDocument.changeGrep();
      
      Then in the Keyboard Shortcuts window, apply a shortcut to that script.
      
      Peter
    • #83209
      Ari Singer
      Member

      Thank you so much! Would you please care translating the GREP expression into simple English? Thanks!

    • #83212
      Peter Kahrel
      Participant

      The expression says ‘at the beginning of a paragraph (^), match and capture a character that not (^) a footnote marker (~F). Then replace that character with a tab () and itself ($1). The caret ^ means ‘not the following chracter(s)’ when it is used inside a character class ([ ]), and ‘beginning of paragraph’ when used outside a class and at the beginning of the expression. Character by character:

      ^ start of paragraph
      ( begin capture
      [ begin character class
      ^~F not (^) footnote marker (~F)
      ] end character class
      ] end capture

    • #83214
      Ari Singer
      Member

      Thank you so much! But I have one question. Why go thru the trouble of adding a tab thru Find/Change? Why not just use the same GREP find expression, not to replace with anything, just to change the format of that paragraph to the ‘footnotes 2’ paragraph style that is completely indented?

    • #83215
      Peter Kahrel
      Participant

      Yes, sure, you could use the GREP query to apply a paragraph style, but I would find it easier to use one paragraph style and the GREP is simple. But if you prefer you can look for ^[^~F], leave the Change To field empty, Find Format ‘footnote 1’, Change Format ‘footnote 2’. Be aware though that when you do that, you lose all local formatting.

    • #83216
      Ari Singer
      Member

      Thanks. I know that I lose all local formatting, but as a careful InDesign user I never use local formatting only through character styles, which don’t get lost when applying Find/Change.

Viewing 7 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads