我希望頁面頂部和底部沒有頁碼

我希望頁面頂部和底部沒有頁碼

我想從文件中刪除頁碼。我能怎麼做?請幫我。

答案1

你可以這樣吞噬數字:

\documentclass{article}
\pagenumbering{gobble}

\usepackage{lipsum} % not needed in real document

\begin{document}
\lipsum[1-40] % dummy text
\end{document}

當然,更好的選擇是使用刪除它們的頁面樣式:

\documentclass{article}
\pagestyle{empty}

\usepackage{lipsum} % not needed in real document

\begin{document}
\lipsum[1-40] % dummy text
\end{document}

相關內容