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 put \label{} after each section and use \nameref with that label name for referring section names in the document. But that doesn't work with \appendix. What is the correct way to refer a section in a paper?



How do I refer to background section?

share|improve this question
What exactly do you want \nameref to produce when cross-referencing a section contained in the document's appendix, i.e., located after the \appendix command? – Mico Oct 13 '12 at 12:12
The command \appendix only reset the counter and change the numbering format to Alpha. – Sigur Oct 13 '12 at 13:36
up vote 15 down vote accepted

The nameref works in the appendix also (as shown in MWE of this answer). Hence without a complete MWE, we won't be able to help.

However, a better idea will be to use the package cleveref.




From sections~\nameref{sec:one} and~\nameref{sec:background}, we get the idea of using \verb|nameref| from \verb|hyperref|!

From sections~\ref{sec:one} and~\ref{sec:background}, do we get the idea?

From \cref{sec:one} and~\cref{sec:background}, do we get the idea of using the package \verb|cleveref|?


enter image description here

For details, refer to the package documentation (texdoc cleveref from command prompt)

share|improve this answer
cleveref is not working with class svjour3 – Helder Velez Jul 21 '15 at 19:09

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.