In section ~\nameref{marker} we defined...

In the output I see:

In section first-1 we defined...

However I want the section number. Like:

In section 1.1 we defined...
  • Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question.
    – Werner
    Jul 3, 2012 at 18:13

1 Answer 1


Just use plain \ref to get the number.

There is some information about how to use references here.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .