작성자 연도 스타일을 사용하여 citet의 마지막 항목과 두 번째 마지막 항목을 분리합니까?

작성자 연도 스타일을 사용하여 citet의 마지막 항목과 두 번째 마지막 항목을 분리합니까?

로 여러 항목을 인용하는 경우 \citet마지막 항목과 두 번째 항목 사이에 특정 구분 기호(예: "and")를 적용하고 싶습니다. 예를 들어 \citet{Grieg,Greg,Gregor}다음과 같은 것을 제공해야 합니다....Grieg (2002), Greg (2001) and Gregor (2003) ...

최소한의 작업 예:

\documentclass{article}

\usepackage[natbib=true,firstinits=true,
            bibstyle=authoryear,citestyle=authoryear-comp,
            minnames=1,maxnames=2,isbn=false,url=false,eprint=false,doi=false,
            maxbibnames=20
]{biblatex}
\renewcommand*{\finalnamedelim}{\addspace\&\addspace}


\usepackage{filecontents}

\begin{filecontents}{test.bib}
@misc{A01,
  author = {Author, A. A. and Buthor, B. B. and Cuthor, C. C.},
  year = {2001},
  title = {Alpha},
}
@misc{B01,
  author = {Dodelson, D. and Edward, E.},
  year = {2011},
  title = {Beta},
}
\end{filecontents}

\addbibresource{test.bib}


\begin{document}
As shown in \citet{A01,B01}, ...

\printbibliography

\end{document}

편집: Guido의 답변을 보았습니다(https://tex.stackexchange.com/a/89634/30051) 그러나 Authoryear 스타일에서는 작동하지 않습니다. 그러므로 여기에 더 구체적인 질문이 있습니다.

답변1

패키지를 사용한 솔루션 xpatch( \usepackage{xpatch})

\xpatchbibmacro{textcite}
  {\multicitedelim}
  {\ifnumequal{\value{citecount}}{\value{citetotal}}
        {\addspace\bibstring{and}\addspace}
        {\multicitedelim}}
  {}
  {}

관련 정보