从参考书目页面中删除标题
我使用这个 LaTeX 代码添加参考书目部分:
\bibliographystyle{plain}
\bibliography{bp}
第一页看起来不错。它包含参考书目标题、无标题和引文列表。然而,下一页上有一个标题,其中包含上一节的标题。有没有办法删除这个标题?
I use this LaTeX code to add a bibliography section:
\bibliographystyle{plain}
\bibliography{bp}
The first page looks fine. It contains the Bibliography title, no header and a list of citations. However on the next page is a header with the title of the previous section. Is there a way to remove this header?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
第一页采用普通页面样式排版。以下页面具有文档其余部分的页面样式,(显然)您使用 fancyhdr 对其进行了修改。
在 fancyhdr 文档中,请参阅 \ markright 和 \markleft 命令,可以修改文档中的标题。也许 \markright{} 可以解决您的问题。
The first page is typeset with pagestyle plain. The following pages have the pagestyle of the rest of the document, which (apparently) you modified using fancyhdr.
In the documentation of fancyhdr, see the \markright and \markleft commands, which can modify the headers in your document. Probably a \markright{} can solve your problem.
抱歉,我意识到章节的第一页没有标题这一事实是在我使用的样式中明确定义的。我认为是
\bibliography
清除了第一页上的标题。我通过在最后一部分之后添加以下内容解决了这个问题:(
\clearpage
是必要的,因为否则它也会从最后一部分中删除标题)I'm sorry, I've realized that the fact that the first page of a section is without the heading was explicitly defined in the style I was using. I thought it was
\bibliography
that was clearing the header on the first page.I've solved it by adding this after the last section:
(
\clearpage
was necessary, because otherwise it removed headers also from the last section)