<?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">Numbering for Headings</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">Numbering for Headings</link></variable></h1>
<paragraph id="par_id3155605" role="paragraph" xml-lang="en-US">Use the <link href="text/swriter/01/06060000.xhp"><menuitem>Heading Numbering</menuitem></link> dialog to add numbering to <link href="text/shared/00/00000005.xhp#heading">headings</link>. The different levels in the dialog enable you to assign different headings as an outline structure for your document. In the default settings, the “Heading 1” paragraph style is assigned outline level 1. It is considered to be the top level in the document outline structure. The “Heading 2” paragraph style is assigned outline level 2, and so forth. You can also use the dialog to assign a custom paragraph style as a heading in the document structure.</paragraph>

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

<list type="ordered">
  <listitem>
    <paragraph id="par_id3154255" role="listitem" xml-lang="en-US">Choose <menuitem>Tools - Heading Numbering</menuitem>, and then click the <menuitem>Numbering</menuitem> tab.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id911677925566575" role="listitem">Select the <menuitem>Level</menuitem> to configure.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3155891" role="listitem" xml-lang="en-US">In the <menuitem>Paragraph style</menuitem> box, select the paragraph style for the selected level.</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 for that heading, then click <widget>OK</widget>.</paragraph>
  </listitem>
</list>

<h2 id="par_idN107CE" xml-lang="en-US">To Remove Automatic Numbering From a Heading</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>
  <listitem>
      <paragraph id="par_id441614161571912" role="listitem">Press <keycode>Shift+Backspace</keycode> with the cursor at the beginning of the heading to return the number.</paragraph>
  </listitem>
</list>
  
<paragraph role="paragraph" id="par_id651677926469286">This procedure removes the numbering for an individual heading. To remove or modify the automatic numbering for all headings, use the <menuitem>Heading Numbering</menuitem> dialog .</paragraph>

<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 <menuitem>Tools - Heading Numbering</menuitem>, and then click the <menuitem>Numbering</menuitem> tab.</paragraph>
  </listitem>
  <listitem>
    <paragraph id="par_id3147782" role="listitem" xml-lang="en-US">Click the level that you want to assign to the custom paragraph style in the <menuitem>Level</menuitem> 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"/>
<embed href="text/swriter/01/06060000.xhp#ChapNumh1"/>
</section>
</body>

</helpdocument>
