diff options
author | Norbert Preining <norbert@preining.info> | 2020-09-10 03:01:21 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-09-10 03:01:21 +0000 |
commit | 7453287d9233f42e36d981105bc93baf3e2b3a6a (patch) | |
tree | 30a36d951175907fd86f6ca09765de79b141cd5d /macros/latex/contrib/thuthesis/thuthesis-bachelor.bbx | |
parent | 4b315627efc5a6beb1e6c6ec7a98779f215c75eb (diff) |
CTAN sync 202009100301
Diffstat (limited to 'macros/latex/contrib/thuthesis/thuthesis-bachelor.bbx')
-rw-r--r-- | macros/latex/contrib/thuthesis/thuthesis-bachelor.bbx | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/macros/latex/contrib/thuthesis/thuthesis-bachelor.bbx b/macros/latex/contrib/thuthesis/thuthesis-bachelor.bbx new file mode 100644 index 0000000000..88bb38a8b5 --- /dev/null +++ b/macros/latex/contrib/thuthesis/thuthesis-bachelor.bbx @@ -0,0 +1,26 @@ +\ProvidesFile{thuthesis-bachelor.bbx}[2020/08/01 v1.0 ThuThesis biblatex + bibliography style] + +\RequireBibliographyStyle{gb7714-2015} + +\ExecuteBibliographyOptions{ + gbpub = false, + gbalign = left, +} + +\defbibenvironment{bibliography} + {\list + {\printtext[labelnumberwidth]{% + \printfield{labelprefix}% + \printfield{labelnumber}}} + {\addtolength{\labelnumberwidth}{\biblabelextend}% + \setlength{\labelwidth}{0.9cm}% + \setlength{\labelsep}{\biblabelsep}% + \setlength{\leftmargin}{\labelwidth}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemindent}{\bibitemindent}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {\endlist} + {\item} |