diff --git a/BUPTBachelorThesis.sty b/BUPTBachelorThesis.sty index a5653ee..6563bf7 100644 --- a/BUPTBachelorThesis.sty +++ b/BUPTBachelorThesis.sty @@ -30,7 +30,7 @@ % 正文的页眉页脚格式 \fancypagestyle{mainmatter}{ \fancyhf{} % clear all header and footer fields - \fancyhead[C]{\songti\zihao{-5}{北京邮电大学本科毕业设计(论文)}} + \fancyhead[C]{\songti\zihao{-5}{北京邮电大学本科毕业设计(论文)}} \fancyfoot[C]{\songti\zihao{-5}{\thepage}} \renewcommand{\headrulewidth}{0.8pt} } @@ -38,9 +38,8 @@ % 目录页的页眉页脚格式 \fancypagestyle{frontmatter}{ \fancyhf{} % clear all header and footer fields - \fancyhead[C]{\songti\zihao{-5}{北京邮电大学本科毕业设计(论文)}} \fancyfoot[C]{\songti\zihao{-5}{\thepage}} - \renewcommand{\headrulewidth}{0.8pt} + \renewcommand{\headrulewidth}{0pt} } % Bookmark (Chinese bookmark supported) @@ -209,10 +208,12 @@ pdfborder=001, linkcolor=black, citecolor=black, urlcolor=black]{hyperref} % \SetTblrStyle{caption-text}{font=\kaishu\zihao{5}} \DeclareTblrTemplate{contfoot-text}{default}{接下页} \DeclareTblrTemplate{caption-sep}{default}{ } -\DeclareTblrTemplate{conthead-text}{default}{续表} -\DefTblrTemplate{firsthead,middlehead,lasthead}{default}{} -% \DefTblrTemplate{firstfoot,middlefoot}{default}{} % <--- -\DefTblrTemplate{lastfoot}{default}% % <--- +% \DeclareTblrTemplate{conthead-text}{default}{续表} +\DefTblrTemplate{firsthead}{default} +{ + \UseTblrTemplate{caption}{default} +} +\DefTblrTemplate{middlehead,lasthead}{default} { \UseTblrTemplate{caption}{default} } diff --git a/README.md b/README.md index b26a5bb..2a17620 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,12 @@ latexmk main.tex 为了方便模板的使用,我一般情况下只会更新`BUPTBachlorThesis.sty`文件和`BUPTBachlor.bst`文件,前者管理整个文档的样式,后者负责生成参考文件的引用格式,直接将这两个文件整体复制替换即可。 +### 这个模板能通过论无忧的格式检测吗? + +能。有关问题和详情见[issue#8](https://github.com/jackfiled/BUPTBachelorThesis/issues/8)。 + +![](./assets/lun51.png) + ### 如何排版多张子图? 模板中提供了`subcaption`包作为子图排版的工具。一个示例如下: diff --git a/assets/lun51.png b/assets/lun51.png new file mode 100644 index 0000000..1e3e117 Binary files /dev/null and b/assets/lun51.png differ