我想在短标题出现时(即当文章已经被引用时)更改其格式。
我使用该功能\DeclareFieldFormat
来更改标题本身的格式,但简单改编
\DeclareFieldFormat[article,inbook,incollection,inproceedings]{title}{\gui{#1\isdot}}
进入
\DeclareFieldFormat[article,inbook,incollection,inproceedings]{shorttitle}{\gui{#1\isdot}}
不起作用。
以下是 .bib 文件中的 bib 项目:
@article{bollman1966cannophori,
title = {The Cannophori and the March Festival of Magna Mater},
shorttitle = {The Cannophori},
author={Bollmann, B.},
journal = {Transactions and Proceedings of the American Philological Association},
volume = {97},
number = {},
pages = {193-202 },
year = {1966},
note = {}
}
@book{suetone,
title = {Suétone, Vie de douze Césars},
editor={Bollmann, B.},
editortype={compiler},
year={1998},
publisher={Philip von Zabern},
address = {Mayence},
note = {seult ULB}
}
这是一个简单的例子:
\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{french}
\usepackage[backend=biber,
sorting=nyt,
block=space,
citestyle=verbose-trad2,
bibstyle=verbose-trad3,
citepages=omit
]{biblatex}
\usepackage{csquotes}
\addbibresource{Biblio.bib}
\newcommand{\gui}[1]{«~#1~»}
\DeclareFieldFormat[article,inbook,incollection,inproceedings]{title}{\gui{#1\isdot}}
\DeclareFieldFormat[article,inbook,incollection,inproceedings]{shorttitle}{\gui{#1\isdot}}
\begin{document}
Text text\footcite{bollman1966cannophori}.
Other text\footcite{suetone}.
Other other text\footcite{bollman1966cannophori}.
\end{document}
我的问题是,在第三次引用中,法语引文在简称标题前后没有空格(而在第一次引用的情况下,即打印标题时)。
答案1
我终于明白shorttitle
应该用 来代替citetitle
。
所以事实上
\DeclareFieldFormat[article,inbook,incollection,inproceedings]{citetitle}{\gui{#1\isdot}}
有效,即使我不太明白为什么......