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

My table of contents should have the following properties:

  • oldstyle figures for page numbers and labels
  • chapter entries in spaced, lowercase smallcaps
  • numbers close (en-space) to the entries, no dotfill

You should be able to see in the MWE that oldstyle figures are produced for all labels and the page-numbers of the sections, but not for the page numbers of the chapters.

The oldstyle figures appear, if I comment either the

  • lsstyle command or the
  • \usetocstyle{nopagecolumn}

Both indicated in the MWE. As shown in the MWE-chapter Introduction, the combination (lsstyle, scshape, lowercase) works in normal text and produces oldstyle figures.

Please note

  • there are some problems when setting letterspaced smallcaps with LuaLaTeX. This is why I use the setting \addfontfeature{Renderer=Basic}.)
  • you need Microtype2.5 to reproduce the problem
  • the problem may be related to this tex.SE entry


% !TEX TS-program = LuaLaTeX



\setmainfont[Numbers={Proportional,OldStyle}]{Minion Pro}
\setsansfont[Numbers={Proportional,OldStyle}]{Myriad Pro}

\usetocstyle{nopagecolumn} % comment this to see OSF
\lsstyle % comment this to see OSF


% to show that the combination works in normal text
{\scshape\addfontfeature{Renderer=Basic}\lsstyle\lowercase{aBcDeF 1234567890}}

\section{Method A}
\section{Method B}
share|improve this question

closed as too localized by mafp, Andrew Swann, Paul Gaborit, Claudio Fiandrino, Thorsten Mar 6 '13 at 9:43

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

If I add \settocfeature[toc][0]{pagenumberhook}{} all page numbers are oldstyle. – egreg Mar 3 '13 at 20:14
The empty argument was the trick. I already tried \normalfont and \addfontfeature{Numbers={Proportional,OldStyle}} as pagenumberhook. Still a very weird problem, isn't it? Can you comment why this solution works? – NauC Mar 3 '13 at 20:26
Sorry, but I tried once to understand tocstyle and gave up. – egreg Mar 3 '13 at 20:28
Maybe it is a bug, I don’t know, but the package itself prints out a warning on every run, that it is in alpha state. – Speravir Mar 3 '13 at 21:11