File: ltx-339.html

package info (click to toggle)
texlive-doc 2005.dfsg.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 125,100 kB
  • ctags: 12,558
  • sloc: xml: 24,267; perl: 14,394; makefile: 727; sh: 324; lisp: 276; java: 159; sed: 4
file content (27 lines) | stat: -rw-r--r-- 954 bytes parent folder | download | duplicates (5)
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>