This question already has an answer here:

I am currently in the process of writing my Master's thesis using the LaTeX class supplied by my university. This class uses a document structure similar to report: Starting with chapters, then sections, then subsections and so on. Citation style is IEEE, if that's important.

What is the correct way to reference all these text-divisions within my flow-text, especially when reaching \subsection{} level and below?

Example A

As shown in chapter "Foo" and section "Bar", [...].

[...], for further details see subsection "Baz" and subsubsubsection "Qux".

or Example B

As shown in section "Foo" and section "Bar", [...].

[...], for further details see section "Baz" and section "Qux".

or something completely different?

marked as duplicate by Anyon, corey979, OBu, Buzz, scaaahu Jan 5 at 3:20

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


You can use command label, e.g.,

\section{My Section}\label{section:MySection}

\subsection{My Subsection}\label{section:MySubsection}

Then you can use:

...Sections~\ref{section:MySection} and \ref{section:MySubsection}...

Not the answer you're looking for? Browse other questions tagged or ask your own question.