多重引用问题

多重引用问题

我希望引用采用特定格式。例如,我希望在连续引用时显示所有数字,而不是带连字符的范围。

在此处输入图片描述

应该是这样的:

在此处输入图片描述

此外,当两个不连续的引用时,我将它们放在单独的括号中,例如:

在此处输入图片描述

但我希望它们放在像这样的一个括号中:

在此处输入图片描述

MWE 是:

\documentclass[a4paper,11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[margin=3.0cm]{geometry}
\usepackage[style=ieee, sorting=none]{biblatex}
\addbibresource{references.bib}
\usepackage{hyperref} % for hyperlinks, citations
\hypersetup{
    citecolor=green,
    colorlinks=True,
    linkcolor=blue,
    filecolor=magenta,      
    urlcolor=blue,
    pdftitle={Thesis_organized},
    pdfpagemode=FullScreen,
    }
\urlstyle{same}
\usepackage{graphicx} %package to manage images
\graphicspath{{./Images/}} % folder where the images or figures are
\usepackage{subcaption}
\usepackage[labelfont=bf]{caption} % make Figure 1 bold
\usepackage{wrapfig} % for wrapping a figure with words
\usepackage{enumerate}  
\usepackage{hyphenat}
\usepackage{MnSymbol}
\usepackage{siunitx} % for micro meter
\usepackage{amsmath} % for math fraction symbol
\usepackage{relsize} % for large summation
\usepackage[euler]{textgreek} % greek letters within text
\usepackage{bm} % bold math symbols
\usepackage{verbatim} % for commenting
\usepackage{lipsum} % for MWE
\usepackage{blindtext}
\usepackage{dirtytalk} % for quotes
% +---------------------------+
% |  for white space removal  |
% +---------------------------+
\usepackage{paracol}
\globalcounter*
\newsavebox{\tempboxa}
\newsavebox{\tempboxb}
\newsavebox{\textbox}
\newcommand{\splitpar}[2][\textwidth]{% #1 = width of column (optional), #2 = rest of paragraph after split
  \unskip\strut{\parfillskip=0pt\parskip=0pt\par}%
  \global\setbox\textbox=\vbox{\hsize=#1\relax\noindent\strut #2\strut}}
\newcommand{\continuepar}{\unvbox\textbox}

如下references.bib

@article{jacksteele,
  title={The role of magnetic resonance imaging in the management of acute spinal cord injury},
  author={jacksteele and Marcoux, Judith and Radha, Bonnie and Clyde, Juliet and Romeo, Benoit},
  journal={Journal of neutritions},
  volume={28},
  number={8},
  pages={1401--1411},
  year={2011},
  publisher={Albert Einstein, Inc. 140 Huguenot Street, 3rd Floor New Rochelle, NY 10801 USA}
} %1

@article{caprcorn,
  title={Molecular ab c d efgh ij k},
  author={Capricorn, Lmk, hjshf ooiwoeri},
  journal={Analytical Physics},
  volume={69},
  number={23},
  pages={4751--4760},
  year={1979},
  publisher={ACS Publications}
}

@article{quarts20183d,
  title={3D MALDI mass spectrometry imaging reveals specific localization of long-chain acylcarnitines within a 10-day time window of spinal cord injury},
  author={Quartz, Jusal and Hauberg-Lotto, XYZ },
  journal={Scientific reports},
  volume={8},
  number={1},
  pages={1--11},
  year={2011},
  publisher={Nature Publishing Group}
}

另外,我将小节用作main.tex文件中的章节。

\begin{document}
\vspace{2.0cm}
\begin{center}
    \LARGE{\textbf{\\[60pt]This is just an MWE}\\[60pt]}
    
    \normalsize{Ashoke Kumar\\[60pt]
    % %\vfill
    % % Author addresses
    % \begin{document}
    Ph.D. Thesis Proposal\\
    % % E-mail address for correspondence
    [email protected]\\[60pt]
    
    Department of Biomedical Engineering\\
    Demo University\\[60pt]
    % \centering
    Committee:
    \\
    % 

\end{center}

\tableofcontents
\newpage
\listoffigures
    \hypersetup{linkcolor = black} % to make \refs black and keep lists blue
\newpage

\section{Specific Aims}
\input{Sections/01_Specific_Aims}

\section{Background}
\input{Sections/02_Background}

\section{Significance}
\input{Sections/03_Significance}

\section{Specific Aim 1}
\input{Sections/04_SpecificAim1}

\section{Specific Aim 2}
\input{Sections/05_SpecificAim2}

\section{Specific Aim 3}
\input{Sections/06_SpecificAim3}

\addcontentsline{toc}{section}{References}
\printbibliography
%\bibliographystyle{ieeetr} %abbrv %apalike %ieeetr
%\bibliography{references}
\end{document}

这里和其他地方的一些建议没有起到作用。

答案1

style=ieee,正在加载biblatex-ieeeIEEE 样式,其特点是将所有引用编号放在单独的括号中。如果您不喜欢这样,您可以尝试混合bibstyle=ieee,使用标准数字引用样式citestyle=numeric,

\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[backend=biber, bibstyle=ieee, citestyle=numeric, sorting=none]{biblatex}


\addbibresource{biblatex-examples.bib}

\begin{document}
Lorem \autocite{sigfridsson,worman,geer,nussbaum}

\printbibliography
\end{document}

乱码 [1, 2, 3, 4]

如果您实际上不需要 IEEE 风格,那么您不妨尽全力,只说不style=numeric,涉及任何内容biblatex-ieee

\documentclass[american]{article}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{csquotes}

\usepackage[backend=biber, style=numeric, sorting=none]{biblatex}


\addbibresource{biblatex-examples.bib}

\begin{document}
Lorem \autocite{sigfridsson,worman,geer,nussbaum}

\printbibliography
\end{document}

乱码 [1, 2, 3, 4]

相关内容