如何修復我的引文以顯示在單括號中?

如何修復我的引文以顯示在單括號中?

我面臨這個問題,我將我的引文列為

\cite{citation42,citation23}  

但它仍然出現在我的乳膠輸出文件中:

works [42], [23] ....

但應該是 works [42,23] ....

我該如何解決?我正在使用以下軟體包:

\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\bibliographystyle{unsrt}
\usepackage{cite}

我嘗試刪除該cite軟體包,但沒有任何變化。

參考了這個:單括號內多次引用

不知道為什麼在這種情況下它拒絕被分組在一個括號中。請幫忙,謝謝!

編輯:

加入其他使用的包

\IEEEoverridecommandlockouts
% The preceding line is only needed to identify funding in the first footnote. If that is unneeded, please comment it out.
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}

\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}

\bibliographystyle{unsrt}

編輯2:

複製貼上的範例(我檢查過它有效,只是問題仍然存在)

\documentclass[conference]{IEEEtran}
\IEEEoverridecommandlockouts
% The preceding line is only needed to identify funding in the first footnote. If that is unneeded, please comment it out.
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}

\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
        T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}

\bibliographystyle{unsrt}
\begin{document}
    
    \title{Exploring the reason why my latex wont work for bibs}
    
    \maketitle
    
    
    
    \begin{abstract}
        Recently, this is the abstract i am testing 
    \end{abstract}
    
    
    \section{Introduction}
    This is how we do the introduction and thus how things are donee in works \cite{citation42,citation23}  like this.
    
    \section*{Acknowledgment}
    
    This project is funded by abcedergrfgsdfg
    
    
    
    
    \begin{thebibliography}{00}
        
        
        \bibitem{citation42}
        L.Writer
        \newblock Large scale benchmark 
        \newblock testestest
        
        
        \bibitem{citation23}
        L.Writer
        \newblock Large scale benchmark 
        \newblock testestest
        
    \end{thebibliography}
    
    
\end{document}

相關內容