TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to be able to reference a nested enumerated list item only by its inner-most identifying character.

    \item \label{mylabel} Referenced point.

The \ref above gives me something like 1a, but I want it to give me a only.

share|improve this question
up vote 13 down vote accepted

In LaTeX, internal macro \p@enumN\theenumN defines the output of a \ref command. (ref. source2e) The default definitions in standard document classes are (ref. classes):


You can redefine \p@enumii to get what you want:

\makeatletter % for internal macros with @

It seems you are using enumerate package to change the label. However, enumerate doesn't handle the cross references well. I suggest a more modern package enumitem to replace enumerate, which can also ease the problem using key-value syntax. For example:

% \usepackage{enumitem} % in preamble
    \item \label{mylabel} Referenced point.
share|improve this answer
Both suggestions work for me. Thanks! – Isaac Sutherland Jan 16 '11 at 2:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.