页眉/页脚不显示(fancyhdr)

页眉/页脚不显示(fancyhdr)

我遇到了一个小问题。当我使用该fancyhdr包时,没有发布任何页眉/页脚。我不确定为什么

\documentclass[a4paper,12pt]{report}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage[Sonny]{fncychap}
%\usepackage{natbib}
\usepackage{graphicx}
%\graphicspath{{Fig/}}
%\bibliographystyle{apalike}

\title{{The Study of Everything}\\
{\large University of Something}}
\author{Joe Bloggs}
\pagenumbering{roman}

\begin{document}

\newcounter{rom}

\maketitle

\tableofcontents
\listoffigures
\listoftables


\setcounter{page}{1}
\setcounter{page}{2}
\setcounter{page}{3}
\clearpage
\pagenumbering{arabic}


%\input{tex/introduction}\newpage\cleardoublepage
%\input{tex/Chapter2}\newpage\cleardoublepage
%\input{tex/Chapter3}\newpage\cleardoublepage
%\input{tex/Chapter4}\newpage\cleardoublepage
%\input{tex/conclusion}\newpage\cleardoublepage
%\input{tex/acknowledgement}\newpage\cleardoublepage
%\bibliography{bib/Literature}\newpage\cleardoublepage
\end{document}

我只完成了简介和第二章...它们的样子如下

\chapter{Introduction}
\section{Motivation}
I was motivated to write a Phd thesis because I did not want to work directly after finishing my studies.
\section{Organization}
This thesis is organized as follows, ...

\chapter{Chapter 2}

\section{Literature Review}

I love literature reviews because it show me how little I know...

相关内容