TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When typesetting an article documentclass, the sections appear as bold in the table of contents, with no leading dots. I would like to change these to non-bold, and insert some leading dots. I tried the following, but it seems to be ignored. Any ideas?

% change section headers and page numbers to normal instead of bold font
% use leader dots with section headers
share|improve this question
It's not standard. It seems like you use tocloft package for designing the TOC, however you didn't mention it. – Stefan Kottwitz Mar 14 '11 at 20:29
Further to what Stefan said, the tocloft package might be sensitive to other things you have in your preamble. Could you post a minimum working example, please? – Charles Stewart Mar 14 '11 at 20:33
@Stefan: the behaviour described by @Hugo is the standard when using the article document class: entries of section type are boldfaced and with no leading dots. – Gonzalo Medina Mar 14 '11 at 20:41
up vote 12 down vote accepted

Using the tocloft package you can do something like this:




\section{test section}
\subsection{test section}
\section{test section}
\subsection{test section}

share|improve this answer

The »tocstyle« package from KOMA Script could be an alternative. Note that this package is in alpha state and you'll get a corresponding warning.




Simply including the package does already what you're after. Further customization is done by declaring new ToC styles. For further information run texdoc tocstyle on the command line.

As always, the blindtext package is only for creating dummy text thus not part of the solution.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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