summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-running-nos.html
diff options
context:
space:
mode:
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.html79
1 files changed, 0 insertions, 79 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
deleted file mode 100644
index 2e7cd276246..00000000000
--- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-running-nos.html
+++ /dev/null
@@ -1,79 +0,0 @@
-<head>
-<title>UK TeX FAQ -- question label running-nos</title>
-</head><body>
-<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&#8217;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, &#8230;,
-the command
-<blockquote>
-<pre>
-\counterwithout{figure}{chapter}
-</pre>
-</blockquote><p>
-will convert them to figures 1, 2, 3, &#8230;. (Note that the command
-has also removed the chapter number from the counter&#8217;s definition.)
-<p/>More elaborate use could change things numbered per section to things
-numbered per chapter:
-<blockquote>
-<pre>
-\counterwithout{equation}{section}
-\counterwithin{equation}{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&#8217;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
-<code>\</code><code>@removefromreset</code> command, and having included the package one
-writes something like:
-<blockquote>
-<pre>
-\makeatletter
-\@removefromreset{figure}{chapter}
-\makeatother
-</pre>
-</blockquote><p>
-and the automatic renumbering stops. You may then need to redefine the
-way in which the figure number (in this case) is printed:
-<blockquote>
-<pre>
-\makeatletter
-\renewcommand{\thefigure}{\@arabic\c@figure}
-\makeatother
-</pre>
-</blockquote><p>
-(remember to do the whole job, for every counter you want to
-manipulate, within <code>\</code><code>makeatletter</code> &#8230; <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
-&lt;<i>chapter</i>&gt;.&lt;<i>section</i>&gt;.&lt;<i>figure</i>&gt;, and you want figures
-numbered per chapter, try:
-<blockquote>
-<pre>
-\makeatletter
-\@removefromreset{figure}{section}
-\@addtoreset{figure}{chapter}
-\renewcommand{\thefigure}{\thechapter.\@arabic\c@figure}
-\makeatother
-</pre>
-
-</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://mirror.ctan.org/macros/latex/contrib/chngcntr.zip">macros/latex/contrib/chngcntr</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/chngcntr/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/chngcntr.html">catalogue entry</a>
-<dt><tt><i>memoir.cls</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/memoir.zip">macros/latex/contrib/memoir</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/memoir/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/memoir.html">catalogue entry</a>
-<dt><tt><i>removefr.tex</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/fragments/removefr.tex">macros/latex/contrib/fragments/removefr.tex</a>; <a href="http://mirror.ctan.org//help/Catalogue/entries/removefr.html">catalogue entry</a> (note, this is constructed as a
- &#8220;fragment&#8221; 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://mirror.ctan.org/macros/latex/contrib/carlisle.zip">macros/latex/contrib/carlisle</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/carlisle/">browse the directory</a>); <a href="http://mirror.ctan.org/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>