Difference between revisions of "Inserting dashes and non-breaking spaces"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Non-breaking spaces --> added Shift)
 
Line 11: Line 11:
 
== Non-breaking hyphen ==
 
== Non-breaking hyphen ==
 
You can use a non-breaking hyphen in cases where you do not want the hyphen to appear at the end of a line. Examples of non-breaking hyphens are: in a range such as A‑Z or the hyphens in a telephone number, such as 123‑4567. To insert a non-breaking hyphen, press ''Shift+Control+minus sign''.
 
You can use a non-breaking hyphen in cases where you do not want the hyphen to appear at the end of a line. Examples of non-breaking hyphens are: in a range such as A‑Z or the hyphens in a telephone number, such as 123‑4567. To insert a non-breaking hyphen, press ''Shift+Control+minus sign''.
 +
<noinclude>[[Category:Documentation]]</noinclude>

Latest revision as of 12:11, 10 March 2010

En and em dashes

You can insert a dash by using the Special Characters window or by using the Replace dashes option under Tools > AutoCorrect > Options.

– is an en-dash; that is, a dash the width of the letter "n" in the font you are using. It is U+2013 (scroll down to the General Punctuation section in the Special Characters window). To enter an en-dash using AutoCorrect, type at least one character, a space, two hyphens, another space, and at least one more letter, then a space. The two hyphens will be replaced by an en-dash.

— is an em-dash; that is, a dash the width of the letter "m" in the font you are using. It is U+2014. To enter it using AutoCorrect, type at least one character, two hyphens, and at least one more character, then a space. The two hyphens will be replaced by an em-dash.

Non-breaking spaces

To insert a non-breaking space (to keep characters together, for example in a telephone number), press Control+Shift+Space on the keyboard.

Non-breaking hyphen

You can use a non-breaking hyphen in cases where you do not want the hyphen to appear at the end of a line. Examples of non-breaking hyphens are: in a range such as A‑Z or the hyphens in a telephone number, such as 123‑4567. To insert a non-breaking hyphen, press Shift+Control+minus sign.

Personal tools