Copy link to clipboard
Copied
I have a price with a discount percentage made with a Grep Style applied to:
\s\-.+\%\s
The character style has an underline 27pt thick with a rounded stroke to mimic a sticker:
Now, I want to make the % symbol smaller, but when I reduce the character size by points, h/v scaling or sub-script, the underline effect disappears. When reducing the thickness, the underline shows again but only on the figure, leaving the % clear:
Any solution?
Copy link to clipboard
Copied
Finally, just Grep Styles:
(^/) The Jedi
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Did you try @jmlevy's solution?
Copy link to clipboard
Copied
Instead of changing the point size of the % change the horizontal and vertical scaling. This will keep the point size the same as far as InDesign is concerned. Untested.
Copy link to clipboard
Copied
Already tried it, doesn't work: size, h/v percentage and sub-script
Copy link to clipboard
Copied
I found a solution, but it's not my favorite: replacing the font of the % character with GREP. There are fonts whose % is smaller than the size of the numbers, so, the font size is the same but the % is smaller.
Copy link to clipboard
Copied
I am interest to see FRIdNGE's solution.
Copy link to clipboard
Copied
… After having created a good template (with 1 and 2 digits), if the size bothers you, select the text frame and with the black arrow tool, select a corner and increase/decrease the text frame size (+ Shift-cmd on Mac OSX).
Then, create the corresponding char styles/grep styles (+ maybe some fine adjustments).
Here, I've used "Minion Pro-Regular.
Now I just select all the text frames and apply the "PRICE_SMALL _FRIdNGE" right para style.
(^/)
Copy link to clipboard
Copied
Will it work in Table Cell?
Because that's where OP needs to use it...
Copy link to clipboard
Copied
It's a para style with Grep styles!
(^/)
Copy link to clipboard
Copied
I know - but one of your examples have circle going way out of the TF - will it work inside the Cell - or create overset?
Copy link to clipboard
Copied
(^/)
Copy link to clipboard
Copied
Ok, but what about the 2nd version on the right? The one with % going way above the price?
Copy link to clipboard
Copied
The screenshot just shows the result of a size change of the "percent bullet" (in orange color) [see previous explanations].
If the user is not satisfied by its first size, before defining char/grep styles, (s)he can quickly adjust it (some seconds).
(^/)
Copy link to clipboard
Copied
Sorry, I'm away from my laptop so can't check myself.
I'm asking about this:
How this will behave in the Cell?
Copy link to clipboard
Copied
… As specified in the cell formatting:
(^/)