[Tugindia] registers

Dr. Dinesh Karia tugindia@tug.org
Wed, 30 Oct 2002 11:12:57 +0530


Dear all,

    After the initiation of CVR, I have started learning \TeX and \LaTeX, at
least to understand the mechanism. I have host of questions that I will put
in a series of mails. The first in the series is the set of following
questions.

1. What are the default values of the \TeX registers?

As TTB (The TeX Book) explains \TeX has following registers.

\count, \dimen, \skip, \muskip, \box, \toks, (each of them are 256 in
numbers from $0 \ldots 255$.



TTB also says that \count0 holds the page number and is displayed at the
output of each page in the form [<page number>]. When is this assignment
done? and what is the mechanism? Can we change \count0 at our will so that
the pagenumbers appear as we wish?


TTB also says that

\count10 = 22 allocates \count registers 23, 24, 25, ...
\count11 = 9 allocates \dimen registers 10, 11, 12, ...
And so on

Does this mean, \count10 = 22 does \count23 = 0, \count24 = 0, .........?
 \dimen10 = 0 does \dimen11 = 0, \dimen12 = 0, .........?


Dinesh Karia