原 文:Headers and footers 译 者:Xovee 翻译时间:2023年8月12日
LaTeX 页眉和页脚LaTeX 内置了一批页眉和页脚的样式。你也可以自定义页眉和页脚的样式。
文章目录 LaTeX 页眉和页脚介绍标准的页面样式设置当前页的页面样式自定义单边文档的页面样式自定义双边文档的页面样式页眉和页脚的装饰线参考指南 介绍页面中页眉和页脚中显示的内容取决于当前页所激活的样式。这些样式的复杂性在书籍中尤为突出:
documentclass[a4paper,12pt,twoside]{book}usepackage[english]{babel}usepackage[utf8]{inputenc}pagestyle{headings}egin{document}chapter{Sample Chapter}section{New section}Hello, here is some text without a meaning. This text should show what a printed text will look like at this place. If you read this text, you will get no information. Really? Is there no information? Is there a difference between this text and some nonsense like ``Huardest gefburn? Kjift " not at all!...end{document}命令pagestyle{headings}将当前文档的页面样式设置为headings。你可以在下一章中看到