我想让页码位于页面顶部的中央。我该怎么做?感谢您的帮助...
答案1
你应该能够用 fancy 包来做到这一点
\documentclass{article}
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fancyhdr} % Custom headers and footers
\pagestyle{fancyplain} % Makes all pages in the document conform to the custom headers and footers
\fancyhead[L]{}% Empty left header
\fancyhead[C]{\thepage} % Page numbering for center header
\fancyhead[R]{}% Empty right header
\fancyfoot[L]{}% Empty left footer
\fancyfoot[C]{}% Empty center footer
\fancyfoot[R]{}% Empty left footer
%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\section{A dummy section}
\end{document}
问候