我想在下面显示的位置插入一个逗号。
bib文件如下:
@Article{GS08,
author = {Groth, J. and Sahai, A.},
title = {Efficient Non-interactive Proof Systems for Bilinear Groups},
journal = {Advances in Cryptology - EUROCRYPT'08},
year = 2008,
volume = {Springer LNCS volume 4965},
pages = {415-432}
}
MWE如下:
\documentclass[runningheads,a4paper]{llncs}
\usepackage[backend=bibtex]{biblatex}
\addbibresource{Paper.bib}
\DeclareNameAlias{default}{last-first}
\begin{document}
Lorem ipsum dolor sit amet...
\cite{GS08}
\printbibliography
\end{document}
最后,我想在期刊和卷之间插入一个逗号
答案1
您可以使用该xpatch
包来执行此操作。我将您的条目类型更改为@InProceedings
:
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[backend=biber]{biblatex}
\usepackage{filecontents}
\begin{filecontents}{Paper.bib}
@InProceedings{GS08,
author = {Groth, J. and Sahai, A.},
title = {Efficient Non-interactive Proof Systems for Bilinear Groups},
booktitle= {Advances in Cryptology -- EUROCRYPT'08},
year = 2008,
series = {Springer LNCS},
number = {4965},
pages = {415-432}
}
\end{filecontents}
\addbibresource{Paper.bib}
\DeclareNameAlias{default}{last-first}
\usepackage{xpatch}
%
\xpatchbibdriver{inproceedings}{%
\newunit\newblock
\usebibmacro{series+number}%
}{%
\setunit{\addcomma\addspace}\newblock
\usebibmacro{series+number}%
}{}{}
\begin{document}
Lorem ipsum dolor sit amet...
\cite{GS08}
\printbibliography
\end{document}