Skip to content

自定义页眉内容 #85

Answered by atxy-blip
tiejundong asked this question in Q&A
Mar 2, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

自定义一下正文页眉的内容

使用 fancyhdr 包提供的设置方法即可。可惜你没说具体改成什么样,这里就给个简单的例子吧:

\documentclass[degree=mg]{njuthesis}
\usepackage{zhlipsum}
\begin{document}
\mainmatter
\fancyhead{} % 清空已有页眉
\fancyhead[C]{\small\kaishu 哈哈}
\chapter{占位}
\zhlipsum[1-10]
\end{document}

显示的是我\cite内的字符内容

需要用 biber 命令生成参考文献信息。如果你用的是 TeXstudio 程序,请检查构建设置中的参考文献工具。

另:一个主题内请不要打包发布不同提问

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@tiejundong
Comment options

@atxy-blip
Comment options

@tiejundong
Comment options

Answer selected by tiejundong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
good first issue Good for newcomers
2 participants