Here is the Springer Nature template. I can't add multiple references in this format: [1-4]
; instead it is adding references as [1,2,3,4]
. Here is my reference code.
\cite{de_florio_physics-informed_2022,de_florio_physics-informed_2022-1,aliakbari_predicting_2022,abueidda_enhanced_2022}
and here is the output.
If I include \usepackage{cite}
I get lots of errors in the document.
ADDING ADDITIONAL INFORMATION:
I am adding the whole preamble.
\documentclass[pdflatex,sn-basic]{sn-jnl}
\usepackage{array}
\usepackage{float}
\usepackage{xcolor}
\usepackage{subfig}
\jyear{2022}%
\theoremstyle{thmstyleone}%
\newtheorem{theorem}{Theorem}% meant for continuous numbers
\newtheorem{proposition}[theorem]{Proposition}%
\theoremstyle{thmstyletwo}%
\newtheorem{example}{Example}%
\newtheorem{remark}{Remark}%
\theoremstyle{thmstylethree}%
\newtheorem{definition}{Definition}%
\providecommand{\tabularnewline}{\\}
\raggedbottom
I didn't modify anything in sn-basic.bst
\documentclass[pdflatex,sn-basic]{sn-jnl}
sn-basic
class option tells LaTeX to load thenatbib
citation management package with theauthoryear
option, which tells LaTeX to generate authoryear-style citation call-outs. Put differently, with thesn-basic
option in effect, there's no way LaTeX will generate numeric-style citation call-outs unless your document contains some code -- about which you have so far not revealed any details -- that overrides the defaults and institutes numeric-style citation call-outs instead. Please do share these essential details with us. The macro name to look for may be\setcitestyle
.\setcitestyle
in the main tex file or in thesn-basic.bst
file.