BibTeX, biblatex and biberCompress citestyle superscript

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
bkchemist
Posts: 2
Joined: Wed Nov 05, 2014 1:16 am

Compress citestyle superscript

Post by bkchemist »

Hello, I am using the \supercites command but I would like the numbers to be compressed (i.e 1-4 not 1,2,3,4)

This is my format:

Code: Select all

\usepackage[backend=bibtex,style=chem-acs,citestyle=chem-acs]{biblatex}
\addbibresource{library.bib}

\begin{document}

blah blah blah.\supercites{ref1}{ref2}{ref3}{ref4} 

\printbibliography
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Compress citestyle superscript

Post by Johannes_B »

Code: Select all

\documentclass{article}
\usepackage[backend=bibtex,style=chem-acs]{biblatex}
\addbibresource{biblatex-examples.bib}

\begin{document}
blah blah
blah.\supercites{aristotle:physics,companion,springer,ctan}

\printbibliography
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
bkchemist
Posts: 2
Joined: Wed Nov 05, 2014 1:16 am

Re: Compress citestyle superscript

Post by bkchemist »

Perfect! Thank you! :D
Post Reply