使用 biblatex 后出现 \parencite 后的空格

使用 biblatex 后出现 \parencite 后的空格

使用bla bla bla \parencite{citation_key}.with时biblatex,引用后总会有一个空格。它看起来像这样:

bla bla bla(作者姓名 2010)。

我正在biblatex像这样使用该包:

\usepackage[citestyle=authoryear, style=authoryear-comp,sortcites,
sorting=nyt, firstinits=true ,sortcase=false,url=false, 
isbn=false,doi=false,clearlang=false,backend=biber,
uniquelist=false,maxcitenames=1,bibencoding=ascii]{biblatex}

我该怎么做才能消除空白?

最小工作示例:

\documentclass[a4paper,12pt,oneside,openright]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{scrhack} 

\usepackage[nohyperlinks,printonlyused]{acronym}
\usepackage[citestyle=authoryear, style=authoryear-comp, ,sortcase=false,url=false, isbn=false,doi=false,clearlang=false,backend=biber,uniquelist=false,maxcitenames=1,bibencoding=ascii]{biblatex}

\usepackage{xpatch}

\xpatchbibmacro{name:andothers}{%
  \bibstring{andothers}%
}{%
  \bibstring[\emph]{andothers}%
}{}{}%

\urlstyle{sf} 
\usepackage{geometry}
\usepackage{color}
\usepackage{epigraph}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage{listings}
\usepackage{lmodern}
\usepackage{gensymb}
\usepackage{booktabs} 
\usepackage{chngcntr}
\usepackage{longtable}
\usepackage{ltxtable} 
\counterwithout{table}{chapter} 
\counterwithout{figure}{chapter} 
\usepackage{units}
\usepackage{upgreek}


\usepackage[title]{appendix}

\usepackage{booktabs}
\usepackage{pifont}
\usepackage{tabularx} 
\usepackage[vlines]{tabularht}
\usepackage{adjustbox}
\usepackage{multirow}
\usepackage{xr}
\usepackage{caption}
\usepackage{amssymb}
\usepackage{pdfpages}
\usepackage{float}
\usepackage{todonotes} 
\usepackage{units}
\usepackage{subfig}
\usepackage{nth} 
\usepackage{bibentry}
\usepackage{microtype}
\usepackage{lscape} 
\usepackage{syntonly}
%\syntaxonly

\usepackage{textcomp}
\usepackage{enumitem}
\usepackage{color, colortbl}

\externaldocument{background}
\externaldocument{results}
\externaldocument{m&m}
\externaldocument{discussion}
\externaldocument{anhang}


\newcommand*\rot{\rotatebox{90}}
\newcommand*\OK{\ding{51}}

\newcommand\T{\rule{0pt}{2.6ex}}       
\newcommand\B{\rule[-0.9ex]{0pt}{0pt}} 


\hyphenpenalty=10000
\exhyphenpenalty=10000
\setcounter{secnumdepth}{3}

\nobibliography*

\usepackage{filecontents}



\begin{filecontents*}{\jobname.bib}
@article{Huar2015,
title = {{some title}},
volume = {43},
year = {2015},
}
\end{filecontents*}

\addbibresource{\jobname.bib}

\newcommand{\src}[1]{|\tiny{\textsc{Source:} #1}} % 


\newcommand{\specialcell}[2][c]{%
  \begin{tabular}[#1]{@{}c@{}}#2\end{tabular}}


\DeclareUnicodeCharacter{00A0}{ }
\DeclareUnicodeCharacter{FFFD}{ }
\DeclareUnicodeCharacter{2060}{ }
\DeclareUnicodeCharacter{2192}{ }
\DeclareUnicodeCharacter{221E}{ }

\begin{document}
\sloppy

this is a dummy text. this is a dummy text. this is a dummy text. this is a dummy text. this is a dummy text  \parencite{Huar2015}⁠. 

\end{document}

相关内容