每当我运行论文中的标题页代码时,我都会发现第二个 \end{center} 和 \end{titlepage} 都会给出未定义的控制序列错误。我不知道是什么导致了这个错误,因为第一个 \end{center} 没有导致错误。以下是我的标题页的代码:
\begin{titlepage}
\begin{center}
\includegraphics[width=5cm]{Crest}
% this graphic file should live in the working directory
% the size of the following arguments to vspace were determined by
% trial and error, and produce suitable output for the A4 pagesize.
\vspace*{20pt}
\begin{spacing}{2}
\begin{center}
{\Large \bf \TheTitle} % declared in preamble.tex
\vspace*{14pt}
by
{\Large \bf \TheAuthor} % declared in preamble.tex
\vspace*{16pt}
{\large \bf \TheModule} % declared in preamble.tex
Submitted to \TheUni % declared in preamble.tex
\vspace*{36pt}
{\Large \bf \TheDept} % declared in preamble.tex
\TheSubDate % declared in preamble.tex
\vspace*{36pt}
\includegraphics[width=5cm]{logo}
\end{center}
\end{spacing}
\end{center}
\end{titlepage}