GeneralCitation Styles and Formating

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Siavash
Posts: 9
Joined: Tue Sep 27, 2011 1:32 am

Citation Styles and Formating

Post by Siavash »

Hi,
I'm rather new to Latex and I'm trying to write my first paper with Latex. So sorry if these questions is too newbie-like. :)
I have two problems with the citation methods. First of all, when I insert for example four consecutive citation, it renders as [1,2,3,4] instead if [1-4]. How can I fix that?
Besides, Is there any way to make latex sort the multiple citations? I mean, right now, I have a citation like this: [12,34,15,113,46,23] and what I want it to be is [12,15,23,34,46,113]. Is there any way to do so?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Citation Styles and Formating

Post by Stefan Kottwitz »

Hi Siavash,

the cite package can compress citation ranges and sort it for you:

Code: Select all

\usepackage{cite}
Stefan
LaTeX.org admin
Siavash
Posts: 9
Joined: Tue Sep 27, 2011 1:32 am

Re: Citation Styles and Formating

Post by Siavash »

Great. Works just fine. Thanks.
Post Reply