• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Capitalise words via paragraph styles?

Community Beginner ,
May 16, 2011 May 16, 2011

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

Views

35.1K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , May 17, 2011 May 17, 2011

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

Use of GREPs.jpg

Votes

Translate

Translate
Community Expert ,
May 22, 2011 May 22, 2011

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 22, 2011 May 22, 2011

Copy link to clipboard

Copied

Untitled-1.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 24, 2014 Jun 24, 2014

Copy link to clipboard

Copied

This one worked and the solution is the simplest. I'm curious to know what "\<." means.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 24, 2014 Jun 24, 2014

Copy link to clipboard

Copied

Beginning of word location marker.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 20, 2018 Aug 20, 2018

Copy link to clipboard

Copied

LATEST

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​

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2012 Mar 15, 2012

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2012 Mar 15, 2012

Copy link to clipboard

Copied

Which of the (extremely varied) methods/script/GREP queries did you use?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2012 Mar 15, 2012

Copy link to clipboard

Copied

Jongware, This is what I used.

New Picture.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2012 Mar 15, 2012

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2012 Mar 15, 2012

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2012 Mar 15, 2012

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2012 Mar 15, 2012

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).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 15, 2012 Mar 15, 2012

Copy link to clipboard

Copied

I'm not sure I know what you mean by using curly quotes correctly in my typesetting.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2012 Mar 15, 2012

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?

Screen Shot 2012-03-15 at 10.05.53 PM.png

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines