尝试在正文中使用 [1-6] 而不是 [1;2;3;4;5;6] 来获取温哥华风格 (natbib) 引用

尝试在正文中使用 [1-6] 而不是 [1;2;3;4;5;6] 来获取温哥华风格 (natbib) 引用

一些背景信息

因此,我试图让引文和参考书目看起来与温哥华风格相似。风格、库、包并不那么重要(因此,我一定不能在环境中使用具有温哥华风格的 natbib;我愿意在 Overleaf.com 上使用其他风格),只是外观,基本上就是:引文为括号或方括号中的数字(例如1) 在正文中。

我想要的并且目前实现的基本外观:

在参考书目列表中,我希望姓氏完整并出现在第一位,然后是,然后是名字和中间名的首字母。在文本和参考书目列表中,排序应按数字进行。

问题:

我遇到一些引文出现如下问题:([1; 2; 3; 4; 5; 6]见下面的截图),但我更希望它出现如下[1-6]不需要的引用列表类型

有人知道如何实现这一点吗?

幕后和其他地方

带有引用命令的文本:

Many of the galaxy clusters in the observable universe have shown remarkable variations in their star formation rates \cite{Thompson2020GalaxyClusterDynamics, Johnson2021DarkMatterMapping, Wilson2019BlackHoleActivityInGalaxies, Patel2023StarFormationRates, Gomez2020GravitationalLensingEffects, Brown2022ExoplanetDiscoveryMethods}.

我正在像这样使用 natbib 并具有以下文档类:

\documentclass[12pt,a4paper]{book}
\usepackage[square]{natbib}
\bibliographystyle{vancouver}

参考书目如下: 参考书目

在参考书目列表中是这样的:

@article{Thompson2020GalaxyClusterDynamics,
author = {Thompson, R. and Hamilton, D. and Jenkins, A.},
year = {2020},
title = {Dynamics of Galaxy Clusters and Their Impact on Star Formation},
journal = {Astrophysical Journal},
volume = {10},
pages = {100-115},
doi = {10.1000/astroj/2020.10.100}
}

@article{Johnson2021DarkMatterMapping,
author = {Johnson, M. and Davies, L. and Smith, K.},
year = {2021},
title = {Mapping Dark Matter in Distant Galaxy Clusters},
journal = {Journal of Cosmology and Astroparticle Physics},
volume = {15},
pages = {25-40},
doi = {10.1015/jcap.2021.15.25}
}

@article{Wilson2019BlackHoleActivityInGalaxies,
author = {Wilson, G. and Patel, N. and Singh, R.},
year = {2019},
title = {Activity of Supermassive Black Holes in Distant Galaxies},
journal = {Galactic Dynamics Review},
volume = {7},
pages = {55-70},
doi = {10.1020/gdr.2019.7.55}
}

@article{Patel2023StarFormationRates,
author = {Patel, S. and Wong, Y.},
year = {2023},
title = {Star Formation Rates in Expanding Universe},
journal = {International Journal of Astrophysics},
volume = {22},
pages = {200-215},
doi = {10.2030/ija.2023.22.200}
}

@article{Gomez2020GravitationalLensingEffects,
author = {Gomez, E. and Rodriguez, J. and Chen, M.},
year = {2020},
title = {Gravitational Lensing and Its Effects on Galaxy Perception},
journal = {Cosmic Phenomena Quarterly},
volume = {18},
pages = {150-165},
doi = {10.2080/cpq.2020.18.150}
}

@article{Brown2022ExoplanetDiscoveryMethods,
author = {Brown, T. and Kumar, P.},
year = {2022},
title = {Innovative Methods in Exoplanet Discovery},
journal = {Planetary Science Letters},
volume = {33},
pages = {78-92},
doi = {10.2234/psl.2022.33.78}
}

我在 Overleaf.com 上使用此环境/这些设置:

环境

答案1

我建议你改变

\usepackage[square]{natbib}

\usepackage[square,numbers,sort&compress]{natbib}

获得形式为 的压缩引用调用[1-6]

相关内容