TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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 was using ACM CHI latex template in which sections do not have section numbers. For example:




Now I want to cross reference, but I don't have a section number to refer to:


see \ref{background}




How do I cross-reference here?

share|improve this question
You said yourself that the sections have no numbers. What number are you expecting to show up? – Stephan Lehmke Aug 27 '12 at 5:17
Yeah, but then how do I do cross reference? @StephanLehmke – CherryQu Aug 27 '12 at 5:20
It is possible to "hijack" the \label-\ref system using something like \makeatletter\newcommand{\setref}[1]{\gdef\@currentlabel{#1}}\makeatother which allows you to use \section{Background}\setref{Background}\label{background} and then later issue See section~\ref{background}. – Werner Aug 27 '12 at 5:25
up vote 8 down vote accepted

One possibility is to use the nameref package like this:





see section ``\nameref{background}".



share|improve this answer

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.