哪个变量控制条目集中条目的分离

哪个变量控制条目集中条目的分离

使用\defbibentrysetblock=nbpar我想用新行替换默认的分号来分隔条目集中的条目。哪个biblatex变量控制它?

答案1

重新定义\entrysetpunct(手册中未提及——定义位于biblatex.def)。

\documentclass{article}

\usepackage[block=nbpar]{biblatex}

% Original definition
% \newcommand*{\entrysetpunct}{\addsemicolon\space}

% Changed definition
\renewcommand*{\entrysetpunct}{\par\vspace{\bibitemsep}}

\defbibentryset{myset}{A01,B02}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@misc{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
}
@misc{C03,
  author = {Cuthor, C.},
  year = {2003},
  title = {Charlie},
}
\end{filecontents}

\addbibresource{\jobname.bib}

\begin{document}

Some text \autocite{myset,C03}.

\printbibliography

\end{document}

在此处输入图片描述

相关内容