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 | 18 |
1 files changed, 9 insertions, 9 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 70149030d49..65313666f92 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 @@ -4,21 +4,21 @@ <h3>Running equation, figure and table numbering</h3> <p/>Many LaTeX classes (including the standard <i>book</i> class) 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 +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>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 -has also removed the chapter number from the counter’s definition.) +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: <blockquote> @@ -28,7 +28,7 @@ numbered per chapter: </pre> </blockquote><p> (assuming there was a class that did such a thing in the first place...) -<p/>The <i>chngcntr</i> approach doesn’t involve much programming, and +<p/>The <i>chngcntr</i> approach doesn’t involve much programming, and the enthusiastic LaTeX programmer might choose to try the technique that we had to use before the advent of <i>chngcntr</i>. Each of the packages <i>removefr</i> and <i>remreset</i> defines a @@ -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/tex-archive/macros/latex/contrib/misc/chngcntr.sty">macros/latex/contrib/misc/chngcntr.sty</a> +<dt><tt><i>chngcntr.sty</i></tt><dd><a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/chngcntr.zip">macros/latex/contrib/chngcntr</a> (or <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/chngcntr/">browse the directory</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 + “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/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>) +<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>); <a href="http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/remreset.html">catalogue entry</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> |