标题页前的空白页

标题页前的空白页
\documentclass[3pt]{report}
\usepackage[margin=2cm]{geometry}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc}
\usepackage{lineno}
\usepackage{xcolor}  
\usepackage{url}
\usepackage{thmtools}
\usepackage{environ}
\usepackage{nicefrac}  
\usepackage{siunitx}
\usepackage{tikz}
\usepackage{epstopdf}
\usepackage{amsfonts,amssymb,amsbsy}
\usepackage{mathtools}
\usepackage{scalerel}
\DeclarePairedDelimiter\norm{\lVert}{\rVert}
\def\lVert{\mid\!\mid}
\def\rVert{\mid\!\mid}
\usepackage{amsmath}
\usepackage{nccmath}
\DeclareMathOperator{\regret}{regret}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{definition}{Definition}[section]
\newtheorem{assumption}{Assumption}[section]
\begin{document}
\begin{center}
\begin{titlepage}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\textsc{\LARGE
University College Dublin
} \\[1cm]
\includegraphics[scale=0.1]{UCDlogo.png} \\[1cm]
\HRule \\[0.4cm]
{ \huge \bfseries xyz \\[0.15cm]}
\HRule \\[0.5cm]
ABC\\
CDE\\
SCH\\
UVW\\
NYT\\
Date Of Assessment: xyz\\
Supervisor: Prof. xyt\\
\end{titlepage}
\end{center}
\tableofcontents
\chapter{Specification of research area}
\end{document}

你能帮我把标题页前的空白页删掉吗?

答案1

更改打开centertitlepage环境的顺序似乎有效。我猜center环境会尝试使居中titlepage,而不是仅使标题页的内容居中。

\documentclass[3pt]{report}
\usepackage[margin=2cm]{geometry}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[utf8]{inputenc} 
\usepackage[T1]{fontenc}
\usepackage{lineno}
\usepackage{xcolor}  
\usepackage{url}
\usepackage{thmtools}
\usepackage{environ}
\usepackage{nicefrac}  
\usepackage{siunitx}
\usepackage{tikz}
\usepackage{epstopdf}
\usepackage{amsfonts,amssymb,amsbsy}
\usepackage{mathtools}
\usepackage{scalerel}
\DeclarePairedDelimiter\norm{\lVert}{\rVert}
\def\lVert{\mid\!\mid}
\def\rVert{\mid\!\mid}
\usepackage{amsmath}
\usepackage{nccmath}
\DeclareMathOperator{\regret}{regret}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{corollary}{Corollary}[theorem]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{definition}{Definition}[section]
\newtheorem{assumption}{Assumption}[section]
\begin{document}
\begin{titlepage}
\begin{center}
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\textsc{\LARGE
University College Dublin
} \\[1cm]
\includegraphics[scale=0.1]{UCDlogo.png} \\[1cm]
\HRule \\[0.4cm]
{ \huge \bfseries xyz \\[0.15cm]}
\HRule \\[0.5cm]
ABC\\
CDE\\
SCH\\
UVW\\
NYT\\
Date Of Assessment: xyz\\
Supervisor: Prof. xyt\\
\end{center}
\end{titlepage}
\tableofcontents
\chapter{Specification of research area}
\end{document}

答案2

我遇到了类似的问题,唯一能解决这个问题的方法就是按照文档中的描述,在几何图形中添加一个总数(http://vesta.informatik.rwth-aachen.de/ftp/pub/mirror/ctan/macros/latex/contrib/geometry/geometry.pdf, 第2页)

\usepackage[total={6.5in,8.75in},
top=1.2in, left=1.0in, right=1.0in, includefoot]{geometry}

相关内容