我已经编写了这个简单的代码,但是它给了我一个额外的首页,显示如给定的那样。
我的代码:
\documentclass[a4paper, 11pt, oneside]{Thesis}
\graphicspath{Figures/}
\usepackage[square, numbers, comma, sort&compress]{natbib}
\usepackage{verbatim}
\usepackage{vector}
\hypersetup{urlcolor=blue, colorlinks=true}
\begin{document}
\begin{titlepage}
\frontmatter
\title {Title}
\authors {\texorpdfstring
{\href{[email protected]}{Hamimul Hasan}}
\and
{\href{[email protected]}{Imtiaz Ahmed}}
}
\addresses {\groupname\\deptname\\\univname}
\date {\today}
\subject {}
\keywords {}
\setstretch{1.3}
\fancyhead{}
\rhead{\thepage}
\lhead{}
\pagestyle{fancy}
\maketitle
\end{titlepage}
标题页的 Thesis.cls 代码:
\renewcommand\maketitle{
\btypeout{Title Page}
\hypersetup{pdftitle={\@title}}
\hypersetup{pdfsubject=\subjectname}
\hypersetup{pdfauthor=\authornames}
\hypersetup{pdfkeywords=\keywordnames}
\thispagestyle{empty}
\begin{titlepage}
\let\footnotesize\small
\let\footnoterule\relax
\let \footnote \thanks
\setcounter{footnote}{0}
\null\vfil
\vskip 60\p@
\begin{center}
\setlength{\parskip}{0pt}
{\large\textbf{\UNIVNAME}\par}
\vfill
{\huge \bf \@title \par}
\vfill
{\LARGE by \par}
\smallskip
{\LARGE \authornames \par}
\vfill
{\large A thesis submitted in partial fulfillment for the \par}
{\large degree of Doctor of Philosophy \par}
\bigskip
\bigskip
{\large in the \par}
{\large \facname \par}
{\large \deptname \par}
\bigskip
\bigskip
\bigskip
{\Large \@date \par}
\bigskip
\end{center}
\par
\@thanks
\vfil\null
\end{titlepage}
\setcounter{footnote}{0}%
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@thanks\@empty
\global\let\@author\@empty
\global\let\@date\@empty
\global\let\@title\@empty
\global\let\title\relax
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
\cleardoublepage
}