I want to use small caps roman numbers for chapter numbering using memoir. So far I have tried the following:
\documentclass[oneside]{memoir}
\usepackage[osf]{mathpazo}
\def\thechapter{{\scshape\roman{chapter}}}
\renewcommand{\cftchapterpresnum}{\fontfamily{pplx}\selectfont\bfseries}
\renewcommand{\cftchapterpagefont}{\fontfamily{pplx}\selectfont\bfseries}
\renewcommand{\cftsectionpagefont}{\fontfamily{pplx}\selectfont}
\begin{document}
\tableofcontents
\chapter{The number 4 is more than 2}
\section{The number 4 is}
If I write chapter \ref{anotherChapter} like this is looks oki.
But the number in the header is a small i not a \textsc{i} and same
thing in the table of content and the chapter header\dots
\section{More than 4}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur
tempus facilisis nunc, sit amet suscipit ligula fermentum ac. Ut
fringilla, elit eget facilisis venenatis, risus massa viverra sem, a
placerat massa odio a mauris
\chapter{Another chapter}
\label{anotherChapter}
\end{document}
However this is not quite fixing it everywhere. It looks good in section listings in the table of content but not in the chapter listings and it looks good in references to the chapter but not in the chapter nor section headings. What more do I need to do?
EDIT: I was trying to make a minimal example but it got a bit too minimal. In my project I am using sans serif for figure captions and after I tried the first version of Lockstep's answer I got this:
\documentclass[oneside]{memoir}
\usepackage[osf]{mathpazo}
\usepackage{helvet}
\renewcommand*{\thechapter}{%
\fontfamily{ppl}\selectfont
\textsc{\roman{chapter}}%
\fontfamily{pplj}\selectfont
}
\renewcommand{\cftchapterpagefont}{\fontfamily{pplj}\selectfont\bfseries}
\renewcommand{\cftsectionpagefont}{\fontfamily{pplj}\selectfont}
\captionnamefont{\sffamily\scshape\small}
\captiontitlefont{\sffamily\small}
\begin{document}
\tableofcontents
\chapter{The number 4 is more than 2}
\section{The number 4 is}
If I write chapter \ref{anotherChapter} like this is
looks oki.
But the number in the header is a small i not a \textsc{i} and same
thing in the table of content and the chapter header\dots
\begin{figure}
\caption{Lorem ipsum}
\center \LARGE LOREM IPSUM
\end{figure}
\section{More than 4}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur
tempus facilisis nunc, sit amet suscipit ligula fermentum ac. Ut
fringilla, elit eget facilisis venenatis, risus massa viverra sem, a
placerat massa odio a mauris
\chapter{Another chapter}
\label{anotherChapter}
\end{document}
Notice that the font for the number in the figure caption now is the wrong one.
?
Also you set the font back to pplj at the end of the command. Why is this? This is going to cause similar problems, no?