Skip to content

Commit

Permalink
feat: give a workaround to redefine page head.
Browse files Browse the repository at this point in the history
  • Loading branch information
fky2015 committed Apr 18, 2022
1 parent 9c9567d commit 2f0e7e4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions templates/undergraduate-thesis/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,30 @@
\documentclass[bachelor,footskip=24pt]{bitbook}
% 如果想要修改样式,但无法找到样式在哪里定义:请参考 https://bithesis.bitnp.net/Guide/4-Others/Troubleshooting.html#%E6%83%B3%E8%A6%81%E4%BF%AE%E6%94%B9%E9%83%A8%E5%88%86%E6%A0%B7%E5%BC%8F-%E4%BD%86%E6%98%AF%E6%89%BE%E4%B8%8D%E5%88%B0%E6%A0%B7%E5%BC%8F%E5%9C%A8%E5%93%AA%E9%87%8C%E5%AE%9A%E4%B9%89

% 另一个临时的“修改页眉文字”的解决方法(非常不优雅,只作为临时措施)。
% 请注释掉以下 20 行内容使用。
% % 从原有主题继承自定义主题
% \fancypagestyle{BIThesisCustom}[BIThesis]{
% % 定义页眉、页码
% \fancyhead[C]{\zihao{4}\ziju{0.08}\songti{北京理工大学本科生毕业设计(论文)覆盖}}
% }
% % 设置章节格式
% \ctexset{chapter={
% pagestyle = BIThesisCustom,
% }
% }
% % 前置页面(原创性声明、中英文摘要、目录等)
% \renewcommand{\frontmatter}{
% \pagenumbering{Roman}
% \pagestyle{BIThesisCustom}
% }
% % 正文页面
% \renewcommand{\mainmatter}{
% \pagenumbering{arabic}
% \pagestyle{BIThesisCustom}
% }
% ------------------------------------------------------------------

% 使用 listings 宏包进行代码块使用,并使用了预定义的样式,
% 你也可以选用自己的喜欢的其他宏包,如 minted;
% 然而由于 minted 依赖 Python 的 Pygments 库作为外部依赖,因此出于模板的建议性考虑,我们没有提供 minted 进行代码块书写的示例。
Expand Down

0 comments on commit 2f0e7e4

Please sign in to comment.