在以下 MWE 中,两个引文的标题格式不同。一个是斜体,另一个是引文。
\documentclass[nobib]{tufte-book}
\usepackage[%
backend=biber,
bibencoding=utf8,
bibstyle=authoryear,
citestyle=authortitle-icomp,
]{biblatex}%
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem ipsum dolor sit amet\autocite{yoon}, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure\autocite{aristotle:anima} dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\printbibliography
\end{document}
我怎样才能使所有的“footcitations”看起来都一样,但输出却保持\printbibliography
不变。
答案1
脚注中标题的外观由标题的格式指令(即)authortitle-icomp
控制,然后针对特定条目类型(、、、、、、和)重新定义该指令。citetitle
\DeclareFieldFormat{citetitle}{\mkbibemph{#1}}
article
inbox
in collection
in proceedings
patent
thesis
unpublished
suppbook
suppcollection
suppperiodical
因此,必须完善
\DeclareFieldFormat[article,inbook,incollection,
inproceedings,patent,thesis,unpublished,suppbook,
suppcollection,suppperiodical]{citetitle}{\mkbibemph{#1}}