1

I'm rather new to TeX and got it working, but letting it look nice is a different can of worms :-)
I'm using llncs and hyperref. My numbering scheme at the moment is the default, like

part: III Experimental...
sec: 5 Results...
subsec: 5.1 Features...
subsub: method foo...

Is it possible to pimp hyperref so \autoref gives instead

part: 3 Experimental...
sec: 3.5 Results...
subsec: 3.5.1 Features...
subsub: 3.5.1.1 method foo...

If it is necessary to move down part to section and define a \subsubsubsection, that wouldn't hurt. If I need a different package, neither.

3

Your question is about the numbering of sectioning headers and not really related to the hyperref package.

Since you're using the llncs document class, all you need to do is provide the following instructions in the preamble:

\renewcommand\thepart{\arabic{part}}
\renewcommand\thesection{\thepart.\arabic{section}}
\renewcommand\thesubsection{\thesection.\arabic{subsection}}
\setcounter{secnumdepth}{3} % to enable showing of subsubsection-level numbers

A full MWE (with optional use of the cross-referencing capabilities of the cleveref package):

enter image description here

\documentclass{llncs}

\renewcommand\thepart{\arabic{part}}
\renewcommand\thesection{\thepart.\arabic{section}}
\renewcommand\thesubsection{\thesection.\arabic{subsection}}
\setcounter{secnumdepth}{3}

\usepackage[colorlinks]{hyperref}
\usepackage[noabbrev,nameinlink]{cleveref} % optional

\begin{document}

\setcounter{part}{2}
\part{Experimental \dots}  \label{part:exp}

\setcounter{section}{4}
\section{Results \dots}  \label{sec:results}

\subsection{Features \dots}  \label{sec:features}

\subsubsection{Method foo \dots}  \label{sec:method}
Bla bla bla \dots

\bigskip\hrule\bigskip

\noindent
Crossreferences to \autoref{part:exp} and \autoref{sec:results}, 
\autoref{sec:features} and \autoref{sec:method}.

\noindent
Crossreferences to \cref{part:exp,sec:results,sec:features,sec:method}.
\end{document}
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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