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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
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