Is it possible to have a contents page in LaTeX that doesn't show a page number of a particular subsection, if the one immediately before it shares the same page number?
e.g. If there are 3 subsections on the same page, is it possible in the contents page to show the page number only at the 1st line?
I'm also using the titletoc package in a way similar to the following:
\documentclass{article}
\usepackage{titletoc}
\titlecontents{section}[0pt]{\thecontentspage\quad\thecontentslabel\quad}{}{}{}
\titlecontents{subsection}[0pt]{\thecontentspage\quad\thecontentslabel\quad}{}{}{}
\titlecontents{subsubsection}[0pt]{\thecontentspage\quad\thecontentslabel\quad}{}{}{}
\begin{document}
\tableofcontents
\section{FIRST}
\subsection{FIRST first}
\subsection{FIRST third}
\newpage
\subsubsection{FIRST third b}
\section{SECOND}
\subsection{SECOND first}
\end{document}
It doesn't include dots and shows the page numbers to the left of the section/subsection/subsubsection numbers.
\dotfills should be hidden too? – tohecz May 24 '12 at 15:28titlesecpackage. – tohecz May 24 '12 at 17:30