diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:54:39 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:54:39 +0000 |
commit | 267c6f2ac71f92999e969232431ba04678e7437e (patch) | |
tree | 358c9467650e1d0a1d7227a21dac2e3d08b622b2 /helpcontent2/source/text/swriter/guide/hyphen_prevent.xhp | |
parent | Initial commit. (diff) | |
download | libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.tar.xz libreoffice-267c6f2ac71f92999e969232431ba04678e7437e.zip |
Adding upstream version 4:24.2.0.upstream/4%24.2.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'helpcontent2/source/text/swriter/guide/hyphen_prevent.xhp')
-rw-r--r-- | helpcontent2/source/text/swriter/guide/hyphen_prevent.xhp | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/helpcontent2/source/text/swriter/guide/hyphen_prevent.xhp b/helpcontent2/source/text/swriter/guide/hyphen_prevent.xhp new file mode 100644 index 0000000000..0921c067e3 --- /dev/null +++ b/helpcontent2/source/text/swriter/guide/hyphen_prevent.xhp @@ -0,0 +1,66 @@ +<?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="textswriterguidehyphen_preventxhp" indexer="include" status="PUBLISH"> + <title xml-lang="en-US" id="tit">Preventing Hyphenation of Specific Words</title> + <filename>/text/swriter/guide/hyphen_prevent.xhp</filename> + </topic> + </meta> + <body> +<bookmark xml-lang="en-US" branch="index" id="bm_id3149695"><bookmark_value>hyphenation;preventing for specific words</bookmark_value> + <bookmark_value>words;wrapping/not wrapping in text</bookmark_value> + <bookmark_value>switching off;hyphenation for specific words</bookmark_value> +</bookmark> +<h1 xml-lang="en-US" id="hd_id3149695"><variable id="hyphen_prevent"><link href="text/swriter/guide/hyphen_prevent.xhp">Preventing Hyphenation of Specific Words</link> +</variable></h1><comment>MW created this guide from splitting using_hyphen.xhp</comment> +<paragraph xml-lang="en-US" id="par_id5640125" role="paragraph">If your text is <link href="text/swriter/guide/using_hyphen.xhp">automatically hyphenated</link> and certain hyphenated words look ugly, or if you want specific words never to be hyphenated you can switch off hyphenation for those words:</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153634" role="listitem">Choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - Languages and Locales - Writing Aids</emph> + </paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3153658" role="listitem">Select a dictionary in the <emph>User-defined dictionary </emph>list, and then click <emph>Edit</emph>.</paragraph> + <paragraph xml-lang="en-US" id="par_id3147125" role="listitem">If the list is empty, click <emph>New</emph> to create a dictionary.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150218" role="listitem">In the<emph> Word</emph> box, type the word you want to exclude from hyphenation, followed by an equal sign (=), for example, "pretentious=".</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id3150247" role="listitem">Click <emph>New</emph>, and then click <emph>Close</emph>.</paragraph> + </listitem> + </list> + <tip xml-lang="en-US" id="par_id3147036">To quickly exclude a word from hyphenation, select the word, choose <emph>Format - Character</emph>, click the <emph>Font </emph>tab, and select "None" in the <emph>Language </emph>box.</tip> + <paragraph xml-lang="en-US" id="par_id0302200910262761" role="paragraph">Some words contain special characters that %PRODUCTNAME treats as a hyphen. If you do not want such words to be hyphenated, you can insert a special code that prevents hyphenation at the position where the special code is inserted. Proceed as follows:</paragraph> + <list type="ordered"> + <listitem> + <paragraph xml-lang="en-US" id="par_id0302200910262837" role="listitem">Position the cursor at the place where no hyphenation should occur.</paragraph> + </listitem> + <listitem> + <paragraph xml-lang="en-US" id="par_id0302200910262867" role="listitem">Choose <menuitem>Insert - Formatting Mark - Word Joiner</menuitem>.</paragraph> + <paragraph role="paragraph" id="par_id501639661322712">The inserted formatting mark will be shown in gray. To remove it, simply place the cursor over the formatting mark and press the <keycode>Del</keycode> key.</paragraph> + </listitem> + </list> + <section id="relatedtopics"> + <embed href="text/swriter/guide/using_hyphen.xhp#using_hyphen"/> + <paragraph xml-lang="en-US" id="par_id3154361" role="paragraph"><link href="text/swriter/01/05030200.xhp">Text Flow</link></paragraph> + </section> + </body> +</helpdocument> |