我需要 \fullcite 列出我参与编写的书籍的所有编辑,但不是作者。有没有办法强制 \fullcite 这样做,甚至参考书目也不应该这样做?
除 M. Quaresma 外,本书还有另外五位编辑,我需要一一列出。
\documentclass{report}
\usepackage{polyglossia}
\setdefaultlanguage{english}
\usepackage[backend=biber,sortlocale=danish,firstinits=true,style=authoryear-icomp,dashed=false,doi=false,isbn=false,url=true]{biblatex}
\renewbibmacro{in:}{%
\ifboolexpr{%
test {\ifentrytype{article}}%
or
test {\ifentrytype{inproceedings}}%
}{}{\printtext{\bibstring{in}\intitlepunct}}%
}
\DeclareCiteCommand{\fullcite} %sets name order to last-first
{\usebibmacro{prenote}}
{\usedriver
{}
{\thefield{entrytype}}}
{\multicitedelim}
{\usebibmacro{postnote}}
答案1
基于@moewe的解决方案排版一份包含所有作者的引文你可以这样做:
\documentclass{article}
\usepackage[style=authoryear-icomp,giveninits=true,maxnames=1]{biblatex}
\makeatletter
\newcommand{\tempmaxup}[1]{\def\blx@maxcitenames{99}#1}
\makeatother
\DeclareCiteCommand{\fullcite}[\tempmaxup]
{\usebibmacro{prenote}}
{\usedriver
{}
{\thefield{entrytype}}}
{\multicitedelim}
{\usebibmacro{postnote}}
\addbibresource{biblatex-examples.bib}
\pagestyle{empty}
\begin{document}
\fullcite{coleridge}
\printbibliography
\end{document}