summaryrefslogtreecommitdiff
path: root/macros/text1/cms_help_files/sfn.helpmark
blob: 0c3ef81afc17ecb63482be5b082d76fc433f5691 (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
+-----------------------------------------------------------------------------+
|                               setfigurenumber                               |
+-----------------------------------------------------------------------------+
 
Abbreviation:  ã|\sfnã%
 
Parameters:    ã|previous figure numberã%
 
    ã|Description:ã%
The figure number  will be automatically incremented by  one for each use of
\figure.   The  figure number  can be  reset by adding  the \setfigurenumber
markup before the next occurrence of \figure.
 
    ã|Example:ã%
By default, figure numbers are reset  in parts.  If you also want them reset
in chapters, you could  modify the \chapterformat by adding \setfigurenumber
to the \titleformat:
 
\chapterformat{\numberingstyle{1}
  \titleformat{\dumpinsertseject
      \cl{\twelvept\bd Chapter \chapternumber}
 
      \cl{\twelvept\bd \chaptertitle}
      \vs{1\bl}
      \setfigurenumber{0}
      \setsubheadanumber{0}
      \setsubheadbnumber{0}
      \setsubheadcnumber{0}
      \setsubheaddnumber{0}}
  \incontents{yes}}
 
    ã|Notes:ã%
The  number specified  in  the \setfigurenumber  parameter  is  the previous
figure number, not the next figure  number.  If you want the next \figure to
be Figure 90, then specify
 
\setfigurenumber{89}