为什么我的标题页和目录页之间有一张空白页?

为什么我的标题页和目录页之间有一张空白页?

我在这里还算是新手,所以请指出我在提问时犯的任何错误。

我正在尝试创建一个新的 Latex 文档,但是我看到标题(第 1 页)和目录(第 3 页 - 应该是第 2 页)之间有一个额外的空白页。

我犯了什么错误?还是 Overleaf 有问题?

这是我的代码:

\documentclass[a4paper,10pt]{report}

\usepackage{fancyhdr}
\usepackage{nomencl}
\usepackage[english]{babel}
\usepackage{tikz}
\newcommand{\cmark}{\text{\ding{51}}}
\newcommand{\xmark}{\text{\ding{55}}}
\usetikzlibrary{intersections}

\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{parskip}
\usepackage{makeidx}
\usepackage{tikz}
\usetikzlibrary{matrix}
\makenomenclature

% Title page starts here%
\begin{document}

\title{\bfseries \LARGE Estimating Headrooms of Indian ADRs using Stochastic Filtering Techniques\\ \vspace{1.0cm} \Large Under the guidance of\\ \vspace{0.2cm} \LARGE Dr. Rituparna Sen\\ \vspace{0.5cm} \includegraphics[width=2.0cm]{index2.png}\\ Indian Statistical Institute, Chennai \\ \vspace{1.0cm} \includegraphics[width=3.0cm]{index1.png} \\ \vspace{0.2cm} \LARGE Adeetya Vikrama Tantia \bfseries \\ MS14033 \\ \Large Indian Institute of Science Education \& Research, Mohali}
\date{1st August 2017}
\maketitle

%Title page ends here%
%Contents page starts here%

\tableofcontents
\thispagestyle{fancy}
\chead{Table of Contents}
\cfoot{Page \thepage\, of $29$}

%Contents Page ends here%

%Acknowledgement Page starts here%
\end{document}

答案1

正如评论中所述,问题在于标题页太大。(通过使用包demo中的选项graphicx并调整垂直间距,可以重现该问题。)

无论如何,简单的解决方案是减少垂直间距或您正在使用的图像的高度 - 我无法对此发表评论,因为您可能有由您的机构等设定的格式指南。

如果图像高度减少,结果如下(标题页和目录之间不再有空白页):

\documentclass[a4paper,10pt]{report}

\usepackage{amsmath}
\usepackage[utf8]{inputenc}
\usepackage[demo]{graphicx}
\usepackage{fancyhdr}
\usepackage{parskip}

% Title page starts here%
\begin{document}
    \title{%
        \bfseries \LARGE Estimating Headrooms of Indian ADRs using Stochastic Filtering Techniques\\[1cm]
        \Large Under the guidance of\\[0.2cm]
        \LARGE Dr. Rituparna Sen\\[0.5cm]
        \includegraphics[height=2.0cm]{index2.png}\\
        Indian Statistical Institute, Chennai \\[1cm]
        \includegraphics[height=2.0cm]{index1.png} \\[0.2cm]
        \LARGE Adeetya Vikrama Tantia \bfseries \\
        MS14033 \\
        \Large Indian Institute of Science Education \& Research, Mohali
    }
    \date{1st August 2017}
    \maketitle

    %Title page ends here%
    %Contents page starts here%

    \tableofcontents
    \thispagestyle{fancy}
    \chead{Table of Contents}
    \cfoot{Page \thepage\, of $29$}

    %Contents Page ends here%

    %Acknowledgement Page starts here%
\end{document}

在此处输入图片描述

相关内容