reference - Latex:在同一位置引用同名作者的两篇参考文献时如何避免省略作者姓名
问题描述
我通过命令引用了 2 个引用\citep{liu2007cast,liu2011shadow}
,它的样式(编译后)是:
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}
\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}
推荐阅读
- codenameone - 代号皮肤intellij
- c++ - 问:在 switch 语句中使用特定虚函数的 vtable 偏移量?
- amazon-web-services - 运行的 aws ecs 任务没有响应请求
- python-3.x - 怀疑为什么“for”不起作用(python)
- javascript - 向下滚动时隐藏标题框阴影设置
- java - 在 IntelliJ 运行器中配置 @RunWith 以使用 CucumberWithSerenity.class 而不是 Cucumber.class
- amazon-web-services - RedShift 表行在使用另一个表更新后重复
- java - Synchronization-factory 删除 sftp:inbound-channel-adapter 的文件夹
- database - 双重哈希与加盐相结合是一种有效的密码存储技术吗?
- c# - 如何创建具有动态类型的 lambda 表达式