| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/shared/guide/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Inserting Non-breaking Spaces, Hyphens and Soft Hyphens</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for all modules" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="bm_id3155364"></a><meta itemprop="keywords" content="protected spaces,inserting">
<meta itemprop="keywords" content="non-breaking spaces,inserting">
<meta itemprop="keywords" content="spaces, inserting protected spaces">
<meta itemprop="keywords" content="soft hyphens,inserting">
<meta itemprop="keywords" content="hyphens,inserting custom">
<meta itemprop="keywords" content="conditional separators">
<meta itemprop="keywords" content="separators, conditional">
<meta itemprop="keywords" content="dashes">
<meta itemprop="keywords" content="non-breaking hyphens">
<meta itemprop="keywords" content="replacing,dashes">
<meta itemprop="keywords" content="protected hyphens">
<meta itemprop="keywords" content="exchanging, see also replacing">
<h1 id="hd_id3155364" dir="auto">
<a name="space_hyphen"></a>Inserting Non-breaking Spaces, Hyphens and Soft Hyphens
</h1>
<h2 id="hd_id3156136" dir="auto">Non-breaking spaces</h2>
<p id="par_id3147008" class="paragraph" dir="auto">To prevent two words from being separated at the end of a line, hold down the <span id="swlnsystextsharedguidespace_hyphenxml_1" class="switchinline"><span hidden="true" id="MACtextsharedguidespace_hyphenxml_1" class="MAC">Command key
</span><span hidden="true" id="defaulttextsharedguidespace_hyphenxml_1">Ctrl key</span></span> and the Shift key when you type a space between the words.</p>
<div class="note">
<div class="noteicon" dir="auto"><img src="media/icon-themes/res/helpimg/note.svg" alt="note" style="width:40px;height:40px;"></div>
<div class="notetext"><p id="par_id5749687" dir="auto">In Calc, you cannot insert non-breaking spaces.</p></div>
</div>
<br>
<h2 id="hd_id3146957" dir="auto">Non-breaking hyphen</h2>
<p id="par_id3148538" class="paragraph" dir="auto">An example of a non-breaking hyphen is a company name such as A-Z. Obviously you would not want A- to appear at the end of a line and Z at the beginning of the next line. To solve this problem, press <span class="keycode">Shift+</span><span id="swlnsystextsharedguidespace_hyphenxml_2" class="switchinline"><span hidden="true" id="MACtextsharedguidespace_hyphenxml_2" class="MAC"><span class="keycode">Command</span></span><span hidden="true" id="defaulttextsharedguidespace_hyphenxml_2"><span class="keycode">Ctrl</span></span></span><span class="keycode">+ minus</span> sign. In other words, hold down the <span class="keycode">Shift</span> and <span id="swlnsystextsharedguidespace_hyphenxml_3" class="switchinline"><span hidden="true" id="MACtextsharedguidespace_hyphenxml_3" class="MAC"><span class="keycode">Command</span></span><span hidden="true" id="defaulttextsharedguidespace_hyphenxml_3"><span class="keycode">Ctrl</span></span></span> keys and press the <span class="keycode">minus</span> key.</p>
<h2 id="hd_id3163802" dir="auto">Replacing hyphens by dashes</h2>
<p id="par_id3154749" class="paragraph" dir="auto">In order to enter dashes, you can find under <span class="emph">Tools - AutoCorrect - AutoCorrect Options - Options</span> the <span class="emph">Replace dashes</span> option. This option replaces one or two hyphens under certain conditions with an en-dash or an em-dash (see <a target="_top" href="en-US/text/shared/01/06040100.html">AutoCorrect Options</a>).</p>
<p id="par_id3153561" class="paragraph" dir="auto">For additional replacements see the replacements table under <span class="emph">Tools - AutoCorrect - AutoCorrect Options</span>
<span class="emph">- </span><a target="_top" href="en-US/text/shared/01/06040200.html"><span class="emph">Replace</span></a>. Here you can, among other things, replace a shortcut automatically by a dash, even in another font.</p>
<h2 id="hd_id3153825" dir="auto">Soft hyphen</h2>
<p id="par_id3154306" class="paragraph" dir="auto">To support automatic hyphenation by entering a soft hyphen inside a word yourself, use the keys <span id="swlnsystextsharedguidespace_hyphenxml_4" class="switchinline"><span hidden="true" id="MACtextsharedguidespace_hyphenxml_4" class="MAC">Command
</span><span hidden="true" id="defaulttextsharedguidespace_hyphenxml_4">Ctrl</span></span><span class="keycode">+minus</span> sign. The word is separated at this position when it is at the end of the line, even if automatic hyphenation for this paragraph is switched off.</p>
<a name="relatedtopics"></a><div class="relatedtopics">
<p class="related" itemprop="mentions" dir="auto"><a name="related"></a><span class="emph">Related Topics</span>
</p>
<div class="relatedbody" itemprop="mentions">
<p id="par_id3151245" class="paragraph" dir="auto"><a target="_top" href="en-US/text/shared/01/04100000.html">Special characters</a></p>
<div class="embedded"><p class="embedded" dir="auto"><a target="_top" href="en-US/text/shared/01/formatting_mark.html">Formatting Mark</a> </p></div>
</div>
</div>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/shared/guide/space_hyphen.xhp" target="_blank">/text/shared/guide/space_hyphen.xhp</a></p>
<p dir="auto">Title is: Inserting Non-breaking Spaces, Hyphens and Soft Hyphens</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>