Copy link to clipboard
Copied
Hello.
I create a lot menus which require Each Word To Begin With A Capital.
Now I can see to do that in type>case
However in pragraph styles, I only see options for small caps or all caps. Is there not a way to make this part of a pragraph style so I don't have to go through the menus for the hundreds of food items I will have?
Cheers
You've probably solved your problem by now but incase you haven't here is a crib sheet I made for myself on this specific use of GREPs when faced with a similar problem. If it's not clear then let me know and I will send you a better quality version
Copy link to clipboard
Copied
This is relatively simple to do in the Paragraph Style
Firslty create a Character Style and call it Caps or something similar
Then in the Body Text paragraph style - go to Grep Styles and use
<character style = CAPS> (the style you just made)
\<.
Done
Copy link to clipboard
Copied
Copy link to clipboard
Copied
This one worked and the solution is the simplest. I'm curious to know what "\<." means.
Copy link to clipboard
Copied
Beginning of word location marker.
Copy link to clipboard
Copied
Let me just say that I was desperate for a solution to get my running headers uncapitalized and in MLA title case (not Adobe's "capitalize every word" Title Case) but my titles were all caps. THIS WORKED!!! Thank you b. pashley. You rock!!!
Thank you SO MUCH, from the future of Id CC
This should be marked as Answered somehow, because Pashley's solution works perfectly. I did have to start over with my para and char styles but otherwise, BRILLIANT.b.pashley​
Copy link to clipboard
Copied
OK, so I followed the directions above and got my faux Title Case in my Paragraph Style. Works very well, so thanks to you all for the GREP info.
One hiccup so far - when using a title with a possessive noun "Library's Computer", it capitalizes the S after the apostrophe so it's instead "Library'S Computer".
Is there any way to remedy that?
Copy link to clipboard
Copied
Which of the (extremely varied) methods/script/GREP queries did you use?
Copy link to clipboard
Copied
Jongware, This is what I used.
Copy link to clipboard
Copied
Hmmm ... apparently the apostrophe is picked up by the top expression as a "word break" character.
Short solution: add another GREP "'s\b" (that's Apostrophe S, followed by yet another word break) and apply the style "Normal" for this as well. It needs a word break after the "s" so the esses in "'seven' 'silly' 'strumpets'" will still be capitalized.
If you'd want to include (= EXclude) other contractions as well (don't, I'd, I've -- any more?) you can add them one at a time, as above, or all at once:
'([sdt]|ve)\b
Copy link to clipboard
Copied
Oh scratch that. I was finally going to make dinner, but let me add this:
If you are conscious about using your Curly Quotes, it ought to be enough to re-Normalize the lower case character right after a single curly close quote:
~]\l
Copy link to clipboard
Copied
Jongware,
Your solution "'([sdt]|ve)\b" works perfectly. Thank you very much!
I'm so happy to have found this forum. This will save me so much time!
Copy link to clipboard
Copied
Dude, see my belated follow-up above if your typesetting up to specs (i.e., using your curly quotes correctly).
Copy link to clipboard
Copied
I'm not sure I know what you mean by using curly quotes correctly in my typesetting.
Copy link to clipboard
Copied
Then you are using them not at all, or possibly you are but (unknowingly and thus probably) wrong
If you zoom in on your text, do you see something like the left or the right?
Left uses 'straight quotes', which is a leftover of the ol' typewriter days, and a horror to behold in any serious publication. Right is only slightly better, because that's what it looks like if you think "oh so all I have to do is Switch On Typographer's Quotes and InDesign will do the rest". In case you don't notice, the contraction 's needs not an open curly quote but a closing one.
The GREP styles will work nevertheless, because the single straight quote ' is so often mis-used (as are the curly quotes) that Adobe decided to make it match all three possibilities: straight, and open and closed curly. The GREP I finally proposed works around this by forcing to match just a closing curly quote ( ~] ) so it will leave the 's' in 'silly capitalized (per first GREP rule) but will make the single contraction 's lowercase (IF and only IF this uses the correct -- closing -- curly quote).
So if you see any capitalized contraction in your text, you now know it uses the wrong kind of quote.