diff options
author | Karl Berry <karl@freefriends.org> | 2021-05-31 20:25:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-05-31 20:25:04 +0000 |
commit | 4097645cbd7310530600defdf864a7db4c8d8ba0 (patch) | |
tree | 433612a435fb9e8f196a10110d0151d7add83982 /Master/texmf-dist/tex/latex/thuthesis/thuthesis-inline.cbx | |
parent | 43f5ef960aa5e3a6ed8845d7577deab29d0baff4 (diff) |
thuthesis (31may21)
git-svn-id: svn://tug.org/texlive/trunk@59411 c570f23f-e606-0410-a88d-b1316a301751
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}}} |