summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-CCNU.cbx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-03-14 20:14:37 +0000
committerKarl Berry <karl@freefriends.org>2022-03-14 20:14:37 +0000
commit766cbef9e0639e7e57411695c2ac8c56d650944b (patch)
tree21decc8e246297697be4941a4a6b3223337d48f9 /Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-CCNU.cbx
parent4c542f5a3c8da240c54af507ddffa81241d476e4 (diff)
biblatex-gb7714-2015 (14mar22)
git-svn-id: svn://tug.org/texlive/trunk@62704 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-CCNU.cbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-CCNU.cbx30
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-CCNU.cbx b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-CCNU.cbx
new file mode 100644
index 00000000000..ba307418563
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-gb7714-2015/gb7714-CCNU.cbx
@@ -0,0 +1,30 @@
+%%
+%% ---------------------------------------------------------------
+%% gb7714-CCNU.cbx --- A bibliography style for CCNUthesis template
+%% ---------------------------------------------------------------
+%%
+\ProvidesFile{gb7714-CCNU.cbx}[a biblatex citation style for CCNUthesis]
+
+%
+% 加载样式
+%
+\RequireCitationStyle{gb7714-2015} %numeric
+
+
+\DeclareCiteCommand{\parencite}%[\mkbibbrackets]
+ {\mkbibleftborder\usebibmacro{cite:init}%
+ \usebibmacro{prenote}}%
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite:comp}}
+ {}
+ {\usebibmacro{cite:dump}\setunit{\addcomma\addspace}\printfield{postnote}\mkbibrightborder}
+
+
+\DeclareCiteCommand{\cite}[\mkbibsuperscript]%利用mkbibsuperbracket添加方括号
+ {\mkbibleftborder\usebibmacro{cite:init}%
+ \usebibmacro{prenote}}
+ {\usebibmacro{citeindex}%
+ \usebibmacro{cite:comp}}
+ {}
+ {\usebibmacro{cite:dump}\setunit{\addcomma\addspace}%
+ \printfield{postnote}\mkbibrightborder}