![如何实现仅在第一页的页码旁边显示文字?](https://linux22.com/image/479025/%E5%A6%82%E4%BD%95%E5%AE%9E%E7%8E%B0%E4%BB%85%E5%9C%A8%E7%AC%AC%E4%B8%80%E9%A1%B5%E7%9A%84%E9%A1%B5%E7%A0%81%E6%97%81%E8%BE%B9%E6%98%BE%E7%A4%BA%E6%96%87%E5%AD%97%EF%BC%9F.png)
答案1
加载包fancyhdr
并使用命令lfoot
(意思是左脚。您还可以有rfoot
,,cfoot
& c/l/rhead
。)如下例所示。
\documentclass{article}
\usepackage{fancyhdr} % Loaded for footers.
%\renewcommand{\headrulewidth}{0pt} % Uncomment this line if you don't want the line at the top.
\begin{document}
\thispagestyle{fancy}
\rfoot{\small Last update: August 27, 2018}
\tableofcontents
\pagebreak
\section{First}
\section{Second}
\section{Third}
\end{document}
和titlepage
\documentclass{article}
\usepackage{fancyhdr} % Loaded for footers.
%\renewcommand{\headrulewidth}{0pt} % Uncomment this line if you don't want the line at the top.
\title{text}
\author{names}
\begin{document}
\begin{titlepage}
\maketitle
\thispagestyle{fancy}
\rfoot{\small Last update: August 27, 2018}
\tableofcontents
\end{titlepage}
\pagebreak
\section{First}
\section{Second}
\section{Third}
\end{document}