blob: a1c52a553000bcd95f30970eedb63abc79610779 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<html>
<head><title>Help On LaTeX \value</title></head>
<body bgcolor="#ffffff" text="#000000" link="#000099" vlink="#cc0000" alink="#cc0000">
<h1><font size="-2">Hypertext Help with LaTeX</font><br><font color="#cc0000">\value</font></h1>
<p>
<tt>\value{counter}</tt>
<p>
The <tt>\value</tt> command produces the value of the counter named in the
mandatory argument. It can be used where LaTeX expects an integer or
number, such as the second argument of a
<a href="ltx-310.html"><tt>\setcounter</tt></a> or
<a href="ltx-195.html"><tt>\addtocounter</tt></a> command, or in
<pre>
<tt>\hspace{\value{foo}<a href="ltx-86.html#lencmd">\parindent}</a></tt>
</pre>
It is useful for doing arithmetic with counters.
<hr>
See also <A href="ltx-3.html">Counters</A>,
<a href="ltx-86.html">Lengths</a><br>
Go to <a href="ltx-2.html">LaTeX Table of Contents</a>
<hr>
<address>
Revised: Sheldon Green, 9 May 1995.
</address>
</body>
</html>
|