从 biblatex 文本引用中删除“and”

从 biblatex 文本引用中删除“and”

自 2.7 版起,在文本引文字符串的最后一个引文前biblatex添加该单词and。这很不错,但这种一刀切的行为并不总是合适的,如下例所示。

and问题是,当我知道不合适时,我怎样才能抑制添加?

\documentclass{article}
\usepackage{filecontents}
\usepackage[style=authoryear]{biblatex}
\begin{filecontents}{\jobname.bib}
@BOOK{lennon1972,
    AUTHOR = "John Lennon",
    TITLE = "Peace on earth",
    YEAR = "1972",
    LOCATION = "London",
    PUBLISHER = "Music Press"}
@BOOK{lennon1974,
    AUTHOR = "John Lennon",
    TITLE = "More peace on earth",
    YEAR = "1974",
    LOCATION = "London",
    PUBLISHER = "Music Press"}
@BOOK{mccartney1975,
    AUTHOR = "Paul McCartney",
    TITLE = "Let's talk about music instead",
    YEAR = "1975",
    LOCATION = "London",
    PUBLISHER = "Music Press"}
@UNPUBLISHED{harrisonms,
    AUTHOR = "George Harrison",
    TITLE = "My dirty secrets about the Beatles"}
@BOOK{starr1985,
    AUTHOR = "Richard Starkey",
    TITLE = "My life",
    YEAR = "1985",
    LOCATION = "London",
    PUBLISHER = "Music Press"}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
You can find a lot of interesting material on the Beatles,
such as \textcites{lennon1972}{lennon1974}{mccartney1975},
the never published manuscript by \citeauthor{harrisonms},
and finally Ringo Starr's autobiography \parencite{starr1985}.
\printbibliography
\end{document}

在此处输入图片描述

答案1

\AtNextCite{\renewcommand*{\textcitedelim}{\addcomma\space}}在相应的引用前添加。

\documentclass{article}
\usepackage{filecontents}
\usepackage[style=authoryear]{biblatex}
\begin{filecontents}{\jobname.bib}
@BOOK{lennon1972,
    AUTHOR = "John Lennon",
    TITLE = "Peace on earth",
    YEAR = "1972",
    LOCATION = "London",
    PUBLISHER = "Music Press"}
@BOOK{lennon1974,
    AUTHOR = "John Lennon",
    TITLE = "More peace on earth",
    YEAR = "1974",
    LOCATION = "London",
    PUBLISHER = "Music Press"}
@BOOK{mccartney1975,
    AUTHOR = "Paul McCartney",
    TITLE = "Let's talk about music instead",
    YEAR = "1975",
    LOCATION = "London",
    PUBLISHER = "Music Press"}
@UNPUBLISHED{harrisonms,
    AUTHOR = "George Harrison",
    TITLE = "My dirty secrets about the Beatles"}
@BOOK{starr1985,
    AUTHOR = "Richard Starkey",
    TITLE = "My life",
    YEAR = "1985",
    LOCATION = "London",
    PUBLISHER = "Music Press"}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
You can find a lot of interesting material on the Beatles,
such as \AtNextCite{\renewcommand*{\textcitedelim}{\addcomma\space}}%
\textcites{lennon1972}{lennon1974}{mccartney1975},
the never published manuscript by \citeauthor{harrisonms},
and finally Ringo Starr's autobiography \parencite{starr1985}.
\printbibliography
\end{document}

在此处输入图片描述

相关内容