fix: page head and page footer bugs.
This commit is contained in:
parent
b9e5e56b5d
commit
129de11f81
|
@ -30,7 +30,7 @@
|
||||||
% 正文的页眉页脚格式
|
% 正文的页眉页脚格式
|
||||||
\fancypagestyle{mainmatter}{
|
\fancypagestyle{mainmatter}{
|
||||||
\fancyhf{} % clear all header and footer fields
|
\fancyhf{} % clear all header and footer fields
|
||||||
\fancyhead[C]{\songti\zihao{-5}{北京邮电大学本科毕业设计(论文)}}
|
\fancyhead[C]{\songti\zihao{-5}{北京邮电大学本科毕业设计(论文)}}
|
||||||
\fancyfoot[C]{\songti\zihao{-5}{\thepage}}
|
\fancyfoot[C]{\songti\zihao{-5}{\thepage}}
|
||||||
\renewcommand{\headrulewidth}{0.8pt}
|
\renewcommand{\headrulewidth}{0.8pt}
|
||||||
}
|
}
|
||||||
|
@ -38,9 +38,8 @@
|
||||||
% 目录页的页眉页脚格式
|
% 目录页的页眉页脚格式
|
||||||
\fancypagestyle{frontmatter}{
|
\fancypagestyle{frontmatter}{
|
||||||
\fancyhf{} % clear all header and footer fields
|
\fancyhf{} % clear all header and footer fields
|
||||||
\fancyhead[C]{\songti\zihao{-5}{北京邮电大学本科毕业设计(论文)}}
|
|
||||||
\fancyfoot[C]{\songti\zihao{-5}{\thepage}}
|
\fancyfoot[C]{\songti\zihao{-5}{\thepage}}
|
||||||
\renewcommand{\headrulewidth}{0.8pt}
|
\renewcommand{\headrulewidth}{0pt}
|
||||||
}
|
}
|
||||||
|
|
||||||
% Bookmark (Chinese bookmark supported)
|
% Bookmark (Chinese bookmark supported)
|
||||||
|
@ -209,10 +208,12 @@ pdfborder=001, linkcolor=black, citecolor=black, urlcolor=black]{hyperref} %
|
||||||
\SetTblrStyle{caption-text}{font=\kaishu\zihao{5}}
|
\SetTblrStyle{caption-text}{font=\kaishu\zihao{5}}
|
||||||
\DeclareTblrTemplate{contfoot-text}{default}{接下页}
|
\DeclareTblrTemplate{contfoot-text}{default}{接下页}
|
||||||
\DeclareTblrTemplate{caption-sep}{default}{ }
|
\DeclareTblrTemplate{caption-sep}{default}{ }
|
||||||
\DeclareTblrTemplate{conthead-text}{default}{续表}
|
% \DeclareTblrTemplate{conthead-text}{default}{续表}
|
||||||
\DefTblrTemplate{firsthead,middlehead,lasthead}{default}{}
|
\DefTblrTemplate{firsthead}{default}
|
||||||
% \DefTblrTemplate{firstfoot,middlefoot}{default}{} % <---
|
{
|
||||||
\DefTblrTemplate{lastfoot}{default}% % <---
|
\UseTblrTemplate{caption}{default}
|
||||||
|
}
|
||||||
|
\DefTblrTemplate{middlehead,lasthead}{default}
|
||||||
{
|
{
|
||||||
\UseTblrTemplate{caption}{default}
|
\UseTblrTemplate{caption}{default}
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,6 +78,12 @@ latexmk main.tex
|
||||||
|
|
||||||
为了方便模板的使用,我一般情况下只会更新`BUPTBachlorThesis.sty`文件和`BUPTBachlor.bst`文件,前者管理整个文档的样式,后者负责生成参考文件的引用格式,直接将这两个文件整体复制替换即可。
|
为了方便模板的使用,我一般情况下只会更新`BUPTBachlorThesis.sty`文件和`BUPTBachlor.bst`文件,前者管理整个文档的样式,后者负责生成参考文件的引用格式,直接将这两个文件整体复制替换即可。
|
||||||
|
|
||||||
|
### 这个模板能通过论无忧的格式检测吗?
|
||||||
|
|
||||||
|
能。有关问题和详情见[issue#8](https://github.com/jackfiled/BUPTBachelorThesis/issues/8)。
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### 如何排版多张子图?
|
### 如何排版多张子图?
|
||||||
|
|
||||||
模板中提供了`subcaption`包作为子图排版的工具。一个示例如下:
|
模板中提供了`subcaption`包作为子图排版的工具。一个示例如下:
|
||||||
|
|
BIN
assets/lun51.png
Normal file
BIN
assets/lun51.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
Loading…
Reference in New Issue
Block a user