Reference Latex:如何避免遗漏作者';在同一位置引用两个同名作者的引用时

Reference Latex:如何避免遗漏作者';在同一位置引用两个同名作者的引用时,reference,latex,bibliography,Reference,Latex,Bibliography,我通过\citep{liu2007cast,liu2011shadow}命令引用了2篇参考文献,它的风格(编译后)是: 但我想要的风格是: In [Liu et al. 2011, Liu et al. 2007], the lower intensity rule is used as a preclassi er in their method. 如参考文献bib所示,两位作者的姓名并不完全相同。但第二次引用的作者默认被省略 我的书的样本.tex \documentclass[a4pape

我通过
\citep{liu2007cast,liu2011shadow}
命令引用了2篇参考文献,它的风格(编译后)是:

但我想要的风格是:

In [Liu et al. 2011, Liu et al. 2007], the lower intensity rule is used as a preclassier in their method.
如参考文献bib所示,两位作者的姓名并不完全相同。但第二次引用的作者默认被省略

我的书的样本.tex

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{float}
\usepackage[semicolon,square,sort&compress,sectionbib]{natbib}
\renewcommand\theequation{\arabic{section}-\arabic{equation}}
\renewcommand\thefigure{\arabic{section}-\arabic{figure}}
\title{In nature}
\author{Null}
\date{}

\begin{document}
In \citep{liu2007cast,liu2011shadow}, the lower intensity rule is used as a preclassifier in their method. 
\bibliographystyle{abbrvnat}
\bibliography{ref}
\end{document}
我的参考围兜样品

@inproceedings{liu2007cast,
  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}
}
@article{liu2011shadow,
  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}
}

您可以使用
\citep*
宏:

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{float}
\usepackage[semicolon,square,sectionbib,sort&compress,mcite]{natbib}
\renewcommand\theequation{\arabic{section}-\arabic{equation}}
\renewcommand\thefigure{\arabic{section}-\arabic{figure}}
\title{In nature}
\author{Null}
\date{}

\begin{filecontents*}[overwrite]{\jobname.bib}
@inproceedings{liu2007cast,
  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}
}
@article{liu2011shadow,
  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}
}
\end{filecontents*}

\begin{document}
In \citep*{liu2007cast,liu2011shadow}, the lower intensity rule is used as a preclassifier in their method. 
\bibliographystyle{abbrvnat}
\bibliography{\jobname}
\end{document}

\documentclass[a4paper,12pt]{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{float}
\usepackage[semicolon,square,sectionbib,sort&compress,mcite]{natbib}
\renewcommand\theequation{\arabic{section}-\arabic{equation}}
\renewcommand\thefigure{\arabic{section}-\arabic{figure}}
\title{In nature}
\author{Null}
\date{}

\begin{filecontents*}[overwrite]{\jobname.bib}
@inproceedings{liu2007cast,
  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}
}
@article{liu2011shadow,
  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}
}
\end{filecontents*}

\begin{document}
In \citep*{liu2007cast,liu2011shadow}, the lower intensity rule is used as a preclassifier in their method. 
\bibliographystyle{abbrvnat}
\bibliography{\jobname}
\end{document}