summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/FAQ-en/html/FAQ-formbiblabel.html
blob: 428b637f541e5b119d64c526d9a7a271e97b38f7 (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
<head>
<title>UK TeX FAQ -- question label formbiblabel</title>
</head><body>
<h3>Format of numbers in the bibliography</h3>
<p/>By default, LaTeX makes entries in the bibliography look like:
<blockquote>
  [1] Doe, Joe et al.  Some journal.  2004.<br> 
  [2] Doe, Jane et al. Some journal. 2003.
</blockquote><p>
while many documents need something like:
<blockquote>
  1. Doe, Joe et al.  Some journal.  2004.<br>
  2. Doe, Jane et al. Some journal. 2003.
</blockquote><p>
<p/>This sort of change may be achieved by many of the &#8220;general&#8221;
citation packages; for example, in <i>natbib</i>, it&#8217;s as simple as:
<blockquote>
<pre>
\renewcommand{\bibnumfmt}[1]{#1.}
</pre>
</blockquote><p>
but if you&#8217;re not using such a package, the following internal
LaTeX commands, in the preamble of your document, will do the job:
<blockquote>
<pre>
\makeatletter
\renewcommand*{\@biblabel}[1]{\hfill#1.}
\makeatother
</pre>
</blockquote><p>
<dl>
<dt><tt><i>natbib.sty</i></tt><dd><a href="http://mirror.ctan.org/macros/latex/contrib/natbib.zip">macros/latex/contrib/natbib</a> (or <a href="http://mirror.ctan.org/macros/latex/contrib/natbib/">browse the directory</a>); <a href="http://mirror.ctan.org/help/Catalogue/entries/natbib.html">catalogue entry</a>
</dl>
<p/><p/><p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=formbiblabel">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=formbiblabel</a>
</body>