我习惯fancyhdr
在文档中添加一些页眉和脚注,但从第二页开始,页面的第一行和页眉重叠,如下所示。我该如何解决这个问题?
我正在使用以下代码:
\documentclass[letterpaper,12pt,lefttitle]{article}
\setlength{\parskip}{1em}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{times}
\usepackage{fullpage}
\usepackage[english]{babel}
\usepackage[bibstyle=numeric, natbib=true, backend=bibtex]{biblatex}
\addbibresource{references.bib}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage[colorlinks,allcolors=blue]{hyperref}
\usepackage{algorithmic}
\usepackage[ruled,vlined]{algorithm2e}
\usepackage{gensymb}
\usepackage[labelfont=bf]{caption}
\usepackage{gensymb}
\usepackage{mathtools}
\usepackage{xcolor}
\usepackage{subfiles}
\usepackage[bitstream-charter,cal=cmcal]{mathdesign}
\usepackage{dsfont}
\usepackage{mathtools}
\usepackage{centernot}
\usepackage[margin=2.2cm]{geometry}
\usepackage{fancyhdr}
\usepackage[tiny]{titlesec} %for making section tiny
\pagestyle{fancy}% Change page style to fancy
\fancyhf{}% Clear header/footer
\fancyhead[L]{Research Proposal}
\fancyhead[R]{Ishfaq, Haque}
\fancyfoot[C]{\thepage}
% \fancyfoot[R]{ISHHA2001}
\renewcommand{\headrulewidth}{0.4pt}% Default \headrulewidth is 0.4pt
\renewcommand{\footrulewidth}{0.4pt}% Default \footrulewidth is 0pt
% \definecolor{myorange}{RGB}{185,95,71}
% \definecolor{myorange}{RGB}{185,105,71}
\definecolor{myorange}{RGB}{185,76,71}
% \definecolor{myorange}{RGB}{221,110,78}
\makeatletter
\renewcommand{\maketitle}{\bgroup\setlength{\parindent}{0pt}
% \begin{flushleft}
% \textbf{\@title}
% \end{flushleft}
\begin{flushright}
% \@author
\end{flushright}
\egroup
}
\makeatother
\title{Provably Efficient Exploration in Reinforcement Learning}
\author{Ishfaq, Haque}
\date{}
\begin{document}
\maketitle
Text goes here.
\printbibliography
\end{document}