Skip to content

Commit

Permalink
去掉冗余的参考文献引用从第三篇开始压缩;
Browse files Browse the repository at this point in the history
启用取得成果中作者姓名自动加粗功能;
  • Loading branch information
YanMing-lxb committed Apr 5, 2024
1 parent 4883c97 commit 3d8ac7a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
Binary file modified Build/main.pdf
Binary file not shown.
25 changes: 12 additions & 13 deletions GUET-Thesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
% -----------------------------------------------------------------------
% Author : 焱铭
% Date : 2023-07-30 15:13:12 +0800
% LastEditTime : 2024-04-04 23:44:41 +0800
% LastEditTime : 2024-04-05 09:48:45 +0800
% Github : https://github.com/YanMing-lxb/
% FilePath : \GUET_Thesis_LaTeX\GUET-Thesis.cls
% FilePath : /GUET_Thesis_LaTeX/GUET-Thesis.cls
% Description : GUET-Thesis 样式文件
% -----------------------------------------------------------------------
%
Expand Down Expand Up @@ -1322,8 +1322,7 @@


% ====================参考文献设置====================
\newcommand{\ThesisBibResource}[1]{\addbibresource[location=local]{#1}} % 定义 \ThesisBibResource 命令用于加载参考文献源
\setcounter{gbrefcompress}{3} % 参考文献引用从第三篇开始压缩
\newcommand{\ThesisBibResource}[1]{\addbibresource[location=local]{#1}} % 定义 \ThesisBibResource 命令用于加载参考文献源
\renewcommand{\bibfont}{\small} % 设置参考文献字体小五
\setlength{\bibitemsep}{0pt} % 每一条参考文献之间的间隔
\AtEveryBibitem{\clearfield{url}} % 清除url信息 用以解决 url=false 命令在thesis中失效的Bug
Expand Down Expand Up @@ -1388,16 +1387,16 @@

% //////////////////////////////////////// 攻读学位期间取得成果设置 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

% % ====================设置作者粗体标识====================
% \renewcommand*{\mkbibnamefamily}[1]{ % 设置姓氏
% \ifitemannotation{thesisauthor}
% {\textcolor{red}{\textbf{#1}}}
% {#1}}
% ====================设置作者粗体标识====================
\renewcommand*{\mkbibnamefamily}[1]{ % 设置姓氏
\ifitemannotation{thesisauthor}
{\textcolor{black}{\textbf{#1}}}
{#1}}

% \renewcommand*{\mkbibnamegiven}[1]{ % 设置名字
% \ifitemannotation{thesisauthor}
% {\textcolor{red}{\textbf{#1}}}
% {#1}}
\renewcommand*{\mkbibnamegiven}[1]{ % 设置名字
\ifitemannotation{thesisauthor}
{\textcolor{black}{\textbf{#1}}}
{#1}}


% ====================解决专利显示patent的问题====================
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* -----------------------------------------------------------------------
* Author : 焱铭
* Date : 2023-07-30 15:13:12 +0800
* LastEditTime : 2024-03-22 19:12:50 +0800
* LastEditTime : 2024-04-05 09:49:58 +0800
* Github : https://github.com/YanMing-lxb/
* FilePath : /GUET_Thesis_LaTeX/README.md
* Description : README文档
Expand Down Expand Up @@ -217,11 +217,11 @@ Tabularray表格排版宏包使用手册中文翻译: [https://gitee.com/nwafu_n
- [ ] 自定义长三线表环境 `lthreetab` (要求可跨页,跨页后自带 “题注(续)” )
- [x] 自定义普通三线表环境 `threetab`
- [ ] ~~使用文学编程重构项目~~
- [ ] 采用 biblatex 编译参考文献,替换掉 bibtex:
- [X] 采用 biblatex 编译参考文献,替换掉 bibtex:
- [X] biblatex 下实现参考文献的编译
- [X] biblatex 下实现攻读学位期间取得成果的自动编译
- [X] biblatex 下实现攻读学位期间取得成果的盲审版本切换
- [ ] biblatex 下实现对攻读学位期间取得成果中作者的粗体显示
- [X] biblatex 下实现对攻读学位期间取得成果中作者的粗体显示
- [X] 实现攻读学位期间取得成果整体缩进两字符
- [X] 当学位论文条目存在 url 时,显示 url,而条目没有 url 参数时,则显示 In collab. with 字样,以及专利显示 "patent" 的问题:感谢 [**hushidong**](https://github.com/hushidong/biblatex-gb7714-2015/issues/178) 给出完美的解决方案

Expand Down

0 comments on commit 3d8ac7a

Please sign in to comment.