答案1
您的问题是关于节标题的编号,与包实际上无关hyperref
。
由于您使用的是llncs
文档类,因此您需要做的就是在序言中提供以下说明:
\renewcommand\thepart{\arabic{part}}
\renewcommand\thesection{\thepart.\arabic{section}}
\renewcommand\thesubsection{\thesection.\arabic{subsection}}
\setcounter{secnumdepth}{3} % to enable showing of subsubsection-level numbers
完整的 MWE(可选择使用包的交叉引用功能cleveref
):
\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}