Latex 第1页只显示了一个数字,其余部分显示';第x页,共4页';

Latex 第1页只显示了一个数字,其余部分显示';第x页,共4页';,latex,Latex,第一页显示一个集中编号,其余显示“第x页,共4页”,其中x是他们所尊重的页码。我希望第一页也是这种格式,但是我不明白为什么它会这样做 \lfoot{} % Define left footer \rfoot{Page \thepage \hspace{1pt} of \pageref{LastPage}} \cfoot{} 您的第一个页面可能使用了不同的页面样式,例如empty或plain。您还可以调整此样式: \documentclass{article} \usepackage{

第一页显示一个集中编号,其余显示“第x页,共4页”,其中x是他们所尊重的页码。我希望第一页也是这种格式,但是我不明白为什么它会这样做

\lfoot{} % Define left footer


\rfoot{Page \thepage \hspace{1pt} of \pageref{LastPage}}


\cfoot{}

您的第一个页面可能使用了不同的页面样式,例如
empty
plain
。您还可以调整此样式:

\documentclass{article}

\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{lipsum}


\pagestyle{fancy}
\lfoot{} % Define left footer

\rfoot{Page \thepage \hspace{1pt} of \pageref{LastPage}}

\cfoot{}

\author{names}
\title{text}

\fancypagestyle{plain}{
\lfoot{} % Define left footer
\rfoot{Page \thepage \hspace{1pt} of \pageref{LastPage}}
\cfoot{}
}

\begin{document}



\maketitle

\lipsum


\end{document}

您的第一个页面可能使用了不同的页面样式,例如
empty
plain
。您还可以调整此样式:

\documentclass{article}

\usepackage{fancyhdr}
\usepackage{lastpage}
\usepackage{lipsum}


\pagestyle{fancy}
\lfoot{} % Define left footer

\rfoot{Page \thepage \hspace{1pt} of \pageref{LastPage}}

\cfoot{}

\author{names}
\title{text}

\fancypagestyle{plain}{
\lfoot{} % Define left footer
\rfoot{Page \thepage \hspace{1pt} of \pageref{LastPage}}
\cfoot{}
}

\begin{document}



\maketitle

\lipsum


\end{document}
你能帮我做一份报告吗?第一页可能使用另一种页面样式,因此除了更改
花式
页面样式外,您还必须调整
普通
您能做一个调整吗?第一个页面可能使用另一个页面样式,因此除了更改
fancy
页面样式外,您还必须调整
plain
empty