A \label command appearing in ordinary text assigns to the key the number of the current sectional unit; one appearing inside a numbered environment assigns that number to the key.

A key con consist of any sequence of letters, digits, or punctuation characters. Upper- and lowercase letters are different.

See also: Cross References,