使用biblatex
引用样式apa
,对命令进行修改\textcitedelim
:
\renewcommand*{\textcitedelim}{\addspace{und}\addspace}
被忽略。删除biblatex-apa
as 样式后,一切似乎都正常。
- 关于如何获得所需行为的任何建议,即,a 的最后一个条目和倒数第二个条目
\textcite{key1, key2}
用“und”而不是逗号分隔?
MWE 可能会有所帮助:
%!TEX program = lualatex
\documentclass{scrbook}
\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage{german}
\usepackage{csquotes}
\usepackage[backend=biber%
,style=apa%
,maxcitenames=5%
,uniquename=full%
,sortcites%
]{biblatex}
\renewcommand*{\textcitedelim}{\addspace{und}\addspace}
\usepackage{filecontents}
\begin{filecontents}{refs.bib}
@incollection{Klieme,
author = {Klieme, E.},
title = {Titel},
year = {2001},
}
@article{Lipowsky,
author = {Lipowsky, F.},
title = {Titel},
year = {2009},
}
@book{Clausen,
author = {Clausen, M.},
title = {Titel},
year = {1998},
}
@book{Kunter,
author = {Kunter, M.},
title = {Titel},
year = {2005},
}
@mvbook{Olszewski,
author = {Olszewski, J.},
title = {Titel},
year = {2010},
}
\end{filecontents}
\addbibresource{refs.bib}
\begin{document}
Während \textcite{Klieme,Lipowsky} keine Zusammenhänge nachweisen konnten,
fanden \textcite{Clausen,Kunter,Olszewski} einen signifikanten Zusammenhang.
\end{document}
Mac OSX 10.10.5、LuaTeX 版本 beta-0.80.0 (TeX Live 2015) (rev 5238)、biblatex v3.0、biblatex-apa v6.7
答案1
biblatex-apa
不使用 \textcitedelim
,但\compcitedelim
在这里,所以我们需要
\renewcommand*{\compcitedelim}{\iflastcitekey{\addspace\bibstring{and}}{\addcomma}\space}
相反。我们必须自己在这里对分隔符进行拆分final
,因为这里没有\finalcompcitedelim
。
如果您希望将更改限制在\textcite
,请将重新定义移至预代码挂钩
\DeclareCiteCommand{\textcite}
{\renewcommand*{\compcitedelim}{\iflastcitekey{\addspace\bibstring{and}}{\addcomma}\space}%
\usebibmacro{cite:init}%
\usebibmacro{prenote}}
{\usebibmacro{citeindex}%
\usebibmacro{textcite}}
{}
{\usebibmacro{textcite:postnote}%
\usebibmacro{cite:post}}
平均能量损失
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{german}
\usepackage{csquotes}
\usepackage[backend=biber%
,style=apa%
,maxcitenames=5%
,uniquename=full%
,sortcites%
]{biblatex}
\renewcommand*{\compcitedelim}{\iflastcitekey{\addspace\bibstring{and}}{\addcomma}\space}%
\addbibresource{biblatex-examples.bib}
\begin{document}
Während \textcite{sigfridsson,worman} keine Zusammenhänge nachweisen konnten,
fanden \textcite{geer,cicero,wilde} einen signifikanten Zusammenhang.
\end{document}