diff options
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-gb7714-2015/gb7714-2015ay.cbx')
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/biblatex-gb7714-2015/gb7714-2015ay.cbx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-gb7714-2015/gb7714-2015ay.cbx b/macros/latex/contrib/biblatex-contrib/biblatex-gb7714-2015/gb7714-2015ay.cbx index 739528dc1b..8a1a03d1d2 100644 --- a/macros/latex/contrib/biblatex-contrib/biblatex-gb7714-2015/gb7714-2015ay.cbx +++ b/macros/latex/contrib/biblatex-contrib/biblatex-gb7714-2015/gb7714-2015ay.cbx @@ -7,7 +7,7 @@ %% Released under the LaTeX Project Public License v1.3c or later %% --------------------------------------------------------------- %% -\ProvidesFile{gb7714-2015.cbx}[a biblatex citation style for GB/T 7714-2015] +\ProvidesFile{gb7714-2015ay.cbx}[a biblatex citation style for GB/T 7714-2015] % % 加载标准样式 @@ -322,16 +322,20 @@ test {\iftoggle{iftlseven}}%3.7=biblatex \newrobustcmd*{\upcite}{% \cite} +\newrobustcmd{\mkbiboutparens}[1]{% + \unspace\allowhyphens% +\begingroup\mkbibleftborder#1\mkbibrightborder\endgroup}% + % % 重定义parencite命令 % -\DeclareCiteCommand{\parencite}%[\mkbibparens] +\DeclareCiteCommand{\parencite}[\mkbiboutparens]% {\usebibmacro{cite:init}% - \mkbibleftborder\usebibmacro{prenote}}% + \usebibmacro{prenote}}% {\usebibmacro{citeindex}% \usebibmacro{cite}} {} - {\usebibmacro{postnote}\mkbibrightborder} + {\usebibmacro{postnote}} % % 重定义footcite需要使用的命令 |