1

I would like appendices to be numbered using small caps in my memoir document. I have managed to do it for the actual title, but I can't seem to figure out how I should fix the table of contents.

\documentclass{memoir}
\usepackage{fontspec}
\setmainfont{EBGaramond-Regular}[
  BoldFont = EBGaramond-Bold,
  Numbers={Proportional, OldStyle}
]
\setsecnumformat{\textsc{\MakeLowercase{\csname the#1\endcsname}}\quad}
\begin{document}
  \tableofcontents*

  \chapter{A chapter}
  \section{A section}
  \section{Another section}
  \begin{subappendices}
    \section{An appendix}
  \end{subappendices}

  \chapter{Second chapter}
  \section{A section}
  \section{Another section}
\end{document}

Table of contents

1 Answer 1

2

Here is one way

\makeatletter
\patchcmd\numberline{\@cftbsnum #1\@cftasnum}{\@cftbsnum{#1}\@cftasnum}{}{\ERROR}
\makeatother
\renewcommand\cftsectionpresnum{\scshape\MakeLowercase}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .