Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'd like to have a citation style somewhat in between numeric and numeric-comp. To take the example from the documentation, when numeric produces [8, 3, 1, 7, 2] and numeric-comp produces [1–3, 7, 8], I would like to see [1, 2, 3, 7, 8]. As the only difference between the two styles seems to be sortcites=true and I can't find something like compresscites, I'm a bit lost even though this seems so trivial.

share|improve this question

1 Answer 1

up vote 7 down vote accepted

The numeric-comp style includes code for the compression, so you should load numeric and set sortcites yourself:

\documentclass{article}
\usepackage[backend=bibtex,style=numeric,sortcites]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{knuth:ct:b}
\cite{sigfridsson}
\cite{worman}
\cite{nietzsche:historie}
\cite{almendro}
\cite{kowalik}
\cite{loh}
\cite{kowalik,loh,almendro}
\printbibliography
\end{document}
share|improve this answer
    
I should have thought of testing this :/ Thank you for the MWE, too! –  Christian Jun 28 '12 at 9:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.