hithesis / hithesis

嗨!thesis!哈尔滨工业大学毕业论文LaTeX模板
1.68k stars 365 forks source link

报告正文第一页没有页码 #159

Closed Jufia closed 1 year ago

Jufia commented 1 year ago

描述bug类型

报告正文第一页没有页码

描述bug具体信息

生成了目录,目录后开始第一页没有显示页码,但是第二页正常显示,且页码正确。

这是正文第一页,没有页码 image 这是正文第二页 image

% 将 thesis.tex/report.tex 中的内容完整地放在这里

\documentclass[fontset=windows,toc=true,type=bachelor,stage=midterm,campus=harbin]{hithesisart}
% 此处选项中不要有空格
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 必填选项
% type=doctor|master|bachelor
% stage=opening|midterm
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 选填选项(选填选项的缺省值已经尽可能满足了大多数需求,除非明确知道自己有什么
% 需求)
% campus=shenzhen|weihai|harbin
%   含义:校区选项,默认harbin
% fontset=windows|mac|ubuntu|fandol
%   含义:前三个对应各自系统,fandol是开源字体。
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\graphicspath{{figures/}}
\usepackage{float}
% \usepackage{cite}
\makeatletter
\renewcommand{\maketag@@@}[1]{\hbox{\m@th\normalsize\normalfont#1}}%
\makeatother
\begin{document}
% \captionsetup[figure]{labelsep=space} 
% \captionsetup[table]{labelsep=space}
\renewcommand{\contentsname}{\hspace*{\fill}目\quad 录
\hspace*{\fill}}

\input{front/coverart.tex}
\makecover
\tableofcontents
% 插入空白页
\clearpage
\newpage
\clearpage
% 深圳博士开题报告 -----------------------------------------------

% \input{body/report_shenzhen_doctor_opening}

% 威海校区本科生开题报告结构 ----------------------------------------
% \input{body/report_weihai_bachelor_opening}
% \makebackcover
% -------------------------------------------------------------

% 威海校区本科生中期报告结构 ----------------------------------------
% \input{body/report_weihai_bachelor_midterm}
% \makebackcover
% -------------------------------------------------------------

% 哈尔滨校区本科生开题/中期报告结构 --------------------------------------
% 开题
% \input{body/report_harbin_bachelor_opening}
% 中期
\input{body/report_harbin_bachelor_midterm}
% \makebackcover
% -------------------------------------------------------------

\end{document}

或将整个 hitbook/chinese, reportsreportplus 压缩后上传 .zip 文件

syvshc commented 1 year ago

我使用 3.1b 可以正常生成页码, 并且目录后的

\clearpage
\newpage
\clearpage

似乎没有什么作用, 可以去掉, 可以提供完整的项目文件以及使用 TeXLive 2022 进行编译

Jufia commented 1 year ago

我用VScode编译的,我下次试一试其他编译器。谢谢大佬