Skip to content

Commit

Permalink
修复本科与开题下 fancyhdr 的警告,fix #58 [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
tanukihee committed Apr 30, 2021
1 parent 0ec826f commit e8bb700
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,12 @@

本文档格式遵守[如何维护更新记录](https://keepachangelog.com/zh-CN/1.0.0/)

## 未发布

### 修复

* 修复本科与开题报告下 fancyhdr 的警告。[#58]

## v0.6c

### 新增
Expand Down
20 changes: 15 additions & 5 deletions whu-thesis.cls
Expand Up @@ -253,12 +253,22 @@
}

% 默认页面页眉页脚样式
\fancypagestyle { plain }
\clist_if_in:nVTF { doctor , master } \g__whu_option_type_tl
{
\fancyhf {}
\fancyhead [ O C ] { \zihao { 5 } \g__whu_head_odd_tl }
\fancyhead [ E C ] { \zihao { 5 } \g__whu_head_even_tl }
\fancyfoot [ C ] { \zihao { 5 } \thepage }
\fancypagestyle { plain }
{
\fancyhf {}
\fancyfoot [ C ] { \zihao { 5 } \thepage }
\fancyhead [ O C ] { \zihao { 5 } \g__whu_head_odd_tl }
\fancyhead [ E C ] { \zihao { 5 } \g__whu_head_even_tl }
}
}
{
\fancypagestyle { plain }
{
\fancyhf {}
\fancyfoot [ C ] { \zihao { 5 } \thepage }
}
}
}

Expand Down

0 comments on commit e8bb700

Please sign in to comment.