Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Dernière révision Les deux révisions suivantes | ||
3_composition:annexes:bibliographie:grouper_des_references_bibligraphiques_multiples2 [2018/06/03 12:01] d.p.carlisle |
3_composition:annexes:bibliographie:grouper_des_references_bibligraphiques_multiples2 [2018/12/04 00:00] jejust |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Sorting and compressing citations ====== |
- | title: Sorting and compressing citations | + | |
- | category: bibliographies | + | |
- | tags: citations | + | |
- | permalink: /FAQ-citesort | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
If you give LaTeX | If you give LaTeX | ||
- | `\cite{fred,joe,harry,min}`, its default commands could give | + | ''\cite{fred,joe,harry,min}'', its default commands could give |
something like "[2,6,4,3]"; | something like "[2,6,4,3]"; | ||
this looks awful. One can of course get the things in order by | this looks awful. One can of course get the things in order by | ||
- | rearranging the keys in the `\cite` command, but who wants to do | + | rearranging the keys in the ''\cite'' command, but who wants to do |
that sort of thing for no more improvement than "[2,3,4,6]"? | that sort of thing for no more improvement than "[2,3,4,6]"? | ||
- | The [`cite`](https://ctan.org/pkg/cite) package sorts the numbers and detects consecutive | + | The [[ctanpkg>cite|cite]] package sorts the numbers and detects consecutive |
- | sequences, so creating "[2–4,6]". The [`natbib`](https://ctan.org/pkg/natbib) package, | + | sequences, so creating "[2--4,6]". The [[ctanpkg>natbib|natbib]] package, |
- | with the `numbers` and `sort&compress` options, will | + | with the ''numbers'' and ''sort&compress'' options, will |
do the same when working with its own numeric bibliography styles | do the same when working with its own numeric bibliography styles | ||
- | (`plainnat.bst` and `unsrtnat.bst`). | + | (''plainnat.bst'' and ''unsrtnat.bst''). |
+ | |||
+ | The package [[ctanpkg>biblatex|biblatex]] has a built-in style | ||
+ | [[ctanpkg>biblatex|numeric-comp]] for its bibliographies. | ||
+ | |||
+ | |||
+ | ----- | ||
- | The package [`biblatex`](https://ctan.org/pkg/biblatex) has a built-in style | + | //Source:// [[faquk>FAQ-citesort|Sorting and compressing citations]] |
- | [`numeric-comp`](https://ctan.org/pkg/biblatex) for its bibliographies. | + | |
+ | {{htmlmetatags>metatag-keywords=(LaTeX,bibliographies) | ||
+ | metatag-og:title=(Sorting and compressing citations) | ||
+ | metatag-og:site_name=(FAQ LaTeX francophone) | ||
+ | }} | ||