<?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="textswriterguidecaptions_numbersxml" indexer="include" status="PUBLISH">
         <title xml-lang="en-US" id="tit">Adding Heading Numbers to Captions</title>
         <filename>/text/swriter/guide/captions_numbers.xhp</filename>
      </topic>
   </meta>
   <body>
<bookmark xml-lang="en-US" branch="index" id="bm_id3147684">
      <bookmark_value>captions; adding chapter numbers</bookmark_value>
      <bookmark_value>captions; adding heading numbers</bookmark_value>
      <bookmark_value>objects; captioning automatically</bookmark_value>
      <bookmark_value>numbering; captions</bookmark_value>
      <bookmark_value>automatic numbering;of objects</bookmark_value>
      <bookmark_value>chapter numbers in captions</bookmark_value>
      <bookmark_value>inserting;chapter numbers in captions</bookmark_value>
</bookmark>
<h1 id="hd_id3147684"><variable id="captions_numbers"><link href="text/swriter/guide/captions_numbers.xhp">Adding Heading Numbers to Captions</link>
</variable></h1>
      <paragraph id="par_id3147395" role="paragraph">You can include heading numbers in captions.</paragraph>
      <paragraph id="par_id3147408" role="paragraph">Ensure that your document has <link href="text/shared/00/00000005.xhp#heading">headings</link>. You can use the predefined “Heading [1–10]” paragraph styles. You must also assign a numbering scheme to the heading paragraph styles. Use <menuitem>Tools - Heading Numbering</menuitem>.</paragraph>
      <list type="ordered">
         <listitem>
            <paragraph id="par_id3154249" role="listitem">Select the object to caption.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3150503" role="listitem">Choose <emph>Insert - Caption</emph>.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3150527" role="listitem">Select a caption type from the <menuitem>Category</menuitem> box, and select a numbering scheme in the <menuitem>Numbering</menuitem> box. You can enter an optional caption text in the <menuitem>Caption</menuitem> box.</paragraph>
         </listitem>
         <listitem>
            <paragraph xml-lang="en-US" id="par_id3153166" role="listitem">Click <emph>Options</emph>.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3153190" role="listitem">In the <menuitem>Up to level</menuitem> box, select the outline level of the heading number to display before the caption number.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3155553" role="listitem">Type the character to appear between the heading number(s) and the caption number in the <menuitem>Separator</menuitem> box, then click <widget>OK</widget>.</paragraph>
         </listitem>
         <listitem>
            <paragraph id="par_id3155586" role="listitem">In the <emph>Caption</emph> dialog, click <widget>OK</widget>.</paragraph>
         </listitem>
      </list>
     <paragraph role="paragraph" id="par_id601678410274542">If the caption is already inserted in the document, then right-click on the caption number, choose <menuitem>Edit Fields</menuitem>, then enter values for <menuitem>Up to level</menuitem> and <menuitem>Separator</menuitem>.</paragraph>
      <tip id="par_id3147226">$[officename] can automatically add a caption when you insert an object, graphic, or table. Choose <switchinline select="sys"><caseinline select="MAC"><emph>%PRODUCTNAME - Preferences</emph></caseinline><defaultinline><emph>Tools - Options</emph></defaultinline></switchinline><emph> - %PRODUCTNAME Writer - AutoCaption</emph>.</tip>
      <section id="relatedtopics">
         <embed href="text/swriter/guide/captions.xhp#captions"/>
         <paragraph xml-lang="en-US" id="par_id3145567" role="paragraph"><link href="text/shared/optionen/01041100.xhp">AutoCaption dialog</link></paragraph>
         <embed href="text/swriter/guide/chapter_numbering.xhp#chapter_numbering"/>
      </section>
   </body>
</helpdocument>