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

Suppose I have several sections in my document. How may I cross-reference to a section so that it is updated if I make more sections?

share|improve this question
See section 2.8 of lshort for the basics; please make your question more specific. – lockstep Feb 3 '13 at 15:11

Just create a label for the referenced section(s), and then refer to it (them) from anywhere else. LaTeX will automatically change the references if new sections are added. E.g.,

\section{The Referred Section}
\label{sec:mysectionlabel} % or whatever unique label you wish to use

% ... 

\section{Another Section}
\label{sec:anotherseclabel}  % only if you need to refer to this one also

As we mentioned in \S \ref{sec:mysectionlabel} above, ...
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.