I have a latex document that looks something like this
\documentclass{report}
\usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
\usepackage[default,osf]{sourcesanspro}
\begin{document}
\tableofcontents
\chapter{Introduction} This chapter's content... \clearpage
\section{Structure} This section's content... \clearpage
\subsection{Top Matter} This subsection's content... \clearpage
\section{More Structure} This section's content... \clearpage
\subsection{More Top Matter} This subsection's content... \clearpage
\chapter{Chapter} This chapter's content... \clearpage
\section{Structure} This section's content... \clearpage
\subsection{Top Matter} This subsection's content... \clearpage
\section{More Structure} This section's content... \clearpage
\subsection{More Top Matter} This subsection's content... \clearpage
\chapter{Chapter} This chapter's content... \clearpage
\section{Structure} This section's content... \clearpage
\subsection{Top Matter} This subsection's content... \clearpage
\section{More Structure} This section's content... \clearpage
\subsection{More Top Matter} This subsection's content... \clearpage
\chapter{Chapter} This chapter's content... \clearpage
\section{Structure} This section's content... \clearpage
\subsection{Top Matter} This subsection's content... \clearpage
\section{More Structure} This section's content... \clearpage
\subsection{More Top Matter} This subsection's content... \clearpage
\end{document}
Resulting in a TOC that looks like this:
The alignment of the page numbers looks pretty bad:
As you can see I've defaulted the document to oldstyle figures but that doesn't look good in the TOC. I'd prefer to using tabular lining (or perhaps tabular oldstyle) figures for the TOC page numbers.
How can I set the TOC to use tabular lining figures?
One wrinkle ... I believe there might be a way to do this with fontspec
but my microtype
options don't seem to work with XeLaTeX
or LuaLaTeX
tocloft
package may be of assistance; perhaps I'll look at that at some time.