Latex 第1页只显示了一个数字,其余部分显示';第x页,共4页';
第一页显示一个集中编号,其余显示“第x页,共4页”,其中x是他们所尊重的页码。我希望第一页也是这种格式,但是我不明白为什么它会这样做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{
\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