![将 footnote-dw / biblatex 中的自动短引用格式化为斜体](https://linux22.com/image/373570/%E5%B0%86%20footnote-dw%20%2F%20biblatex%20%E4%B8%AD%E7%9A%84%E8%87%AA%E5%8A%A8%E7%9F%AD%E5%BC%95%E7%94%A8%E6%A0%BC%E5%BC%8F%E5%8C%96%E4%B8%BA%E6%96%9C%E4%BD%93.png)
我使用的是 biblatex 样式的 footnote-dw,但需要所有标题都为斜体,因为这也是我在正确文本中强调它们的方式。我设法在所有情况下都实现了这一点,但对于重复引用,只给出标题。有没有办法设置这种草书?
MWE(可能包含相关内容):
\documentclass[fontsize=11.5pt,twoside]{scrreprt}
\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage[spelling=new]{german}
\begin{filecontents*}{test.bib}
@book{Kant1,
author={Manu Kant},
title={Critique of Pure Treason},
subtitle={Why are there no pink MandMs},
address={Chocolvania},
year=2017
}
@book{Kant4,
author={Franz Kant},
title={Down with pink},
subtitle={A heteronormative misogynist manifesto},
address={Reesestown},
shorthand={Manifesto},
year=2008
}
@book{Kant2,
author={Franz Kant},
title={Ignore my Brother},
subtitle={Hes an idiot},
address={Reesestown},
shorthand={Moron},
year=2018
}
\end{filecontents*}
\usepackage[style=footnote-dw,
backend=biber,
edbyidem=true,
nopublisher=true,
edsuper=true,
idembibformat=dash,
doi=false,isbn=false,url=false,
]{biblatex}
\DeclareFieldFormat{shorthand}{\emph{#1}}
\DeclareFieldFormat{title}{\emph{#1}}
\DeclareFieldFormat{postnote}{#1}
\DeclareFieldFormat{multipostnote}{#1}
\DeclareFieldFormat{pages}{#1}
\addbibresource{test.bib}
\begin{document}
The argument between the Brothers Kant\footnote{See \cite[123]{Kant1} and \cite[5]{Kant2}.} seems to boil\cite[43]{Kant1} down\cite[2]{Kant1} mostly to sugary treats.\cite[7]{Kant2} Mmmmmhmmm sugary treats.\footnote{Yet see also the sexist underpinnings in \cite{Kant1}, cf. \cite{Kant4}!}
\end{document}
答案1
简短引文采用字段格式排版citetitle
\DeclareFieldFormat{citetitle}{\mkbibemph{#1}}
注意使用\mkbibemph
而不是\emph
。