[texhax] microtype and varioref - conflict?

Lars Madsen daleif at imf.au.dk
Fri Sep 11 15:32:00 CEST 2009


it boils down to a problem as to how one can have oldstyle page numbers 
that will work with varioref and microtype

Here is a minimal example


\documentclass[12pt,a4paper]{article}
\usepackage[english]{varioref}
\usepackage{microtype}
\usepackage[]{textcomp}
\makeatletter
\newcommand*{\@oldstyle}[1]{{%
  \oldstylenums{\number#1}}}
\makeatother
\pagenumbering{oldstyle}
\begin{document}

\section{test}
\label{test}

\vref{test}
\end{document}

-- 

/daleif


More information about the texhax mailing list