[vox-tech] refering to a subsubsection in latex (article document
class)
Aaron A. King
kingaa at umich.edu
Tue Aug 28 14:52:47 PDT 2007
Hi Dylan,
Check out the "secnumdepth" counter. It sets how deep the sections should be
numbered. I.e.,
\documentclass{article}
\setcounter{secnumdepth}{3}
\begin{document}
\section{A Section}
\subsection{A Subsection}
\subsubsection{A Subsubsection}\label{label_of_this_subsubsection}
\section{Another section}
As seen in section \ref{label_of_this_subsubsection}
\end{document}
On Tuesday 28 August 2007, Dylan Beaudette wrote:
| wondering if it is possible to refer to the number associated with a
| \subsubsection in latex, using the article document class.
|
| example:
|
| \section{A Section}
| \subsection{A Subsection}
| \subsubsection{A Subsubsection}
| \label{label_of_this_subsubsection}
|
| ...
| as seen in section \ref{label_of_this_subsubsection}
|
|
| this will print the number associated with the \subsection above the
| labeled \subsubsection, resulting in:
|
|
| as seen in section 1.1
|
| ... when actually I would like to see:
|
| as seen in section 1.1.1
--
Aaron A. King, Ph.D.
Ecology & Evolutionary Biology
University of Michigan
GPG Public Key: 0x6E74F51B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.lugod.org/pipermail/vox-tech/attachments/20070828/299a4043/attachment.pgp
More information about the vox-tech
mailing list