i don't understand with latex how we can cite multiple things ?
Example 1 : if i want to cite some autors
------------------
Code: Select all
\citep{book1,book2}
[1,2]
Example 2 : if i want to cite lot of autors
------------------
Code: Select all
\citep{book1,book2,book3,book4,book5,book6}
[1,2,3,4,5,6]
the problem is that i want to compress this wrtiting

i don't want : [1,2,3,4,5,6] but rather [1-6]
how i can make this please ?