summaryrefslogtreecommitdiffstats
path: root/helpcontent2/source/text/shared/guide/space_hyphen.xhp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
commited5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch)
tree7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /helpcontent2/source/text/shared/guide/space_hyphen.xhp
parentInitial commit. (diff)
downloadlibreoffice-upstream.tar.xz
libreoffice-upstream.zip
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'helpcontent2/source/text/shared/guide/space_hyphen.xhp')
-rw-r--r--helpcontent2/source/text/shared/guide/space_hyphen.xhp62
1 files changed, 62 insertions, 0 deletions
diff --git a/helpcontent2/source/text/shared/guide/space_hyphen.xhp b/helpcontent2/source/text/shared/guide/space_hyphen.xhp
new file mode 100644
index 000000000..e415a6f45
--- /dev/null
+++ b/helpcontent2/source/text/shared/guide/space_hyphen.xhp
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<helpdocument version="1.0">
+
+<!--
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ -->
+
+
+<meta>
+<topic id="textsharedguidespace_hyphenxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Inserting Non-breaking Spaces, Hyphens and Soft Hyphens</title>
+<filename>/text/shared/guide/space_hyphen.xhp</filename>
+</topic>
+</meta>
+<body>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155364"><bookmark_value>protected spaces;inserting</bookmark_value>
+<bookmark_value>non-breaking spaces;inserting</bookmark_value>
+<bookmark_value>spaces; inserting protected spaces</bookmark_value>
+<bookmark_value>soft hyphens;inserting</bookmark_value>
+<bookmark_value>hyphens;inserting custom</bookmark_value>
+<bookmark_value>conditional separators</bookmark_value>
+<bookmark_value>separators; conditional</bookmark_value>
+<bookmark_value>dashes</bookmark_value>
+<bookmark_value>non-breaking hyphens</bookmark_value>
+<bookmark_value>replacing;dashes</bookmark_value>
+<bookmark_value>protected hyphens</bookmark_value>
+<bookmark_value>exchanging, see also replacing</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155364" xml-lang="en-US" level="1"><variable id="space_hyphen"><link href="text/shared/guide/space_hyphen.xhp" name="Inserting Non-breaking Spaces, Hyphens and Soft Hyphens">Inserting Non-breaking Spaces, Hyphens and Soft Hyphens</link>
+</variable></paragraph>
+<paragraph role="heading" id="hd_id3156136" xml-lang="en-US" level="2">Non-breaking spaces</paragraph>
+<paragraph role="paragraph" id="par_id3147008" xml-lang="en-US">To prevent two words from being separated at the end of a line, hold down the <switchinline select="sys"><caseinline select="MAC">Command key
+</caseinline><defaultinline>Ctrl key</defaultinline></switchinline> and the Shift key when you type a space between the words.</paragraph>
+<paragraph role="note" id="par_id5749687" xml-lang="en-US">In Calc, you cannot insert non-breaking spaces.</paragraph>
+<paragraph role="heading" id="hd_id3146957" xml-lang="en-US" level="2">Non-breaking hyphen</paragraph>
+<paragraph role="paragraph" id="par_id3148538" xml-lang="en-US">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 <keycode>Shift+</keycode><switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline><keycode>+ minus</keycode> sign. In other words, hold down the <keycode>Shift</keycode> and <switchinline select="sys"><caseinline select="MAC"><keycode>Command</keycode></caseinline><defaultinline><keycode>Ctrl</keycode></defaultinline></switchinline> keys and press the <keycode>minus</keycode> key.</paragraph>
+<paragraph role="heading" id="hd_id3163802" xml-lang="en-US" level="2">Replacing hyphens by dashes</paragraph>
+<paragraph role="paragraph" id="par_id3154749" xml-lang="en-US">In order to enter dashes, you can find under <emph>Tools - AutoCorrect - AutoCorrect Options - Options</emph> the <emph>Replace dashes</emph> option. This option replaces one or two hyphens under certain conditions with an en-dash or an em-dash (see <link href="text/shared/01/06040100.xhp" name="AutoCorrect Options">AutoCorrect Options</link>).</paragraph>
+<paragraph role="paragraph" id="par_id3153561" xml-lang="en-US">For additional replacements see the replacements table under <emph>Tools - AutoCorrect - AutoCorrect Options</emph>
+<emph>- </emph><link href="text/shared/01/06040200.xhp" name="Replace"><emph>Replace</emph></link>. Here you can, among other things, replace a shortcut automatically by a dash, even in another font.</paragraph>
+<paragraph role="heading" id="hd_id3153825" xml-lang="en-US" level="2">Soft hyphen</paragraph>
+<paragraph role="paragraph" id="par_id3154306" xml-lang="en-US">To support automatic hyphenation by entering a soft hyphen inside a word yourself, use the keys <switchinline select="sys"><caseinline select="MAC">Command
+</caseinline><defaultinline>Ctrl</defaultinline></switchinline><keycode>+minus</keycode> 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.</paragraph>
+<embed href="text/shared/00/00000004.xhp#related"/>
+<paragraph role="paragraph" id="par_id3151245" xml-lang="en-US"><link href="text/shared/01/04100000.xhp" name="Special characters">Special characters</link></paragraph>
+<embed href="text/shared/01/formatting_mark.xhp#formattingmark"/>
+</body>
+</helpdocument>