-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 新增选项 math-font = cm (Computer Modern)([ustcthesis#324](https://github.com/ustctug/ustcthesis/issues/324))。 * 增加了 [gbt7714-2015参考文献格式](https://github.com/zepinglee/gbt7714-bibtex-style)选项(#5)。 * 修正了研究生学位论文节标题行距。 * 修正了英文摘要段首缩进距离。
- Loading branch information
1 parent
9cc6b94
commit d3899b0
Showing
12 changed files
with
422 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
\ProvidesFile{hfutthesis-graduate.bbx}[2021/01/19 v1.0 HFUT_Thesis biblatex | ||
bibliography style] | ||
|
||
\RequireBibliographyStyle{gb7714-2015} | ||
|
||
\ExecuteBibliographyOptions{ | ||
gbpub = false, | ||
gbalign = left, | ||
} | ||
|
||
\DeclareFieldFormat{titlecase}{\iftoggle{bbx:titlelink}{% | ||
\iffieldundef{url}{\MakeSentenceCase{#1}}{% | ||
\href{\thefield{url}}{#1}}}{\MakeSentenceCase{#1}}} | ||
|
||
\DeclareFieldFormat{booktitlecase}{\MakeCapital{#1}} | ||
\renewbibmacro*{booktitle}{% | ||
\ifboolexpr{ | ||
test {\iffieldundef{booktitle}} | ||
and | ||
test {\iffieldundef{booksubtitle}} | ||
} | ||
{} | ||
{\printtext[booktitle]{\bibtitlefont% | ||
\printfield[booktitlecase]{booktitle}% | ||
\setunit{\subtitlepunct}% | ||
\printfield[booktitlecase]{booksubtitle}}% | ||
\newunit%标点换成下一句 | ||
\setunit{\subtitlepunct}}% | ||
\printfield{booktitleaddon}} | ||
|
||
% | ||
% 重设专利title的输出,将文献类型标识符输出出去 | ||
% | ||
\renewbibmacro*{patenttitle}{%原输出来自biblatex.def文件 | ||
\ifboolexpr{% | ||
test{\iffieldundef{title}}% | ||
and% | ||
test{\iffieldundef{subtitle}}% | ||
}% | ||
{}% | ||
{\printtext[title]{\bibtitlefont% | ||
\printfield[titlecase]{title}% | ||
\ifboolexpr{test {\iffieldundef{subtitle}}} | ||
{}{\setunit{\subtitlepunct}% | ||
\printfield[titlecase]{subtitle}}% | ||
\iffieldundef{titleaddon}{} | ||
{\setunit{\subtitlepunct}\printfield{titleaddon}}% | ||
% \setunit{\subtitlepunct}\printfield{number}%写专利号 | ||
\setunit{\subtitlepunct}% | ||
\iflistundef{location}{} | ||
{\printlist{location}\setunit{\addcomma\space}}% 专利国别 | ||
\printfield{number}%写专利号 | ||
\iftoggle{bbx:gbtype}{\printfield[gbtypeflag]{usera}}{}% | ||
%\iffieldundef{booktitle}{\newunit}{}%当title是析出时,不要标点 | ||
%\newunit | ||
}% | ||
}% | ||
\clearlist{location}\clearlist{address}% | ||
} |
Oops, something went wrong.