答案1
假设你正在使用一个“标准” LaTeX 文档类(或基于标准类之一的文档类),你可以使用托克洛夫特包来实现您的格式化目标。
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}
\usepackage{setspace}
\setstretch{1.5} % just for this example
\setcounter{secnumdepth}{0}
\setcounter{tocdepth}{2} % or some higher number
\usepackage{tocloft} % modify appearance of ToC, LoF, and/or LoT
\makeatletter
% Don't show section page numbers in ToC:
\renewcommand{\cftsecpagefont}{\@gobble}
\makeatother
\begin{document}
\tableofcontents
\clearpage
\section{Dati dell'opera}
\subsection{Informazioni generali}
\subsection{Storia dell'opera}
\clearpage
\stepcounter{page}
\subsection{Studi per l'opera}
\clearpage
\addtocounter{page}{1}
\section{Leonardo da Vinci}
\subsection{Biografia}
\clearpage
\stepcounter{page}
\subsection{Movimento artistico: Il Rinascimento}
\end{document}