summaryrefslogtreecommitdiff
path: root/source/text/swriter/guide/indenting.xhp
blob: 8d29fd12e705d495d99360d083180bac5c5ca804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?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="textswriterguideindentingxhp" indexer="include" status="PUBLISH">
         <title xml-lang="en-US" id="tit">Indenting Paragraphs</title>
         <filename>/text/swriter/guide/indenting.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3155869"><bookmark_value>formatting; indenting paragraphs</bookmark_value>
      <bookmark_value>indents;in text</bookmark_value>
      <bookmark_value>paragraphs; indents</bookmark_value>
      <bookmark_value>hanging indents in paragraphs</bookmark_value>
      <bookmark_value>right indents in paragraphs</bookmark_value>
      <bookmark_value>lines of text; indents</bookmark_value>
      <bookmark_value>changing;indents</bookmark_value>
</bookmark><comment>mw made indents a two level entry, changed "paragraphs;"  and copied "changing;indents" from writer guide "ruler.xhp"</comment>
<h1 xml-lang="en-US" id="hd_id129398"><variable id="indenting"><link href="text/swriter/guide/indenting.xhp">Indenting Paragraphs</link>
</variable></h1><comment>see i66307</comment>
      <paragraph xml-lang="en-US" id="par_id9936216" role="paragraph">You can change the indents for the current paragraph, or for all selected paragraphs, or for a Paragraph Style.</paragraph>
      <list type="unordered">
         <listitem>
            <paragraph xml-lang="en-US" id="par_id4013794" role="paragraph">Choose <item type="menuitem">Format - Paragraph - Indents &amp; Spacing</item> to change the indents for the current paragraph or for all selected paragraphs. You can also <link href="text/swriter/guide/ruler.xhp" name="ruler">set indents using the ruler</link>.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id1631824" role="paragraph">Right-click a paragraph and choose <menuitem>Paragraph - Edit Style - Indents &amp; Spacing</menuitem> tab to change the indents for all paragraphs that have the same Paragraph Style.</paragraph>
         </listitem>
      </list>
 <tip xml-lang="en-US" id="par_id7953123">You can also <link href="text/swriter/guide/ruler.xhp" name="ruler">set indents using the ruler</link>. To display the ruler, choose <item type="menuitem">View - Ruler</item>.</tip>
<h2 id="hd_id361605222538173">Positioning indents</h2>
      <paragraph xml-lang="en-US" id="par_id7271645" role="paragraph">Indents are calculated with respect to the left and right page margins. If you want the paragraph to extend into the page margin, enter a negative number. </paragraph>
<note xml-lang="en-US" id="par_id5589159">To change the measurement units, choose <switchinline select="sys"><caseinline select="MAC"><item type="menuitem">%PRODUCTNAME - Preferences</item></caseinline><defaultinline><item type="menuitem">Tools - Options</item></defaultinline></switchinline><item type="menuitem"> - %PRODUCTNAME Writer - General</item>, and then select a new measurement unit in the Settings area. </note>
      <paragraph xml-lang="en-US" id="par_id2136295" role="paragraph">The indents are different regarding the writing direction. For example, look at the <item type="menuitem">Before text </item>indent value in left-to-right languages. The left edge of the paragraph is indented with respect to the left page margin. In right-to-left languages, the right edge of the paragraph is indented with respect to the right page margin.</paragraph>
  <h2 id="hd_id671605222596649">Hanging indents</h2>
      <paragraph xml-lang="en-US" id="par_id4186223" role="paragraph">For a hanging indent, enter a positive value for <item type="menuitem">Before text</item> and a negative value for <item type="menuitem">First line</item>.</paragraph>
<paragraph role="paragraph" id="par_id811605224853050">The <emph>Hanging Indent</emph> icon is found in the Paragraph section of the Properties sidebar. Click on this icon to switch the values of <menuitem>Before text</menuitem>  and <menuitem>First line</menuitem>. This enables you to toggle a paragraph between an indented first line and a hanging indent.</paragraph>
<paragraph role="paragraph" id="par_id151605225966778">To create a hanging indent: Enter a first line indent where you want the indent to start, then click the Hanging Indent icon to create the hanging indent.</paragraph>
<table id="tab_id191605223016307">
    <tablerow>
        <tablecell>
            <paragraph role="paragraph" id="par_id331605223016307">
<image src="cmd/lc_hangingindent.png" id="img_id121605223016307" width="1cm" height="1cm"><alt id="alt_id61605223016307">Hanging Indent Icon</alt></image></paragraph>
       </tablecell>
       <tablecell>
           <paragraph id="par_id881605223016307" role="paragraph">Hanging Indent Icon</paragraph>
       </tablecell>
    </tablerow>
</table>
     <paragraph role="paragraph" id="par_id901605225508322">The <emph>Hanging Indent</emph> command can be added as a <link href="text/shared/guide/edit_symbolbar" name="addbutton">button to a toolbar</link>, an <link href="text/shared/01/06140100.xhp" name="addmenuitem">item in a menu</link> or <link href="text/shared/01/06140300.xhp" name="modifymenu">context menu</link>, or a <link href="text/shared/01/06140200.xhp" name="makeshortcut">shortcut key</link>.</paragraph>
<section id="relatedtopics">
  <embed href="text/swriter/guide/ruler.xhp#ruler"/>
  <embed href="text/swriter/guide/templates_styles.xhp#templates_styles"/>
  <paragraph xml-lang="en-US" id="par_id1491134" role="paragraph"><link href="text/shared/01/05030100.xhp">Format - Paragraph - Indents &amp; Spacing</link></paragraph>
</section>
</body>
</helpdocument>