我使用的是作者年份样式 luh-ipw,需要将其用作\slash
参考书目中两个或多个作者的分隔符。我通过在序言中添加以下代码对其进行了更改:
\renewcommand*{\multinamedelim}{\slash}
\renewcommand*{\finalnamedelim}{\slash}
不幸的是,这也会影响\textcite
命令。但我需要重新设置预配置的“and”分隔符。biblatex 选项
maxcitenames=1
不是解决方案。
经过一些研究和查阅 biblatex 手册后,我尝试添加
\renewcommand*{\textcitedelim}{\finalandcomma}
我以为它添加了一个“and”分隔符而不是斜线。不幸的是,它什么也没做。我只想更改\textcite
命令但不是\cite
或\parencite
命令。所以问题是:我如何更新\textcite
命令并更改同一引用键的两个作者的分隔符?
我的 MWE:
\documentclass{scrreprt}
\usepackage{filecontents}
\begin{filecontents}{bibliographie.bib}
@article{Kuyucu.2010a,
Author = {Kuyucu, Tuna and {\"U}nsal, {\"O}zlem},
Journal = {Urban Studies},
Month = {06},
Number = {7},
Pages = {1479--1499},
Title = {\enquote{Urban Transformation} as State-Led Property Transfer: An Analysis of Two Cases of Urban Renewal in Istanbul},
Volume = {47},
Year = {2010}
}
\end{filecontents}
\usepackage[german=quotes, strict=true]{csquotes} %Because of \enquote
\usepackage[
backend=biber,
style=authoryear-luh-ipw
]
{biblatex}
\renewcommand*{\multinamedelim}{\slash}%
\renewcommand*{\finalnamedelim}{\slash}%
\renewcommand*{\labelnamepunct}{\addcolon\space}
\bibliography{bibliographie}
\begin{document}
\textcite{Kuyucu.2010a}
\printbibliography
\end{document}
看起来像
Kuyucu/Ünsal (2010) 但应该更像 Kuyucu und Ünsal (2010)
答案1
这里有一个建议,使用包xpatch
来设置bib-macro的默认\multinamedelim
定义\finalnamedelim
textcite
\documentclass[11pt]{article}
\usepackage{xpatch}
\usepackage[style=authoryear]{biblatex}
\addbibresource{biblatex-examples.bib}
\let\multinamedelimorig\multinamedelim
\let\finalnamedelimorig\finalnamedelim
\xpretobibmacro{textcite}{%
\let\multinamedelim\multinamedelimorig%
\let\finalnamedelim\finalnamedelimorig%
}{}{}
\renewcommand*{\multinamedelim}{\slash}
\renewcommand*{\finalnamedelim}{\slash}
\usepackage{hyperref}
\begin{document}
\cite{companion}\qquad\cite{knuth:ct:a}
\textcite{companion}\qquad\textcite{knuth:ct:a}
\parencite{companion}\qquad\parencite{knuth:ct:a}
\textcite{companion}\qquad\textcite{knuth:ct:a}
\printbibliography
\end{document}