1

I am using the autoref package to make labelling of sections, figures and graphs much easier, and it really is much easier. However, when I am referring to a particular subsubsection, I just want it to appear in the final document as section 3.1.1 yet it appears to render as subsubsection 3.1.1.

How do I disable the usage of subsubsection X.Y.Z and just have it say section instead?

3 Answers3

1

According to the manual (page 18 in my 2019 version) use

\renewcommand{\subsubsectionname}{section}
Peter Wilson
  • 28,066
1

The above answer did not help, I instead receieved several errors saying that the \subsubsectionname had not been defined. I instead solved it by using the following :

\usepackage[english]{babel} \renewcommand{\sectionautorefname}{Section} \renewcommand{\subsectionautorefname}{Section} \renewcommand{\subsubsectionautorefname}{Section}

This renamed all subsubsection usage in the document.

0

Let me just add that this capitalizes Section x.x.x but maybe that was intended.

Another workaround is:

\renewcommand{\sectionautorefname}{Section}
\let\subsectionautorefname\sectionautorefname
\let\subsubsectionautorefname\sectionautorefname

This way you only need to specify the name once as sub and subsub follow suite.

eliasf
  • 141