Take the 2-minute tour ×
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.

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
6  
See section 2.8 of lshort for the basics; please make your question more specific. –  lockstep Feb 3 '13 at 15:11

1 Answer 1

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

 
discard

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.