Hello,
For some reason I am having a problem adding a Kerning amount between a digit and the Quotation mark in GREP.. Here is what I have :
(?<=\d)\x{0022}
I think the problem, is the character style lets me add a tracking amount, but not specify a kerning amount and that is what I really need. I just need a 150 Kern between the digit (sometimes a whole number or a fraction and the double quotation mark.
Anyone out there know a good way to do this?
thanks
babs
Almost right.
No, you cannot set kerning in a character style (easily -- I think there was a trick to work around it, but I cannot recall what it was). Yep, you must apply tracking with the GREP style to part of the string. If you set the tracking for both characters, it will also be applied to the second one, making this wider as well.
Set your GREP to this to prevent it:
\d(?=~")
(where the code ~" is equal to 'straight double quotes only').
Fortuitous you all posted this just today. I'm trying to change kerning between a digit and a letter, which I can find in GREP. What you didn't mention was whether you used a replace expression that inserted the kerning. If so, how did you do that? If not, bummer, but at least I can still find the spots where I need to do it manually. Thanks!
If you want to adjust the spacing wherever the pair appears, include the query as a GREP style in the paragraph style and define a character style that it applies to do the adjustment. Otherwise, all you need do for find/change would be to add the new formatting in the change format options.
North America
Europe, Middle East and Africa
Asia Pacific