Latex:在同一位置引用同名作者的两篇参考文献时如何避免省略作者姓名

Posted

技术标签:

【中文标题】Latex:在同一位置引用同名作者的两篇参考文献时如何避免省略作者姓名【英文标题】:Latex: How to avoid omitting the author's name when citing two references with the same name author in the same position 【发布时间】:2020-08-26 14:06:30 【问题描述】:

我通过\citepliu2007cast,liu2011shadow 命令引用了2 个引用,它的样式(编译后)是:

In [Liu et al., 2011, 2007], the lower intensity rule is used as a preclassier in their method.

但我想要的风格是:

In [Liu et al. 2011, Liu et al. 2007], the lower intensity rule is used as a preclassier in their method.

如 ref.bib 所示,两位作者的姓名并不完全相同。但是第二个参考文献的作者默认省略了。

我的 book.tex 样本

\documentclass[a4paper,12pt]article
\usepackageamsmath
\usepackagegraphicx
\usepackagefloat
\usepackage[semicolon,square,sort&compress,sectionbib]natbib
\renewcommand\theequation\arabicsection-\arabicequation
\renewcommand\thefigure\arabicsection-\arabicfigure
\titleIn nature
\authorNull
\date

\begindocument
In \citepliu2007cast,liu2011shadow, the lower intensity rule is used as a preclassifier in their method. 
\bibliographystyleabbrvnat
\bibliographyref
\enddocument

我的参考书目样本

@inproceedingsliu2007cast,
  title=Cast shadow removal combining local and global features,
  author=Liu, Zhou and Huang, Kaiqi and Tan, Tieniu and Wang, Liangsheng,
  booktitle=2007 IEEE Conference on Computer Vision and Pattern Recognition,
  pages=1--8,
  year=2007,
  organization=IEEE

@articleliu2011shadow,
  title=Shadow detection in remotely sensed images based on self-adaptive feature selection,
  author=Liu, Jiahang and Fang, Tao and Li, Deren,
  journal=IEEE Transactions on Geoscience and Remote Sensing,
  volume=49,
  number=12,
  pages=5092--5103,
  year=2011,
  publisher=IEEE

【问题讨论】:

【参考方案1】:

您可以使用\citep* 宏:

\documentclass[a4paper,12pt]article
\usepackageamsmath
\usepackagegraphicx
\usepackagefloat
\usepackage[semicolon,square,sectionbib,sort&compress,mcite]natbib
\renewcommand\theequation\arabicsection-\arabicequation
\renewcommand\thefigure\arabicsection-\arabicfigure
\titleIn nature
\authorNull
\date

\beginfilecontents*[overwrite]\jobname.bib
@inproceedingsliu2007cast,
  title=Cast shadow removal combining local and global features,
  author=Liu, Zhou and Huang, Kaiqi and Tan, Tieniu and Wang, Liangsheng,
  booktitle=2007 IEEE Conference on Computer Vision and Pattern Recognition,
  pages=1--8,
  year=2007,
  organization=IEEE

@articleliu2011shadow,
  title=Shadow detection in remotely sensed images based on self-adaptive feature selection,
  author=Liu, Jiahang and Fang, Tao and Li, Deren,
  journal=IEEE Transactions on Geoscience and Remote Sensing,
  volume=49,
  number=12,
  pages=5092--5103,
  year=2011,
  publisher=IEEE

\endfilecontents*

\begindocument
In \citep*liu2007cast,liu2011shadow, the lower intensity rule is used as a preclassifier in their method. 
\bibliographystyleabbrvnat
\bibliography\jobname
\enddocument

【讨论】:

以上是关于Latex:在同一位置引用同名作者的两篇参考文献时如何避免省略作者姓名的主要内容,如果未能解决你的问题,请参考以下文章

Latex 初学者入门-- 多个作者共享同一个地址

LaTeX一句话引用多个参考文献该怎么表示

latex 中怎么引用参考文献

用latex写论文,如何在一篇文章中实现参考文献的上标引用和普通引用?

jabRef里引用的相邻同名作者变横线

解决问题:latex中bib引用顺序不正确,引用顺序和正文不一致