I am writing a LaTeX document with short sections which results in subsections being listed in the table of contents in the same or subsequent pages.

How can I suppress the appearance of page number for each subsection and make a list of subsections in a single sentence under their section? Some books use this style...

Edit: I am using the report document class and no special toc package

  • 2
    Please also indicate which document class you're using (article, report, book, memoir, something else?) as well as if you're already loading any packages (such as tocloft) that affect the way the table of contents is organized.
    – Mico
    Commented Jul 9, 2012 at 17:45

1 Answer 1


The titletoc package provides a means to have "in-line" or paragraph-style ToC entries. You format a specific entry using

  {<above code>}
  {<numbered entry format>}
  {<unnumbered entry format>}
  {<filler page format>}

The *-version of \titlecontents groups the entries in a single paragraph. Here's a minimal example highlighting its use, with the format settings taken from the titletoc documentation:

enter image description here

\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\usepackage{titletoc}% http://ctan.org/pkg/titletoc
  {\thecontentslabel. }
  {, \thecontentspage}


\section{First section}

\section{Second section}

\section{Last section}


This prints the page number \thecontentspage with every \subsection entry, which is the default. It could be possible to extend this to include a page number for all \subsections on a page only once. However, this may require additional compilations and some forethought as to what the presentation should look like. For example, do you start with the "collective" page number, or do you end with it? If not handled properly, it my be confusing.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .