# Roman numerals in TOC are not in smallcaps - microtype problem with memoir

I'm using the memoir class for typesetting a book. In the \frontmatter I have a chapter with a section and a subsection.

My problem is that, in the TOC, the page number of the chapter appears in lowercase, and I would like it to be in smallcaps (as they appear in the section and subsection):

Even stranger, when I tried an MWE, the problem didn't appear:

\documentclass[a5paper, 11pt]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[spanish,es-tabla]{babel}
\usepackage[sc]{mathpazo}
\usepackage{biolinum}
\usepackage{eulervm}
\usepackage[T1]{fontenc}

\chapterstyle{dash}
\pagestyle{ruled}
\settocdepth{subsection}

\begin{document}

\frontmatter

\tableofcontents*
\cleardoublepage \tableofcontents*
\cleardoublepage \tableofcontents*

\chapter{A modo de introducción}
\section{Convenciones}
\subsection{Números de línea}

\mainmatter

\chapter{Cecilia Payne, PhD.}
\chapter{Antonia Maury, Aydte.}

\end{document}


## Edit:

I think I found the package responsible for the behaviour: microtype:

\documentclass[a5paper, 11pt]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[spanish,es-tabla]{babel}
\usepackage[sc]{mathpazo}
\usepackage{biolinum}
\usepackage{eulervm}
\usepackage[T1]{fontenc}

\usepackage{microtype} % <--- This is the problem

\begin{document}

\frontmatter

\tableofcontents*
\cleardoublepage \tableofcontents*
\cleardoublepage \tableofcontents*
\cleardoublepage \tableofcontents*
\cleardoublepage \tableofcontents*

\chapter{A modo de introducción}
\section{Convenciones}
\subsection{Números de línea}

\mainmatter

\chapter{Cecilia Payne, PhD.}
\chapter{Antonia Maury, Aydte.}

\end{document}


I would like the xi appear as XI.

## Edit 2:

After the wonderful answer and insight of Iacobus1983, I think that the problem is far out of reach. So I think that I will get the chapter titles and numbers in small caps:

\documentclass[a5paper, 11pt]{memoir}
\usepackage[utf8]{inputenc}
\usepackage[spanish,es-tabla]{babel}
\usepackage[sc]{mathpazo}
\usepackage{biolinum}
\usepackage{eulervm}
\usepackage[T1]{fontenc}
\usepackage{microtype}

\settocdepth{subsection}
\renewcommand*{\cftchapterfont}{\scshape}
\renewcommand{\cftchapterpagefont}{\scshape}

\begin{document}

\frontmatter

\tableofcontents*
\cleardoublepage \tableofcontents*
\cleardoublepage \tableofcontents*
\cleardoublepage \tableofcontents*
\cleardoublepage \tableofcontents*

\chapter{A modo de introducción}

\section{Convenciones}

\subsection{Números de línea}

\mainmatter

\chapter{Cecilia Payne, PhD.}
\section{Una sección}
\subsection{Una subsección}

\chapter{Antonia Maury, Aydte.}

\end{document}


• Do you mean lower case (not small caps)? I.e. would you like to have xii instead of XII? Not knowing your code, have you tried using roman instead of Roman where appropriate? Feb 10 at 20:26
• @Ingmar : I would like to have XI instead of xi. By the way, thank you for the edition! I haven't use roman nor Roman... Feb 10 at 21:11
• This is not memoir related, also happens with book. Note that it is very well known that spanish babel messes with roman and and thus may confuse other packages. Feb 11 at 11:14
• My guess is that microtype needs some sort of "definition" of smallcaps and does not found them for mathpazo font. I mean, if I comment \usepackage[sc]{mathpazo} I see smallcaps even with microtype. EDIT: also removing the sc option does work. So, microtype has a problem with this scoption for true smallcaps. Feb 11 at 11:42
Since the issue happens only in the Table of contents (not in other small caps text within the document), you can (with memoir) just add \scshape in the page number font, so:
\renewcommand{\cftchapterpagefont}{\scshape}
• @LuisLópez : I'm sorry. By the way, I see that \scshape\bfseries (or the equivalent \textsc{\textbf{foo}) does not work also outside the table of contents, and also without microtype. So, I suspect that mathpazo has no support for bold small caps... But I'm no great expert, I hope someone else finds a solution. Feb 11 at 17:52
• I add something: without microtype the smallcaps+bf seems to work in the toc but not elsewhere (a bit puzzling), and the compilers issues the warning: "Package spanish Warning: Replacing `T1/pplx/b/sc' by faked small caps on input line 2." Feb 11 at 17:59