pdf中的引文怎么写才是姓的?

问题描述 投票:-1回答:1

我的序言是

\documentclass[a4paper, oneside, 11pt]{scrbook}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{header}
\usepackage[refsection=part,citestyle=authoryear,style=authoryear,natbib=true,backend=biber, maxcitenames=2]{biblatex}  
\bibliography{references.bib}

而在参考文献.bib文件中,我有 。

@article{Alicemann2017,
  author={ {Alice Alicemann} and {Bob Robertstein} },
  title={The Formation of Uranus via outgassing},
  journal={The Astrophysical Journal},
  volume={10000000},
  number={2},
  pages={95},
  url={http://stacks.iop.org/aaaa },
  year={2017},
}

在正文中我有'''\citep[e.g.][]{Alicemann2017}'''。

我怎样才能迫使它在最终的PDF中呈现为:"(例如,Alicemann和Robertstein,2017) "而不是"(例如,Alice Alicemann an Bob Robertstein,2017)"?我想只看姓氏,不看名字。

latex
1个回答
0
投票

你的作者的语法是错误的。通过把它们包进额外的一层括号里,你强迫biblatex认为整个名字就是姓。

@article{Alicemann2017,
  author={ Alice Alicemann and Bob Robertstein },
  title={The Formation of Uranus via outgassing},
  journal={The Astrophysical Journal},
  volume={10000000},
  number={2},
  pages={95},
  url={http://stacks.iop.org/aaaa },
  year={2017},
}

enter image description here

还请注意,使用biblatex时,最好使用实际的biblatex语法,即 \addbibressource{references.bib} 而不是bibtex语法 \bibliography{references}

© www.soinside.com 2019 - 2024. All rights reserved.