summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-mcite.html
blob: 64504221f1de8cf83c311c7a988fe02dfa777c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<head>
<title>UK TeX FAQ -- question label mcite</title>
</head><body>
<h3>Multiple citations</h3>
<p/>A convention sometimes used in physics journals is to &ldquo;collapse&rdquo; a group of
related citations into a single entry in the bibliography.  BibTeX,
by default, can&rsquo;t cope with this arrangement, but the <i>mcite</i>
and <i>mciteplus</i> packages deal with the problem.
<p/><i>mcite</i> overloads the <code>\</code><code>cite</code> command to recognise a
&ldquo;<code>*</code>&rdquo; at the start of a key, so that citations of the form
<blockquote>
<pre>
\cite{paper1,*paper2}
</pre>
</blockquote><p>
appear in the document as a single citation, and appear arranged
appropriately in the bibliography itself.  You&rsquo;re not limited to
collapsing just two references.  You can mix &ldquo;collapsed&rdquo; references
with &ldquo;ordinary&rdquo; ones, as in
<blockquote>
<pre>
\cite{paper0,paper1,*paper2,paper3}
</pre>
</blockquote><p>
Which will appear in the document as 3 citations &ldquo;[4,7,11]&rdquo;
(say) &mdash; citation &lsquo;4&rsquo; will refer to paper 0, &lsquo;7&rsquo; will refer to a
combined entry for paper 1 and paper 2, and &lsquo;11&rsquo; will refer to
paper 3.
<p/>You need to make a small change to the bibliography style
(<code>.bst</code>) file you use; the <i>mcite</i> package
documentation tells you how to do that.
<p/>(Despite these multiple citations being primarily a physics-oriented
requirement, the <i>RevTeX</i> (Physics support) class doesn&rsquo;t work
with <i>mcite</i>.
<p/>The <i>mciteplus</i> package adresses many of the infelicites of
<i>mcite</i>, and <em>does</em> work with <i>RevTeX</i>.  Again,
&lsquo;ordinary&rsquo; <code>.bst</code> files will not work with
<i>mciteplus</i>, but the package documentation explains how to
patch an existing BibTeX style.
<p/>The <i>collref</i> package takes a rather different approach to the
problem, and will work with most (if not all) BibTeX packages.
<i>Collref</i> spots common subsets of the references, so if it
sees a sequence
<blockquote>
<pre>
\cite{paper0,paper1,paper2,paper3}
...
\cite{some_other_paper,paper1,paper2,and_another}
</pre>
</blockquote><p>
it will collect <code>paper1</code> and <code>paper2</code> as a multiple reference.
<dl>
<dt><tt><i>collref.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/collref.zip">macros/latex/contrib/collref</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/collref/">browse the directory</a>)
<dt><tt><i>mcite.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/mcite.zip">macros/latex/contrib/mcite</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/mcite/">browse the directory</a>)
<dt><tt><i>mciteplus.sty</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/mciteplus.zip">macros/latex/contrib/mciteplus</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/mciteplus/">browse the directory</a>)
<dt><tt><i>revtex bundle</i></tt><dd><a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/revtex.zip">macros/latex/contrib/revtex</a> (or <a href="http://www.tex.ac.uk/www.tex.ac.uk  tex-archive/macros/latex/contrib/revtex/">browse the directory</a>)
</dl>
<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=mcite">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=mcite</a>
</body>