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

正文内容无需生成空白页,要如何修改 #437

Open
10 tasks
CSWYF3634076 opened this issue Feb 28, 2024 · 6 comments
Open
10 tasks

正文内容无需生成空白页,要如何修改 #437

CSWYF3634076 opened this issue Feb 28, 2024 · 6 comments

Comments

@CSWYF3634076
Copy link

检查 / Check

编译环境 / Compilation Environment

  • 操作系统 / Operating System

    • Windows 7/8/10
    • macOS
    • Linux
  • TeX 发行版 / Tex Distribution

    • TeX Live
    • MiKTeX
    • CTeX

描述问题 / Problem Description

问题描述:

最新的论文撰写,正文内部章节间无需生成空白页,请求要如何修改

日志文件 / .log file

将编译生成的 .log 文件拖入下行空白处:

问题截图 / Screenshots

将出现的问题或需要实现的效果的 截图照片 拖入下行空白处:
R(_22Q61WC`ICU}LREYC$UR

最小工作示例(MWE) / Minimal Working Example

@sikouhjw
Copy link

\documentclass[twoside]{Style/ucasthesis}%

将其改为

 \documentclass[twoside,openany]{Style/ucasthesis}

@gxxxh
Copy link

gxxxh commented Mar 13, 2024

\documentclass[twoside]{Style/ucasthesis}%

将其改为

 \documentclass[twoside,openany]{Style/ucasthesis}

你好,如果只需要删除正文(绪论到结束语)的空白页,在摘要,目录,参考文献等地方依旧保留空白页,该如何修改呢?

@sikouhjw
Copy link

你好,如果只需要删除正文(绪论到结束语)的空白页,在摘要,目录,参考文献等地方依旧保留空白页,该如何修改呢?

你确定是这个要求吗……

@CSWYF3634076
Copy link
Author

\documentclass[twoside]{Style/ucasthesis}%

将其改为

 \documentclass[twoside,openany]{Style/ucasthesis}

调整之后页眉出现问题,这里应该是总结和展望,请问这个有办法修改吗
image

@sikouhjw
Copy link

调整之后页眉出现问题,这里应该是总结和展望,请问这个有办法修改吗

这是你的认知误区,这不是「问题」。奇数页页眉是 chapter,偶数页是 thesis title,没有问题。有问题的是你的认知:既要没有空白页,又要 chapter 的页眉是 chapter title。

\fancypagestyle{mainmatterstyle}{% style for mainmatter
\fancyhf{}% clear fields
\fancyhead[C]{\footnotesize \ifnumodd{\value{page}}{\leftmark}{\@title}}% structure elements
\fancyfoot[C]{\footnotesize \ifnumodd{\value{page}}{\hspace*{\fill}\thepage}{\thepage\hspace*{\fill}}}% page number
\renewcommand{\headrulewidth}{0.8pt}% header rule
\renewcommand{\footrulewidth}{0pt}% footer rule
}

@QianpengLi577
Copy link

QianpengLi577 commented May 11, 2024

你好,如果只需要删除正文(绪论到结束语)的空白页,在摘要,目录,参考文献等地方依旧保留空白页,该如何修改呢?

@gxxxh 参考这个 #423

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants