5 页面开头的标题上面空间消失,并且页码上移?

发布于 2021-05-14 10:19:38

模板的摘要是用的frontmatter形式,并且格式在cfg有设置,其他的chapter都没问题

%% the chapter title format
%%
\def\CTEX@chapter@beforeskip{-6mm}
\def\CTEX@chapter@afterskip{5mm}

6730fd3ae9380c0d42a9b0000ff1e12b.png
2c8cafcde8c0810c9d39709313525402.png

ff98459b74d4be40efc4f403ce07e667.png
同样格式的第二页英文摘要就没有问题,看起来这个标题和页码像是整体往上平移了一样,页码试过用\setlength{\footskip}{-9pt}可以让它下来
a3fb0e238d5a63139e7ca214f67c4d69.png
标题的话,试过用\setlength{\abovecaptionskip}{2pt}并没有效果,用\vspace也没有作用,用\vspace*会让第一页空出来,如图
7d81df2e063a2cc62f8e4701bddb3442.png
e878998986d1965ec299211884ed2c9d.png
它到了第二页就正常了,不知道这个咋做MWE。。。实在抱歉
其他相关代码如下:

\newenvironment{abstract}
  {\Nchapter{\CAST@label@abstract}}
\newcommand\Nchapter[1]{%
  \if@mainmatter%
    \@mainmatterfalse%
    \chapter{#1}%
    \@mainmattertrue%
  \else
    \chapter{#1}%
  \fi}
\makeatletter
\fancypagestyle{plain}{%
  \fancyhf{}%
  \renewcommand{\headrulewidth}{0pt}%
  \renewcommand{\footrulewidth}{0pt}%
%  \renewcommand{\headrule}{}
  \fancyhead[CE]{{\zihao{5} xx大学\CAST@value@degree\CAST@label@thesis}}
  \fancyhead[CO]{\zihao{5} 摘\ \ 要}
  \fancyfoot[C]{{\zihao{-5} -~\thepage~-}}
  }
  \pagestyle{fancy}
  \fancyhf{}
  \fancyhead[CE]{{\zihao{5} xx大学\CAST@value@degree\CAST@label@thesis}}
  \fancyhead[CO]{{\zihao{5} 摘\ \ 要}}
  \fancyfoot[C]{{\zihao{-5} -~\thepage~-}}
\makeatother

查看更多

关注者
0
被浏览
1.1k
1 个回答
如果您有什么不同意见,您是对的,我是错的。
这家伙很懒,什么也没写!

给模板下载链接/压缩包,如果有 github 链接就直接去问作者

撰写答案

请登录后再发布答案,点击登录

发布
问题

分享
好友

手机
浏览

扫码手机浏览