I am writing a book using Memoir class.
The editor says "A line as 'TABLE OF CONTENTS' must not appear in TOC."
This is the code I'm using:
Code: Select all
\documentclass[12pt]{memoir}
\renewcommand\contentsname{ToC}
\title{MWEToC}
\author{YouToo}
\date{ }
\begin{document}
\maketitle \newpage \tableofcontents \frontmatter
\chapter{PREFACE}
blah blah Preface
\mainmatter
\chapter{A Title}
\section{Section One.One}
blah blah Section 1.1
\section{Section One.Two}
blah blah Section 1.2
\end{document}
ToC 2
How can I fix it? Thanks a lot, YT.