LaTeX Memoir class TOC with "page" preceding first and only first entry

by Pete P   Last Updated August 14, 2019 02:23 AM - source

I'm using LaTeX and the memoir class to typeset a book. The book publisher (Cambridge) requests that the table of contents have chapter and headings on the left, page numbers on the right, with the very first entry containing the page number preceded by the word "page".

I tried:

\renewcommand*{\cftchapterformatpnum}[1]{\emph{page} \cftchapterpagefont #1}

and this allowed me to add "page", but it adds it to every entry. I tried:

\renewcommand*{\cftchapterformatpnum}[1] {\cftchapterpagefont #1}

elsewhere in my document to set it back, but there is obviously something I fundamentally don't understand about how LaTeX works. It seems that it only honors this command prior to:

\begin{document}

Can a LaTeX expert tell me the proper way to achieve the goal?

Tags : memoir


Related Questions


\newleadpage* compilation error in memoir

Updated April 08, 2015 21:09 PM

Is there a way to use font 13pt?

Updated May 17, 2016 08:09 AM

memoir page layout for playing card

Updated March 10, 2017 01:23 AM

screenplay-pkg not working with memoir.cls

Updated July 11, 2015 13:10 PM

memoir: book + articles

Updated February 25, 2018 11:23 AM