TransWikia.com

how to get grouping references [1-4] in wiley template

TeX - LaTeX Asked by user144966 on May 17, 2021

documentclass[AMA,LATO1COL]{WileyNJD-v2}
setcitestyle{square}
articletype{Article Type}
makeatletter
raggedbottom
begin{document}
end{document}

I am applying cite{1,2,3,4} and getting [1,2,3,4].
But I want [1-4]. What should I do?

One Answer

As WileyNJD-v2.cls uses natbib (or a custom version of natbib distributed with the class), you can use the sort&compress option for natbib to do what you're asking. Add it to the class options, and it's picked up by the package:

documentclass[sort&compress,AMA,LATO1COL]{WileyNJD-v2}

Answered by Torbjørn T. on May 17, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP