In my table of contents, some of the dot fills do not end at the same place as the other lines. What is causing this and how can I make the dot fills uniform? A red oval highlights the problem in the following screenshot:

Extra dot in ToC

Edit: It looks as if the page number "101" is slightly less wide than the other page numbers, allowing just enough room for an extra dot. This is probably the cause, but I still don't know how to fix the problem.

Edit 2: Minimal working example below. The document class is located at https://github.com/wannesm/adsphd/blob/master/adsphd.cls, and is quite long -- apologies for the inconvenience.



\mainmatter % Arabic page numbering


\chapter{Numerical solution of bivariate and polyanalytic polynomial systems}
\section{Notation and preliminaries}\clearpage
\section{Solving systems of bivariate and polyanalytic polynomials}\clearpage
\subsection{The polynomial eigenvalue problem}\clearpage
\subsection{Balancing the system and its associated pencil}\clearpage
\subsubsection{Balancing the bivariate system}\clearpage
\subsubsection{Balancing the polyanalytic system}\clearpage
\subsubsection{Balancing the pencil}\clearpage
\section{Numerical experiments}\clearpage


1 Answer 1


This is a problem with microtype. Use


for the Table of Contents.

  • Yes, you are right. If one removes \usepackage{microtype} from that class file, the error vanishes also! Perhaps, one should notify the maintainer/creator of the class file about this 'feature'?
    – user31729
    Commented Apr 22, 2014 at 10:03
  • Great, thanks a lot! Is this a bug in microtype that will be fixed soon? Commented Apr 22, 2014 at 10:08
  • 2
    It is mentioned in the microtype documentation in the "Hints and caveats" chapter as one of the places where you might want to disable protrusion. I'm not sure it can be seen as a bug in microtype as such. Rather I think that classes that use it ought to redefine \tableofcontents like this.
    – pst
    Commented Apr 22, 2014 at 10:13
  • 1
    @ChristianHupfer I've notified the maintainer of the class, should be fixed soon - thanks! Commented Apr 22, 2014 at 14:31

You must log in to answer this question.

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