I am writing a large document (guess what) with chapter, section, subsection, subsubsection (and paragrph).
I have changed the numbering to fit my taste:
\setcounter{secnumdepth}{3} % Number subsubsections
\def\thechapter {\Roman{chapter}}
\def\thesection {\arabic{section}}
\def\thesubsection {\thesection.\arabic{subsection}}
\def\thesubsubsection {\thesubsection.\arabic{subsubsection}}
This is nice but I have a problem. Suppose that in chapter II, I write a reference to section I.2. It will be rendered as 2 (ie, no chapter information).
Is there a way to deal with that?
Thanks in advance.
P.S.: for details I use hyperref (the link points to the right section) and autoref.
\def\thesection{\thechaper.\arabic{section}}
? Or do you don't want your section titles also labeled "I.2" etc.?\autoref
ofhyperref
. Have a look on its manual.