diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/thuthesis/thuthesis-inline.cbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/thuthesis/thuthesis-inline.cbx | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/thuthesis/thuthesis-inline.cbx b/Master/texmf-dist/tex/latex/thuthesis/thuthesis-inline.cbx index bec04d1d44e..d268a5b96aa 100644 --- a/Master/texmf-dist/tex/latex/thuthesis/thuthesis-inline.cbx +++ b/Master/texmf-dist/tex/latex/thuthesis/thuthesis-inline.cbx @@ -7,6 +7,16 @@ autocite = inline , } +% 修改 \mkbibsuperscript 宏在最后加上一个空白使得 xeCJK 不会自动在引用标签后面加上中英文之间的空白 +\DeclareRobustCommand{\mkbibsuperscriptusp}[1]{% + \unspace\allowhyphens\textsuperscript{% + \begingroup + \protected\long\def\mkbibsuperscriptusp##1{% + \blx@warning{Nested superscript}% + \mkbibbrackets{##1}}% + #1\endgroup}} + +% 这里把 gb7714-2015.cbx 中 \parencite 定义借鉴过来 \DeclareCiteCommand{\cite}%[\mkbibbrackets] {[\usebibmacro{cite:init}%] \usebibmacro{prenote}}% @@ -15,4 +25,4 @@ {} {%[ \usebibmacro{cite:dump}]% - \mkbibsuperscript{\printfield{postnote}}} + \mkbibsuperscriptusp{\printfield{postnote}}} |