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

单双页页边距不一致的问题&chapter前会出现使用\vspace无法解决的额外空行 #358

Closed
TianyuFan0504 opened this issue Dec 21, 2023 · 5 comments
Labels
I need help I want to get help from developers

Comments

@TianyuFan0504
Copy link

TianyuFan0504 commented Dec 21, 2023

操作系统

Windows

TeX 套件

TeXLive 2021 或更新的版本

TeX Compiler

XeTeX

zjuthesis 版本号

v10.0.1

MajorFormat

general

Degree

undergraduate

Type

thesis

Period

proposal

BlindReview

true

GradLevel

master

问题描述

1.单双页页边距不一致,导致跨页段落无法对齐,注意到以前的issue中提到了这一点
#44 (comment)
应该已经在v5版本之后解决,但我仍出现了这个问题。
问题如图:
problem2

2.另外,使用\chapter命令时会出现与页眉的空行,这一空行无法通过\vspace处理
#125 (comment) 这一分析中也有这个问题,不知道目前有没有什么办法解决
问题如图,左侧是编译所得,右侧是word模板
problem1

编译日志

zjuthesis.log

代码

No response

截图

No response

其他信息

No response

@TianyuFan0504 TianyuFan0504 added the I need help I want to get help from developers label Dec 21, 2023
@zst1406217
Copy link

我也有此问题!

@darrrt
Copy link

darrrt commented Dec 25, 2023

可以修改heading中 chapter beforeskip=-21pt,afterskip=5pt,但是没找到word的行距是怎么算的

@TianyuFan0504
Copy link
Author

可以修改heading中 chapter beforeskip=-21pt,afterskip=5pt,但是没找到word的行距是怎么算的

word行距可以参考这个issue #125 (comment)
不过感觉审核时候应该也是目测。。我看了下官方word模板有些地方也怪怪的QAQ

@note286
Copy link

note286 commented Jan 3, 2024

关于奇偶页左右页边距不同,这是由于需要双面打印,还有装订,自然奇偶页左右页边距不同,这是正常现象。可通过在文档类参数中设置TwoSide=false来改为奇偶页左右页边距相同。

@note286
Copy link

note286 commented Jan 3, 2024

标题样式请通过ctex的接口来设置,例如,如果需要移除章标题前的垂直间距,可以在加载文档类之后使用如下代码设置:

\ctexset{chapter/fixskip=true,chapter/beforeskip=0pt}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I need help I want to get help from developers
Projects
None yet
Development

No branches or pull requests

5 participants