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

GREP and figure legend formatting

Return to Member Forum

  • Author
    Posts
    • #55879
      AviatorFilly
      Participant

      Hi,

      I have set up a Figure number system no worries and format so the the accompanying figure heading is in bold. However after the heading I put a : and then the following text I'd like that to be regular text and not bold. I can just go through and change all the formatting individually but I think that i can set up a GREP for this but I am not sure how to do this.

      Can someone please help me with the necessary code as it frustrating me that i dont know how.

      thank you all greatly.

      cheers

    • #55882

      Hi mate!

      That can be done in several ways; pick any.

      1. Use a nested style. Either use “through 2 Words” (or how much you need), or “up to 1 :” (just type in the “:” in the last field).

      2. Use a GREP style (straightforward): “^.+?:”

      3. Use a GREP style (exact): “^Figuresd+:”

      The latter will only and exclusively pick up a starting 'Figure' text, so it'll automatically ignore lines where this is missing (or misspelled!).

    • #55885
      AviatorFilly
      Participant

      Thanks very much for that. I went with #2. Super excited :-)

      When i first input the GREP code it made the opposite of what i was wanting such that the first sentence was non-bold and the second sentence bold, so then i just changed the paragraph format to be non-bold text and then the code worked awesome.

      However the Figure 1-1 (the listed figure numbers) remains in non-bold now. Is there a way to make this bold as well?

      thanks again,

      Cheers

    • #55887

      Uh-oh. Seems the GREP style ignores paragraph Bullets & Numbering …

      It makes some sense, as this type of numbering is something ID “tacks on” to the start of the paragraph. If you check with the Story Editor, you will see the text is not there!

      Only two options this time, I'm afraid. First is to adjust your Bullets & Numbering setting — you can automatically have a character style applied to the custom numbering. I'm not sure what happens with cross-references to this same list, though; they might pick up that style as well. I guess you just have ta try it.

      Second, you can change your fancy custom numbering to plain text — but then you'll loose the automatic numbering.

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