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

How to find all "I" on end of lines and break it to the next line

Explorer ,
Aug 11, 2019 Aug 11, 2019

Dear People who are more experienced than me,

I checked the forum (also google is my friend) and there were kinda similar questions but I haven't seen any solution for my situation.

The situation:

– I am working on a book.

– Many of the sentences start with "I".

– Sometimes the "I" in the begining of a sentence is also happens to be the last word of a line.

For example:

--

This is very good. I
believe I was here before.

--

– The customer doesn't want the sentence starting "I"s to be on the end of the lines.

The handling I need:

Using our example sentence I have three ways to handle this:

It's either

This is very good.

I believe I was here before.

or

This is very good. I believe

I was here before.

or

This is very good. I be-
lieve I was here before.

So it's: break it to the next line or bring the next word after "I".

Maybe I am not the first one who needs a solution for that. I hope some of you know a solution for this.

Thanks,

gergo

PS: Sometimes I work on Hungarian books and they start sentences with "A" very often. So if you could tell me a solution which can be applied to any chosen capital letter it would be even better.

764
Translate
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

Community Expert , Aug 11, 2019 Aug 11, 2019

Hi Gergo:

One option is to replace the spacebar space after the letter "I" with a non-breaking space. Find the letter I followed by a space, replace with the letter I and a non-breaking space (^S).

Screen Shot 2019-08-11 at 4.01.03 PM.pngScreen Shot 2019-08-11 at 4.01.14 PM.png

Or if you are using styles, you can create a character style with No Break enabled, and assign it to the letter I followed by a space with a GREP style.

Screen Shot 2019-08-11 at 3.58.40 PM.png

Screen Shot 2019-08-11 at 3.56.47 PM.png

~Barb

Translate
Community Expert ,
Aug 11, 2019 Aug 11, 2019

Hi Gergo:

One option is to replace the spacebar space after the letter "I" with a non-breaking space. Find the letter I followed by a space, replace with the letter I and a non-breaking space (^S).

Screen Shot 2019-08-11 at 4.01.03 PM.pngScreen Shot 2019-08-11 at 4.01.14 PM.png

Or if you are using styles, you can create a character style with No Break enabled, and assign it to the letter I followed by a space with a GREP style.

Screen Shot 2019-08-11 at 3.58.40 PM.png

Screen Shot 2019-08-11 at 3.56.47 PM.png

~Barb

Translate
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
Mentor ,
Aug 12, 2019 Aug 12, 2019

assign it to the letter I followed by a space with a GREP style.

Hi, Barb,

my 2 cents, if you don’t mind: applying No Break to the space is just enough: \bI\K\h

Translate
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 16, 2019 Aug 16, 2019

Dear  BarbBinder,

This was very helpful with the screenshots and mini tutorial.

Very valuable for me. Thank you very much!

Best,

gergo

Translate
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 ,
Aug 17, 2019 Aug 17, 2019
LATEST

Hi Gergo,

Always happy to help.

~Barb

Translate
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