Tech Tips Home
The Best Tech Tips And Daily Deals
Newsletter On The Internet!

WorldStart Tech Tip And Store Search
Email: Password: Login Remember Me

Like what you see here? Subscribe to the Tech Tips newsletter!   Email: Subscribe

Controlling Hyphens and Spaces in OpenOffice Writer

Monday, February 14th, 2011 by | Filed Under: OpenOffice
Loading... Writer: Hyphens and Spaces Can Be Non-Breaking or Optional?

When you’re writing a document and you see the program split something like a date between two lines, do you ever wonder how to prevent that from happening?

Let’s face it… this looks just plain weird

……………………………………………. Monday, July

4, 2011 ……………………………………………………

You could play with margins and whatnot, but for the most part, it will mess with the whole document.

I’ve seen people actually use the Enter key to force the Monday onto the next line… too bad that one is a nightmare during editing. If you add or delete from that paragraph, you’re likely to have a huge gap somewhere that you’ll have to remember to fix. Not to mention future editing, when you just might have to put the line break back in.

No… too much work!

So now what?

Do we just let it go?

Naw… that just wouldn’t be our style.

To avoid the split dates and other weird-looking splits from the end of one line to the beginning of another, we’re going to investigate non-breaking spaces, non-breaking hyphens and optional hyphens.

The non-breaking spaces and hyphens are exactly what they’re called. They are special spaces and hyphens in your document that are not allowed to cause a break from one row to the next.

In other words, the text to the left and right of the non-breaking character must be on the same line.

Next let’s talk about that optional hyphen I mentioned earlier.

An optional hyphen is one that you insert within a word, at the location of your choosing, but it is invisible and unused, unless it’s needed to break the word at the end of a line.

Even if you have the automatic hyphenation turned on, words that you’ve used an optional hyphen in will only be broken in the place you chose.

Now that we know what they are, the next logical step is to talk about how to get them into your documents.

If you’re not great with the whole memorizing the key combination thing, then after you place your cursor where you want to insert the hyphen or space, you’ll need to head over to the Insert menu.

There you’ll want to use the Formatting Mark sub-menu to choose the type of hyphen or space you need.

If you are partial to the key combination idea, the sub-menu lists those too.

Ctrl + Shift + Space is used to create a non-breaking space

Ctrl + Shift + – creates a non-breaking hyphen

Ctrl + – will insert an optional hyphen

In your document, you’ll notice that you now have gray shading where the hyphen or space was inserted. Here’s what a non-breaking space looks like while you’re editing your document:

This one is a non-breaking hyphen:

and this one is an optional hyphen:

As you can see – they’re always in the document, but only used when needed, based on text wrapping at the end of a line. Oh, and don’t worry – they are invisible when printing the document.

No more messing with margins to force a certain look, no more aggravation with Writer, while you try to get a hyphenated phrase onto a single line… it can all be controlled with these easy to use formatting marks.

~ April

Tags: ,

3 Responses to “Controlling Hyphens and Spaces in OpenOffice Writer”

  1. Fink Holloway says:

    How does this work in Office 2007?

  2. Niki Fields says:

    Great tip! Thanks!

  3. jarze says:

    Sounds good, but it doesn’t work. Now I have a non-breaking hyphen at the end of the line, just as I had with the normal hyphen… Only difference is that the hyphen is now with grey background.

Leave a Reply

Like these tips? Get them for FREE in your email!

WorldStart's Tech Tips Newsletter

  • Tech Tips Daily - Become a tech pro! Get the very best tech and computer help sent directly to your email every weekday!

  • Tech Tips Weekly - If you don't want our Tech Tips newsletter every day, then sign up for this weekly newsletter to get the best information of the week. Sent on Fridays.

Other Newsletters

  • WorldStart's Daily Deals - Every week, we send out great deals in our Daily Deals newsletter. Many of these deals are exclusively for our Daily Deals newsletter subscribers and can't be found with our regular specials.

  • Just For Grins - Each issue includes a couple clean jokes, some funny quotes, and a hilarious reader's story. Newsletter is sent five days a week.

Enter Email Address:


Your e-mail address is safe with us!
We only use it to send you the newsletters you request. It is NEVER disclosed to a third party for any reason, ever! Plus, if you decided you don't like our newsletters (don't worry, you'll love them), unsubscribing is fast and easy.

Free Newsletter Signup

Tech Tips Daily

Become a tech pro! Get the very best tech and computer help sent directly to your email every weekday!

Tech Tips Weekly

The week's best in tech and computer help. Get your issue sent to your email every Friday!

WorldStart's Daily Deals

The very best deals on the Internet! Get a new set of incredible sales every day of the week!

Just For Grins

Clean jokes, funny quotes, and hilarious comics. Sent 5 times a week straight to your email.


Love Worldstart? Refer A Friend!

WorldStart's Premium Membership

Tip Archive