知方号

知方号

LaTeX 页眉和页脚

原  文: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。你可以在下一章中看到

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lizi9903@foxmail.com举报,一经查实,本站将立刻删除。