diff options
Diffstat (limited to 'macros/text1/cms_help_files/sfn.helpmark')
-rw-r--r-- | macros/text1/cms_help_files/sfn.helpmark | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/macros/text1/cms_help_files/sfn.helpmark b/macros/text1/cms_help_files/sfn.helpmark new file mode 100644 index 0000000000..0c3ef81afc --- /dev/null +++ b/macros/text1/cms_help_files/sfn.helpmark @@ -0,0 +1,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} |