I was using the titlesec command \titlelabel{\thetitle.\quad} to add a period after the section number, but it isn't compatible with the memoir options :

\section[Section title in TOC][Heading section title]{Section title}

(problem already noted here About memoir and titlesec incompatibility)

My question is : how can I add this period after section number with memoir class (so, without titlesec) ?


    \chapter[Chapter title in TOC][Heading chapter title]{Chapter title}
    \section[Section title in TOC][Heading section title]{Section title}
  • Where exactly should this number appear? References, TOC, Text? – daleif Apr 12 '16 at 14:30
  • In references it's not important, but in TOC and text yes ! – Lempeo Apr 13 '16 at 15:29

If it is just for the formatting in the text, this is enough (it will also hit subsection and subsubsection

\setsecnumformat{\csname the#1\endcsname.\quad}

The default is the same (without the dot)

  • Thanks ! For the TOC, I used a titletoc code : \titlecontents{section}[3.8em]{\addvspace{0em}}% {\contentslabel[{\thecontentslabel}.]{2.3em}}% {\hspace{-2.3em}} {\titlerule*[1em]{.}\contentspage} It seems to work fine with memoir for the moment. But maybe there's a more appropriate way to do it with the class macros. – Lempeo Apr 13 '16 at 15:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.