This question already has an answer here:

I want to refer to a description list item by name instead of number. To that effect, I've added labels to each item, but when referencing them I only get the name of the section, not of the list item. How can I change it to show a custom label for each item?

  \item[Rule1\label{itm:1}] The Suffix to Prefix Rule. 
  \item[Rule2] The Substring Matching Rule \label{2}
    \item[Rule2-1] Character Matching Rule \label{2-1}
  \item[Rule3] The Uniqueness Property Rule \label{3}

i want to reference the above rules somewhere in my document but every time i call only section number is displayed

marked as duplicate by barbara beeton, Paul Gessler, Andrew, LaRiFaRi, Svend Tveskæg May 22 '15 at 14:35

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


a label must be associated with a counter.

description list items don't have counters.

so the most recent counter is attached to the label; that counter could be a section, a figure, an equation, ..., but not a description item.

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