I am using the hack given here as accepted solution to refer to a description list item by name instead of number. It works nicely, except when one of the words in the name ends with a non-ascii character, in which case it kills the space after it (only in the reference). Why is that? Is there a way to modify the hack that avoids this problem? I am using pdflatex with hyperref and inputenc.


    \item[Arzelà and Volterra\label{av}] Reference: \ref{av}.
    \item[Arzel{à} and Volterra\label{av2}] Reference: \ref{av2}.
    \item[Arzel\`a and Volterra\label{av3}] Reference: \ref{av3}.

An even worse problem arises with ß, which I don't need (try Weierstraß and Kummer).


Use \protected@edef\@currentlabel{#1}%

  • @quim: Glad you got your answer. It's good form to upvote the answer in addition to accepting it. Apr 29 '11 at 16:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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