Initial commit

This commit is contained in:
2026-05-12 10:45:51 +08:00
commit 05ce78a4e3
44 changed files with 22578 additions and 0 deletions

40
thuthesis-bachelor.cbx Normal file
View File

@@ -0,0 +1,40 @@
\ProvidesFile{thuthesis-bachelor.cbx}[2020/08/01 v1.0 ThuThesis biblatex
citation style]
\RequireCitationStyle{gb7714-2015}
% 本科生的顺序编码制引用两个连续序号之间使用逗号分割。
\setcounter{gbrefcompress}{3}
\renewrobustcmd{\mkbibsuperscript}[1]{%
\unspace\allowhyphens\textsuperscript{%
\begingroup
\protected\long\def\mkbibsuperscript##1{%
\blx@warning{Nested superscript}%
\mkbibbrackets{##1}}%
#1\endgroup}\kern\z@}
\renewbibmacro*{citet}{%
\iffieldequals{namehash}{\cbx@lasthash}%
{\mkbibsuperscript{\usebibmacro{cite:comp}}}%
{\usebibmacro{cite:dump}%
\ifbool{cbx:parens}%
{\mkbibsuperscript{{\hspace{-0.075em}\mkbibrightborder}}%\bibclosebracket
\global\boolfalse{cbx:parens}}%\printtext
{}%
\iffirstcitekey
{}
{\textcitedelim}%
\usebibmacro{cite:init}%
\ifnameundef{labelname}
{\printfield[citetitle]{labeltitle}}
{\printnames{labelname}}%
%\setunit*{\printdelim{namelabeldelim}}%
\mkbibsuperscript{\printtext{\mkbibleftborder}%\bibopenbracket
\global\booltrue{cbx:parens}%
\ifnumequal{\value{citecount}}{1}
{\usebibmacro{prenote}}%
{}%
\usebibmacro{cite:comp}%
\stepcounter{textcitecount}%
\savefield{namehash}{\cbx@lasthash}}}}