<?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="textswriterguidechapter_numberingxml" indexer="include" status="PUBLISH">
    <title id="tit" xml-lang="en-US">Chapter Numbering</title>
    <filename>/text/swriter/guide/chapter_numbering.xhp</filename>
  </topic>
</meta>

<body>

<bookmark xml-lang="en-US" branch="index" id="bm_id3147682">
  <bookmark_value>outlines;numbering</bookmark_value>
  <bookmark_value>chapters;numbering</bookmark_value>
  <bookmark_value>deleting;heading numbers</bookmark_value>
  <bookmark_value>chapter numbering</bookmark_value>
  <bookmark_value>headings; numbering/paragraph styles</bookmark_value>
  <bookmark_value>numbering;headings</bookmark_value>
</bookmark>
<comment>MW changed "removing;..." to "deleting;..." and made "outline numbering" a two level entry</comment>

<h1 id="hd_id3147682" xml-lang="en-US"><variable id="chapter_numbering"><link href="text/swriter/guide/chapter_numbering.xhp" name="Chapter Numbering">Chapter Numbering</link></variable></h1>
<paragraph id="par_id3155605" role="paragraph" xml-lang="en-US">You can modify the heading hierarchy or assign a level in the hierarchy to a custom paragraph style. You can also add chapter and section numbering to heading paragraph styles. By default, the "Heading 1" paragraph style is at the top of the chapter hierarchy.</paragraph>

<h2 id="hd_id3155626" xml-lang="en-US">To Add Automatic Numbering to a Heading Style</h2>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3154255" role="listitem" xml-lang="en-US">Choose <menuitem>Tools - Chapter Numbering</menuitem>, and then click the <menuitem>Numbering</menuitem> tab.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3155891" role="listitem" xml-lang="en-US">In the <menuitem>Paragraph style</menuitem> box, select the heading style that you want to add chapter numbers to.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3150513" role="listitem" xml-lang="en-US">In the <menuitem>Number</menuitem> box, select the numbering scheme that you want to use, and then click <menuitem>OK</menuitem>.</paragraph>
  </listitem>
</list>

<h2 id="par_idN107CE" xml-lang="en-US">To Remove Automatic Chapter Numbering From a Heading Paragraph</h2>

<list type="ordered">
  <listitem>
    <paragraph id="par_idN107D5" role="listitem" xml-lang="en-US">Click at the beginning of the text in the heading paragraph, after the number.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_idN107D9" role="listitem" xml-lang="en-US">Press the <keycode>Backspace</keycode> key to delete the number.</paragraph>
  </listitem>
</list>
<note id="par_id441614161571912">Press <keycode>Shift+Backspace</keycode> with the cursor at the beginning of the heading to return the number.</note>
<h2 id="hd_id3155552" xml-lang="en-US">To Use a Custom Paragraph Style as a Heading</h2>

<list type="ordered">
  <listitem>
    <paragraph id="par_id3155571" role="listitem" xml-lang="en-US">Choose <item type="menuitem">Tools - Chapter Numbering</item>, and then click the <item type="menuitem">Numbering</item> tab.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3147782" role="listitem" xml-lang="en-US">Click the heading level that you want to assign to the custom paragraph style in the <item type="menuitem">Level</item> list.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3147758" role="listitem" xml-lang="en-US">Select the custom style in the <emph>Paragraph Style</emph> box.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3147808" role="listitem" xml-lang="en-US">Click <emph>OK</emph>.</paragraph>
  </listitem>
</list>
<section id="relatedtopics">
<embed href="text/swriter/guide/arrange_chapters.xhp#arrange_chapters"/>
</section>
</body>

</helpdocument>
