首先一个MWS,其输出如下。
\documentclass[american]{article}
\usepackage[style=authoryear,dateuncertain=true]{biblatex}
\addbibresource{\jobname.bib}
\begin{filecontents*}[overwrite]{\jobname.bib}
@book{somebook1769,
location = {Place},
author = {Name, Given},
title = {Some title of this publication},
date = {1769?},
}
@book{somebook1889,
location = {Paris},
author = {Name, Given},
title = {Some title of this publication},
date = {1889},
}
\end{filecontents*}
\begin{document}
some quote from \cite[1348--1368]{somebook1769} and \cite{somebook1889}
\printbibliography
\end{document}
如您所见,我在不确定的日期后面添加了一个问号。那么如何在问号周围添加括号?例如,将 1769? 更改为 1769(?)。
答案1
控制不确定性标记的宏称为\bibdateuncertain
。其默认定义是一个问号,但您可以轻松添加括号,如下所示
\documentclass[american]{article}
\usepackage[style=authoryear,dateuncertain=true]{biblatex}
\renewrobustcmd*{\bibdateuncertain}{\mkbibparens{?}}
\begin{filecontents*}{\jobname.bib}
@book{somebook1769,
location = {Place},
author = {Name, Given},
title = {Some title of this publication},
date = {1769?},
}
@book{somebook1889,
location = {Paris},
author = {Name, Given},
title = {Some title of this publication},
date = {1889},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\begin{document}
some quote from \cite[1348--1368]{somebook1769} and \cite{somebook1889}
\printbibliography
\end{document}