diff options
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-running-nos.html')
-rw-r--r-- | Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-running-nos.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-running-nos.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-running-nos.html index 61fee569b15..70149030d49 100644 --- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-running-nos.html +++ b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-running-nos.html @@ -6,18 +6,18 @@ number things per chapter; so figures in chapter 1 are numbered 1.1, 1.2, and so on. Sometimes this is not appropriate for the user’s needs. -<p/>Short of rewriting the whole class, one may use the <i>chngctr</i> +<p/>Short of rewriting the whole class, one may use the <i>chngcntr</i> package, which provides commands <code>\</code><code>counterwithin</code> (which establishes this nested numbering relationship) and <code>\</code><code>counterwithout</code> (which undoes it). -<p/>So if you have figures numbered by chapter as 1.1, 1.2, 2.1, ..., +<p/>So if you have figures numbered by chapter as 1.1, 1.2, 2.1, …, the command <blockquote> <pre> \counterwithout{figure}{chapter} </pre> </blockquote><p> -will convert them to figures 1, 2, 3, .... (Note that the command +will convert them to figures 1, 2, 3, …. (Note that the command has also removed the chapter number from the counter’s definition.) <p/>More elaborate use could change things numbered per section to things numbered per chapter: @@ -51,7 +51,7 @@ way in which the figure number (in this case) is printed: </pre> </blockquote><p> (remember to do the whole job, for every counter you want to -manipulate, within <code>\</code><code>makeatletter</code> ... <code>\</code><code>makeatother</code>). +manipulate, within <code>\</code><code>makeatletter</code> … <code>\</code><code>makeatother</code>). <p/>This technique, too, may be used to change where in a multilevel structure a counter is reset. Suppose your class numbers figures as <<i>chapter</i>>.<<i>section</i>>.<<i>figure</i>>, and you want figures @@ -68,12 +68,12 @@ numbered per chapter, try: </blockquote><p> (the command <code>\</code><code>@addtoreset</code> is a part of LaTeX itself). <dl> -<dt><tt><i>chngcntr.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archivemacros/latex/contrib/misc/chngcntr.sty">macros/latex/contrib/misc/chngcntr.sty</a> -<dt><tt><i>memoir.cls</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/memoir.zip">macros/latex/contrib/memoir</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/memoir/">browse the directory</a>) -<dt><tt><i>removefr.tex</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archivemacros/latex/contrib/fragments/removefr.tex">macros/latex/contrib/fragments/removefr.tex</a> (note, this is constructed as a +<dt><tt><i>chngcntr.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/misc/chngcntr.sty">macros/latex/contrib/misc/chngcntr.sty</a> +<dt><tt><i>memoir.cls</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/memoir.zip">macros/latex/contrib/memoir</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/memoir/">browse the directory</a>) +<dt><tt><i>removefr.tex</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/fragments/removefr.tex">macros/latex/contrib/fragments/removefr.tex</a> (note, this is constructed as a “fragment” for use within other packages: load by <code>\</code><code>input{removefr}</code>) -<dt><tt><i>remreset.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/carlisle.zip">macros/latex/contrib/carlisle</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk tex-archive/macros/latex/contrib/carlisle/">browse the directory</a>) +<dt><tt><i>remreset.sty</i></tt><dd>Distributed as part of <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/carlisle.zip">macros/latex/contrib/carlisle</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/carlisle/">browse the directory</a>) </dl> <p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=running-nos">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=running-nos</a> </body> |