Doc & example: Unnumbered chapter #7
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In memoir, any call of
\chapter{...}in the\frontmatteror\backmatter, will result in an unnumbered chapter which will be automatically placed in the ToC with no alignment.In the
\mainmatter, the call to\chapter{...}will result in a numbered chapter. In order to create one that is not numbered, the starred version\chapter*{...}can be used.However, this presents two problems:
\chapter{...},The solutions to these problems are as follows:
\chapter*[My chapter name]{My chapter name}instead of simply\chapter*{My chapter name};\chapter*by calling the command\addcontentsline{toc}{chapter}{My chapter name}.Remark 1: In other to avoid having to modify all instances of the chapter's name in the commands above in the event of a later change in the name, a possibility is to create a label, say
\label{mychaplabel}, placed after the command\chapter*and using it in the command adding the entry to the ToC with\addcontentsline{toc}{chapter}{\nameref{chap:intro}}Remark 2: By default, the
\addcontentsline{toc}{chapter}{...}command will place the name given in the ToC as a chapter sectioning aligned with the other unnumbered chapters of the\frontmatter. If one wishes to align it with the numbered chapters of the\mainmatter, the command\relax\numberline{}should be used in the\addcontentslinecommand in front of the name given to the chapter so that it will appear in the ToC with the the correct indent.As a complete example, here is how to create an unnumbered chapter (in the main matter) called
Introductionwhich will be listed in the ToC aligned with the numbered chapters.