如何将注释直接放在字段前面URL
?使用
@book{Feynman2007_1_en,
author = {Feynman, R. P. and Leighton, R. B. and Sands, M.},
title = {Feynman Lectures on Physics},
volume = {1},
publisher = {Basic Books},
year = {2011},
address = {New York},
note = {All volumes available on the web},
url = {https://www.feynmanlectures.caltech.edu},
urldate = {2021-02-14}
}
我明白了
在 biblatex 文档中,我没有找到合适的字段。也许最好不要使用@book
?我的 MWE 是
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage[autostyle]{csquotes}
\usepackage[backend=biber, citestyle=numeric]{biblatex}
\addbibresource{Bibliographie_Test.bib}
\begin{document}
This is from~\cite{Feynman2007_1_en}.
\printbibliography
\end{document}
答案1
usera
使用该字段并更新bibmacro 的可能解决方案doi+eprint+url
:
\begin{filecontents}[overwrite]{\jobname.bib}
@book{Feynman2007_1_en,
author = {Feynman, R. P. and Leighton, R. B. and Sands, M.},
title = {Feynman Lectures on Physics},
volume = {1},
publisher = {Basic Books},
year = {2011},
address = {New York},
usera = {All volumes available on the web},
url = {https://www.feynmanlectures.caltech.edu},
urldate = {2021-02-14}
}
\end{filecontents}
\documentclass{book}
\usepackage[utf8]{inputenc}
\usepackage[autostyle]{csquotes}
\usepackage[backend=biber, citestyle=numeric]{biblatex}
\addbibresource{\jobname.bib}
\usepackage{xpatch}
\xpretobibmacro{doi+eprint+url}
{\printfield{usera}\newunit\newblock}
{}
{}
\begin{document}
This is from~\cite{Feynman2007_1_en}.
\printbibliography
\end{document}