2

I need to insert a chapter 7.5 between chapters 7 and 8. I've figured out how to get chapter 8 to be chapter 8, but I can't figure out how to get chapter 7.5 to be chapter 7.5. I'm using the memoir.cls and chapterstyle "dash".

Here's my MWE:

\documentclass{memoir}

\chapterstyle{dash}

\begin{document}

\chapter{The Laboratory} %This is the chapter I want labelled 7.5

\setcounter{chapter}{7}
\chapter{Testing} %This is the chapter I want to be labelled "8".
\end{document}

Thanks!

1
  • 1
    David has provided a simple and effective solution. I'd add that having a chapter numbered "7.5" might be a bad idea if chapter 7 has numbered sections. Because "7.5" would then be ambiguous.
    – marquinho
    Jan 18 at 22:49

1 Answer 1

4

enter image description here

\documentclass{memoir}

\chapterstyle{dash}

\begin{document}

\renewcommand\thechapter{7.5}
\chapter{The Laboratory} %This is the chapter I want labelled 7.5
\renewcommand\thechapter{\arabic{chapter}}

\setcounter{chapter}{7}
\chapter{Testing} %This is the chapter I want to be labelled "8".
\end{document}
1
  • Beat me by a few seconds :)
    – marquinho
    Jan 18 at 22:48

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.