Back

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

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: GREP – Bold dollar amounts only #14349629
    Geoffrey West
    Participant

    Thanks, guys!

    Just for snips and gibbles, is there a method using one of the look behind/ahead commands that would accomplish this as well?

    Just curious if I was on the right track going that route when I first started. I always wanted to use one of the look ahead/behind commands but never know the appropriate instance or styling challenge.

    in reply to: Styling an * inside a table with GREP? Or nested styles? #14346765
    Geoffrey West
    Participant

    Sorry, I was not clear in my initial write-up. The asterisks are already after the numbers, I was trying to change their colors only separate from the digits themselves. I said “add” but used it incorrectly.

    Do I need separate GREP expressions for single and double-digit numbers, or will one work for both?

    Geoffrey West
    Participant

    Thanks, David!

    One last question: What is the benefit or significance of adding the ? within the GREP expression? I’ve seen that randomly when searching for other GREP solutions. I’ve seen it referred to as “lazy,” but what is actually happening within the GREP expression when the question mark is added?

    Geoffrey West
    Participant

    OK, hold up… new roadblock!

    How do I modify the GREP style to account for partial percentages, such as 4.1% or 39.5%?

    Any ideas?

    Geoffrey West
    Participant

    Thanks, David.

    I actually tried this and it worked out:

    \w{2}\%

    I think that will suffice for my current application, but now that I think about it… any number that’s more than 3 digits won’t work (i.e. 100%).

    *switches to InDesign to test*

    Yep… ok. You win! Yours is better! Thanks again!

    in reply to: GREP: Changing style after colon #14338764
    Geoffrey West
    Participant

    Hi guys. This one caught my eye. I applied the top GREP style from Michael’s first response and that worked great. I set the style to “None” in the GREP style section. I also added a nested style, per Anne-Marie. I did “bold through 1 :” in my Nested Styles section.

    So now anything after the colon is regular/book, and anything before (including lines without a colon) are now bold.

    Is that a good workflow, you think?

    (Wish I could upload pics…)

Viewing 6 posts - 1 through 6 (of 6 total)