Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译警告 "\fancyhead's `E' option without twoside option is useless." #58

Closed
3 of 11 tasks
chirsz-ever opened this issue Apr 23, 2021 · 3 comments
Closed
3 of 11 tasks
Labels
bug Something isn't working

Comments

@chirsz-ever
Copy link
Contributor

检查

  • 已在 issues 中进行搜索(包括已关闭的问题)

编译环境

  • 操作系统

    • Windows 10
    • Windows 8/8.1
    • Windows 7
    • 更早版本的 Windows
    • macOS
    • ArchLinux
  • TeX 发行版

    • TeX Live 2021
    • MiKTeX
    • CTeX 套装 2.9.2.164
    • 更早版本的 CTeX 套装
  • whu-thesis 版本

    v0.6c

描述问题

使用 oneside 文档选项,编译时会出现多条警告 "\fancyhead's `E' option without twoside option is useless."

最小工作示例(MWE)

我还做了这些尝试

修改第 260 行,在有 oneside 选项时不提供 E 应该就行了。

whu-thesis/whu-thesis.cls

Lines 259 to 261 in b706a3e

\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 }

@tanukihee
Copy link
Member

oneside 只在本科下能用,硕博是规定双面打印的

而本科又没有页眉,所以这个 warning 我就没管…

@tanukihee tanukihee added the bug Something isn't working label Apr 24, 2021
@chirsz-ever
Copy link
Contributor Author

怎么关了?好像没修啊……

@tanukihee
Copy link
Member

tanukihee commented Apr 30, 2021

e8bb700

@tanukihee tanukihee added wontfix This will not be worked on and removed wontfix This will not be worked on labels Apr 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants