# two intervals after end of sentence

Hello,

I put two intervals beweetn sentence as I think this is more pleasing to the eye. How can I replace the one intervals of an imported text with two?

Thank you.

edit retag close merge delete

Sort by » oldest newest most voted

You do not need to change any style or use regular expressions here.

Go to the top of your document and press Ctrl+H. This will open the Find and Replace dialog.
Ensure that 'Regular expressions' is not ticked.

In the Find box type a dot and one space.
In the Replace box type a dot and two spaces.
Click Replace All.
Close the Find and Replace dialog.

more

But be careful with shortcuts like "e.g." or others.

( 2018-12-02 14:37:56 +0100 )edit

Good catch @ebot - thanks!

( 2018-12-02 15:50:25 +0100 )edit

===Editing due to the comment by @Mike Kaganski ===
To replace a single paragraph break by a sequence of two paragraph breaks, you need to use F&R with the option Regular expressions enabled. Enter the single character $ behind Find: and the sequence \n\n (4 characters) behind Replace:. Then order Replace All. Be sure to understand that you will get two empty paragraphs for each single empty paragraph if there was any. I do not know a way to double hard line breaks using F&R. The extension AltSearch can do that. The standard way to get additional distance between paragraphs is to add a Spacing below paragraph to the used paragraph style. (Tab Indents & Spacing) ===See below=== If you actually want to get an additional horizontal space between sentences you need to identify the end of any sentence. Supposing the end of a sentence is marked by (exactly) one of the punctuation characters !.? you can search for ([!\?\.]) and replace with $1 with a space bhind the \$1. However, you will then get from He asked, "did you read it?" a He asked, "did you read it? " and this may not be what you want. Things get complicated at that point. ((!"|\."|\?")|[!\?\.]) can help.

more

I had made the same mistake, and had do remove my answer afterwards. The OP wants two space chars after each sentence, not two paragraphs after each paragraph...

( 2018-12-02 19:22:47 +0100 )edit

You really sure? I'm not.

( 2018-12-02 19:33:12 +0100 )edit

After all I'm at least sure to have wasted time again. A solution by F&R seems too complicated, imo.

( 2018-12-02 19:41:35 +0100 )edit

Thank you for your suggestion and comments. However, I do not know how to make use of them with the exception that I leave one space even after the end of the sentence.

Trying to follow the answer: I go to Styles, select Text Body then Edit Style where I do not see a way to add two spaces. There is spacing above and below paragraph.

The first comment helped me. I tried to do it this way but went wrong in some way.

Thank you all.

more

Please make sure to use the term space only if you actually mean the non-printing little whitespace between two words (e.g.).
If you mean something concerning line wrapping (vertical positioning of text) there are two possibilities being different in a relevant way: NewLine (hard line break) and NewParagraph (paragraph break).
I feel sure you were talking of paragraph breaks.

( 2018-12-02 19:01:37 +0100 )edit

I'm kind of a stumble - bum when it comes to regular expressions, and don't have my cheat sheet handy, but I believe you can search for the dot character followed by only one space and an alpha character, then replace with dot space space same character.

more