\setsecnumdepth{subsection}    % til og med
\maxsecnumdepth{subsection}    % den maksimale dybde
\settocdepth{section}          % til og med