xref: /trunk/main/helpcontent2/source/text/swriter/guide/using_hyphen.xhp (revision 67f7bfb15893aaa2f3b1ee7ec6b966aaaad422fc)
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--***********************************************************
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements.  See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership.  The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License.  You may obtain a copy of the License at
12 *
13 *   http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied.  See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 ***********************************************************-->
23
24<helpdocument version="1.0">
25<meta>
26<topic id="textswriterguideusing_hyphenxml" indexer="include" status="PUBLISH">
27<title xml-lang="en-US" id="tit">Hyphenation</title>
28<filename>/text/swriter/guide/using_hyphen.xhp</filename>
29</topic>
30</meta>
31<body>
32<bookmark xml-lang="en-US" branch="index" id="bm_id3149695">
33<bookmark_value>hyphenation;manual/automatic</bookmark_value>
34<bookmark_value>separation, see hyphenation</bookmark_value>
35<bookmark_value>automatic hyphenation in text</bookmark_value>
36<bookmark_value>manual hyphenation in text</bookmark_value>
37</bookmark><comment>mw transferred 2 entries to hyphen_prevent.xhp</comment>
38<paragraph xml-lang="en-US" id="hd_id3149695" role="heading" level="1" l10n="U"><variable id="using_hyphen"><link href="text/swriter/guide/using_hyphen.xhp" name="Hyphenation">Hyphenation</link>
39</variable></paragraph>
40<paragraph xml-lang="en-US" id="par_id3155918" role="paragraph" l10n="U">By default, $[officename] moves words that do not fit on a line to the next line. If you want, you can use automatic or manual hyphenation to avoid this behavior:</paragraph>
41<paragraph xml-lang="en-US" id="hd_id3155864" role="heading" level="2" l10n="U">Automatic Hyphenation</paragraph>
42<paragraph xml-lang="en-US" id="par_id3147414" role="paragraph" l10n="U">Automatic hyphenation inserts hyphens where they are needed in a paragraph. This option is only available for paragraph styles and individual paragraphs.</paragraph>
43<paragraph xml-lang="en-US" id="hd_id3149832" role="heading" level="3" l10n="U">To Automatically Hyphenate Text in a Paragraph</paragraph>
44<list type="ordered">
45<listitem>
46<paragraph xml-lang="en-US" id="par_id3148850" role="listitem" l10n="U">Right-click in a paragraph, and choose <emph>Paragraph</emph>.</paragraph>
47</listitem>
48<listitem>
49<paragraph xml-lang="en-US" id="par_id3156104" role="listitem" l10n="U">Click the <link href="text/swriter/01/05030200.xhp" name="Text Flow"><emph>Text Flow</emph></link> tab.</paragraph>
50</listitem>
51<listitem>
52<paragraph xml-lang="en-US" id="par_id3150101" role="listitem" l10n="U">In the Hyphenation area, select the Automatically check box.</paragraph>
53</listitem>
54<listitem>
55<paragraph xml-lang="en-US" id="par_id3153121" role="listitem" l10n="U">Click <emph>OK</emph>.</paragraph>
56</listitem>
57</list>
58<paragraph xml-lang="en-US" id="hd_id3149629" role="heading" level="3" l10n="U">To Automatically Hyphenate Text in Multiple Paragraphs</paragraph>
59<paragraph xml-lang="en-US" id="par_id3149644" role="paragraph" l10n="U">If you want to automatically hyphenate more than one paragraph, use a paragraph style.</paragraph>
60<paragraph xml-lang="en-US" id="par_id3149956" role="paragraph" l10n="U">For example, enable the automatic hyphenation option for the "Default" paragraph style, and then apply the style to the paragraphs that you want to hyphenate.</paragraph>
61<list type="ordered">
62<listitem>
63<paragraph xml-lang="en-US" id="par_id3149611" role="listitem" l10n="U">Choose <emph>Format - Styles and Formatting</emph>, and then click the <emph>Paragraph Styles</emph> icon.</paragraph>
64</listitem>
65<listitem>
66<paragraph xml-lang="en-US" id="par_id3149867" role="listitem" l10n="U">Right-click the paragraph style that you want to hyphenate, and then choose <emph>Modify</emph>.</paragraph>
67</listitem>
68<listitem>
69<paragraph xml-lang="en-US" id="par_id3145106" role="listitem" l10n="U">Click the Text Flow tab.</paragraph>
70</listitem>
71<listitem>
72<paragraph xml-lang="en-US" id="par_id3149582" role="listitem" l10n="U">In the <emph>Hyphenation</emph> area, select the <emph>Automatically</emph> check box.</paragraph>
73</listitem>
74<listitem>
75<paragraph xml-lang="en-US" id="par_id3156250" role="listitem" l10n="U">Click <emph>OK</emph>.</paragraph>
76</listitem>
77<listitem>
78<paragraph xml-lang="en-US" id="par_id3145400" role="listitem" l10n="U">Apply the style to the paragraphs that you want to hyphenate.</paragraph>
79</listitem>
80</list>
81<paragraph xml-lang="en-US" id="hd_id3145417" role="heading" level="2" l10n="U">Manual Hyphenation</paragraph>
82<paragraph xml-lang="en-US" id="par_id3154400" role="paragraph" l10n="U">You can insert a hyphen where you want on a line, or let $[officename] search for the words to hyphenate, and then offer a suggested hyphenation.</paragraph>
83<paragraph xml-lang="en-US" id="" role="heading" level="3" l10n="NEW">To Manually Hyphenate Single Words</paragraph>
84<paragraph xml-lang="en-US" id="par_id3153363" role="paragraph" l10n="U">To quickly insert a hyphen, click in the word where you want to add the hyphen, and then press <switchinline select="sys"><caseinline select="MAC">Command
85</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+Hyphen(-).</paragraph>
86<paragraph xml-lang="en-US" id="par_id3154244" role="paragraph" l10n="U">If you insert a manual hyphen in a word, the word is only hyphenated at the manual hyphen. No additional automatic hyphenation is applied for this word. A word with a manual hyphen will be hyphenated without regard to the settings on the <emph>Text Flow</emph> tab page.</paragraph>
87<paragraph xml-lang="en-US" id="hd_id3154847" role="heading" level="3" l10n="U">To Manually Hyphenate Text in a Selection</paragraph>
88<list type="ordered">
89<listitem>
90<paragraph xml-lang="en-US" id="par_id3154869" role="listitem" l10n="U">Select the text that you want to hyphenate.</paragraph>
91</listitem>
92<listitem>
93<paragraph xml-lang="en-US" id="par_id3155886" role="listitem" l10n="CHG">Choose <emph>Tools - Language - Hyphenation</emph>.</paragraph>
94</listitem>
95</list>
96<embed href="text/shared/00/00000004.xhp#related"/>
97<embed href="text/swriter/guide/spellcheck_dialog.xhp#spellcheck_dialog"/>
98<embed href="text/swriter/guide/using_thesaurus.xhp#using_thesaurus"/>
99<embed href="text/swriter/guide/template_default.xhp#template_default"/>
100<embed href="text/swriter/guide/hyphen_prevent.xhp#hyphen_prevent"/>
101<paragraph xml-lang="en-US" id="par_id3154361" role="paragraph" l10n="U"><link href="text/swriter/01/05030200.xhp" name="Text Flow">Text Flow</link></paragraph>
102</body>
103</helpdocument>
104