文内引用标注样式

文内引用标注样式

如何将文内引用样式从 更改[1][2][3][1-3]。我想做的另一件事是从 转换为[1][2][3][12][1-3,12]我正在使用\cite{}命令进行文内引用标注。此外,我采用 IEEE 交易书目样式IEEEtran。假设我有 3 个参考文献,如下所示;

@article{maskery2017investigation,
  title={An investigation into reinforced and functionally graded lattice structures},
  author={Maskery, Ian and Hussey, Alexandra and Panesar, Ajit and Aremu, Adedeji and Tuck, Christopher and Ashcroft, Ian and Hague, Richard},
  journal={Journal of Cellular Plastics},
  volume={53},
  number={2},
  pages={151--165},
  year={2017},
  publisher={SAGE Publications Sage UK: London, England}
}
@article{Yu2019Investigation,
  title={Investigation of functionally graded TPMS structures fabricated by additive manufacturing},
  author={Yu, Shixiang and Sun, Jinxing and Bai, Jiaming},
  journal={Materials \& Design},
  volume={182},
  pages={108021},
  year={2019},
  publisher={Elsevier}
}
@article{dara2022numerical,
  title={Numerical and experimental investigations of novel nature inspired open lattice cellular structures for enhanced stiffness and specific energy absorption},
  author={Dara, Ashok and Bahubalendruni, MV A Raju and Mertens, A Johnney and Balamurali, Gunji},
  journal={Materials Today Communications},
  volume={31},
  pages={103286},
  year={2022},
  publisher={Elsevier}
}

并引用它们作为

\cite{maskery2017investigation}\cite{Yu2019Investigation}\cite{dara2022numerical}

结果变成[2][3][4]

答案1

我建议您采用cite引用管理样式并发布一个\cite带有 3 个逗号分隔参数的指令,而不是发布 3 个\cite带有每个参数的单独指令。

在此处输入图片描述

\documentclass{IEEEtran}
\begin{filecontents}[overwrite]{mybib.bib}
@article{maskery2017investigation,
  title={An investigation into reinforced and functionally graded lattice structures},
  author={Maskery, Ian and Hussey, Alexandra and Panesar, Ajit and Aremu, Adedeji and Tuck, Christopher and Ashcroft, Ian and Hague, Richard},
  journal={Journal of Cellular Plastics},
  volume={53},
  number={2},
  pages={151--165},
  year={2017},
  publisher={SAGE Publications Sage UK: London, England}
}
@article{Yu2019Investigation,
  title={Investigation of functionally graded TPMS structures fabricated by additive manufacturing},
  author={Yu, Shixiang and Sun, Jinxing and Bai, Jiaming},
  journal={Materials \& Design},
  volume={182},
  pages={108021},
  year={2019},
  publisher={Elsevier}
}
@article{dara2022numerical,
  title={Numerical and experimental investigations of novel nature inspired open lattice cellular structures for enhanced stiffness and specific energy absorption},
  author={Dara, Ashok and Bahubalendruni, MV A Raju and Mertens, A Johnney and Balamurali, Gunji},
  journal={Materials Today Communications},
  volume={31},
  pages={103286},
  year={2022},
  publisher={Elsevier}
}
\end{filecontents}

\usepackage{cite}
\bibliographystyle{IEEEtran}

\begin{document}
\cite{maskery2017investigation, Yu2019Investigation, dara2022numerical} vs.\ 
\cite{maskery2017investigation}\cite{Yu2019Investigation}\cite{dara2022numerical}
\bibliography{mybib}
\end{document} 

相关内容