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

调整"外文资料”与“外文译文”字体使其符合最新模板要求;在目录页上添加页眉;更新main.pdf与README.md #19

Merged
merged 2 commits into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions BUPTthesisbachelor.sty
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
\newcommand{\refbodyfont}{\songti\wuhao\normalfont} % 参考文献字体
\newcommand{\thanktitlefont}{\heiti\sanhao\textbf} % “致谢”字样的字体
\newcommand{\appendixtitlefont}{\heiti\sanhao\textbf} % “附录”字样的字体
\newcommand{\translationtitlefont}{\heiti\sanhao} % “外文译文”字样的字体
\newcommand{\translationtitlefont}{\heiti\sanhao\textbf} % “外文译文,外文资料”字样的字体

% Word spacing
% Usage: \ziju{spacing} spacing can be 1em, 10pt, etc.
Expand All @@ -103,13 +103,22 @@
\renewcommand{\headrulewidth}{0.8pt}
}

\fancypagestyle{catalogmatter}{%
\fancyhf{} % clear all header and footer fields
\fancyhead[C]{\headfont{北京邮电大学本科毕业设计(论文)}}
\fancyfoot[C]{\footnotefont{\thepage}}
\renewcommand{\headrulewidth}{0.8pt}
}


\fancypagestyle{frontmatter}{%
\fancyhf{} % clear all header and footer fields
\fancyhead{}
\fancyfoot[C]{\footnotefont{\thepage}} % except the center
\renewcommand{\headrulewidth}{0pt}
}


% Bookmark (Chinese bookmark supported)
\usepackage{url}
\def\UrlFont{}
Expand Down Expand Up @@ -204,7 +213,7 @@ pdfborder=001, linkcolor=black, citecolor=black, urlcolor=black]{hyperref} %
\renewcommand\mainmatter{%
\if@openright\cleardoublepage\else\clearpage\fi%
\@mainmattertrue%
\pagenumbering{arabic}% Roman style page number
\pagenumbering{arabic}% Arabic style page number
\pagestyle{mainmatter}
}
\makeatother%
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# 北京邮电大学本科学士学位论文模板(本科毕业设计模板)
# 北京邮电大学本科学士学位论文模板(本科毕业设计模板)
* 作者: Caspar Zhang <[email protected]>
* 修改: Bing Hsu <[email protected]>
* 修改: Guohua Wu <[email protected]>
* 修改: 盛强 <[email protected]>(信息与通信工程学院通信工程2014级)
* 修改: Haixin Yu <[email protected]>(计算机学院2017级)
* 修改: Luzhan Yuan [email protected] (人工智能学院2021级)


## 发布记录
Expand Down Expand Up @@ -102,9 +103,9 @@
A:从上面的资料你已经知道需要编辑的文件有哪些,给它们备个份,然后```git pull ```一下,再把备份文件换回;或者直接全盘在另一文件夹编辑你的文档,把更新的配置文件复制过去覆盖即可。

- **Q: 有一些我需要的排版方式这里没有怎么办?**

A:模板基于LaTeX,你可以随意加入你需要的package,调用你需要的命令。如果你发现你的改动有一定通用性,欢迎修改相应的配置文件提交Pull Request给我;如果你的能力有限,也可以提Issue详述你的改动。合理的Pull Request会被及时merge进master分支,你将在**Contributors**中看到自己,开源项目需要大家共同努力维护。

- **Q: 引用文献的BibTeX文件可以从哪里获取?**

A:几乎任何学术文献库都会提供BibTeX格式的引用数据,你可以使用**JabRef**来管理和自动生成你引用文献的BibTeX。但在引用量不大的情况下,直接去学术搜索引擎和数据库(Google Scholar/IEEEXplore/ACM digital library/Springer Link/必应学术/百度学术)或学术组织官网(CVF)去复制也不麻烦。
Expand Down Expand Up @@ -161,13 +162,16 @@
- **[11日]** 调整一级标题的上下边距使其接近word样式;修复目录页码大小控制失效问题;使目录引导点更加紧凑,接近word样式
- 2021/4
- **[30日]** 调整一级标题的上下边距使其接近最新版模版的样式;删除目录“参考文献”以后的章节项目的页码,符合教务处要求
- 2023/5
- **[18日]** 调整"外文资料”与“外文译文”字体使其符合最新模板要求;在目录页上添加页眉;更新main.pdf


## 后记

欢迎大家在毕业季向自己的同学安利这个项目,比如在论坛水贴或者朋友圈发一发都是非常不错的x

从本项目的页面可以看到是从 https://github.com/sqyx008/BUPTBachelorThesis Fork过来的,这个项目的维护者也在前文可以看到。在之前的README中有提到希望某个开源组织来维护,~~现在BYRIO就接过了这个坑。~~ 还是希望同学们可以积极的提交PR或者反馈issue!

以及,BYRIO现在提供了一个校内的[Overleaf服务](https://overleaf.byrio.work)。虽然不如官方能和Github同步,但他胜在网络稳定以及(暂时性的)资源充沛。

总之
Expand Down
Binary file modified main.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,13 @@
\input{main.cfg} % Main items
\include{abstract} % Abstract
\fancypagestyle{plain}{\pagestyle{frontmatter}}
\frontmatter\tableofcontents % Content

\fancypagestyle{plain}{\pagestyle{catalogmatter}}\pagenumbering{Roman}\tableofcontents % Content

% 正文
\newpage\mainmatter
\fancypagestyle{plain}{\pagestyle{mainmatter}}

%\let\cleardoublepagebak=\cleardoublepage
%\let\cleardoublepage\relax % Make new chapter stay on old page

Expand Down