[texhax] a question

Matej Košík kosik at fiit.stuba.sk
Sun Oct 9 22:52:45 CEST 2005


Hossein Jafari wrote:
> Dear Sir/Madam
> 
> I have a question about \cite, I want write references as [1-5].
> how can I do? because when I use this command it gives error
>  \cite{Ref1,-,Ref5}
> please help me.

Hitherto, I did not heard about a posibility how to achieve the
functionality you requested. In lot of cases it even does not make sense
. There are bibliography styles which refer particular
books/articles/etc by numbers. In those cases one could imagine to refer
a continuous interval of books as you suggested, i.e.

	[1-5]

but there are styles in which references to books are expressed as
authors' names acronyms, such as

	[KR98]

etc. In those cases it doesn't have sense to use a -- with acronyms.

The closest thing I can recommend you, is to express multiple references
as follows

	\cite{label1,label2,label3]

it could produce something like this

	[1,2,3]

The actual numbers depend on the actual situation, of course. But it is
concise, precise, and should work with any bibliography style. I do it
that way and there are no problems with this approach.

> yours sincerely
> Hossein Jafari
> Department of Mathematics,
> University of Pune,
> Pune-41107,India
> 
> _______________________________________________
> TeX FAQ: http://www.tex.ac.uk/faq
> TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex
> Mailing list archives: http://tug.org/pipermail/texhax/
> More links: http://tug.org/begin.html
> 
> Automated subscription management: http://tug.org/mailman/listinfo/texhax
> Human mailing list managers: postmaster at tug.org


-- 
Matej Košík



More information about the texhax mailing list