summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labelctr.html
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labelctr.html')
-rw-r--r--Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labelctr.html21
1 files changed, 0 insertions, 21 deletions
diff --git a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labelctr.html b/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labelctr.html
deleted file mode 100644
index 7ca320c4793..00000000000
--- a/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-labelctr.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<head>
-<title>UK TeX FAQ -- question label labelctr</title>
-</head><body>
-<h3>Making labels from a counter</h3>
-<p/>Suppose we have a LaTeX counter, which we&#8217;ve defined with
-<code>\</code><code>newcounter{foo}</code>. We can increment the value of the counter
-by <code>\</code><code>addtocounter{foo}{1}</code>, but that&#8217;s pretty clunky for an
-operation that happens so often &#8230; so there&#8217;s a command
-<code>\</code><code>stepcounter{foo}</code> that does this special case of
-increasing-by-one.
-<p/>There&#8217;s an internal LaTeX variable, the &#8220;current label&#8221;, that
-remembers the last &#8216;labellable&#8217; thing that LaTeX has processed.
-You could (if you were to insist) set that value by the relevant
-TeX command (having taken the necessary precautions to ensure that
-the internal command worked) &#8212; but it&#8217;s not necessary. If, instead
-of either of the stepping methods above, you say
-<code>\</code><code>refstepcounter{foo}</code>, the internal variable is set to the
-new value, and (until something else comes along), <code>\</code><code>label</code> will
-refer to the counter.
-<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=labelctr">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=labelctr</a>
-</body>