Bibliography and citation style

The default bibliography [\bibliographystyle{plain}] and citation [ \cite ] styles in latex are not used very commonly  used nowadays.  After doing a small search on the web and reading some documentation I have found some useful packages which help format the bibliography entries and the citations to the authors in the " author( year) " instead of the " [1] " fromat. Note that all the packages I will use are already in the unix servers in the Statistics Dept ( Pennstate).
    Bibliography Style

    Citation Style

     
Bibliography Style

In LaTeX, one can use a number of different bibliography styles. This style defines the layout of the pointers in the body text (e.g. ``[1]''), as well as the layout of the reference list. For your convenience, we put here a sample output result for a few bibliography styles (look for other ones in ~texmf/bibtex/bst/*.bst). Most common are abbrv, acm, alpha, apalike, ieeetr, plain, siam and unsrt. My personal choice is using the "apalike" style.

This is how the LaTeX-source might look like:

...
\bibliographystyle{ieeetr}  
% or: plain,unsrt,alpha,abbrv,acm,apalike,...
...
\begin{document}
...
Reference to a paper in 
proceedings \cite{fanty:icassp93}, 
to an article \cite{linde:tcom80}, 
and to a book \cite{abut:book90}.
...
\bibliography{abbr_long,pubext} 
% expansion macro's + entries from pubext.bib
...
\end{document}

ieeetr
[back to top of document]
 

Reference to a paper in proceedings [1], to an article [2], and to a book [3].

References

[1] 
M. Fanty, P. Schmid, and R. Cole, ``City name recognition over the telephone,'' in Proc. International Conference on Acoustics, Speech and Signal Processing, vol. I, (Minneapolis, U.S.A.), pp. 549-552, April 1993. 
[2] 
Y. Linde, A. Buzo and R.M. Gray, ``An algorithm for vector quantizer design,'' IEEE Transactions on Communications, vol. 28, pp. 84-95, January 1980. 
[3] 
H. Abut, ed., Vector Quantization. IEEE Press, 1990. 

plain, abbrv
[back to top of document]
 

Reference to a paper in proceedings [2], to an article [3], and to a book [1].

References

[1] 
H. Abut, editor. Vector Quantization. IEEE Press, 1990. 
[2] 
M. Fanty, Ph. Schmid, and R. Cole. City name recognition over the telephone. In Proc. International Conference on Acoustics, Speech and Signal Processing, volume I, pages 549-552, Minneapolis, U.S.A., April 1993. 
[3] 
Y. Linde, A. Buzo and R.M. Gray. An algorithm for vector quantizer design. IEEE Transactions on Communications, 28(1):84-95, January 1980. 

acm
[back to top of document]
 

Reference to a paper in proceedings [2], to an article [3], and to a book [1].

References

[1] 
ABUT, H., Ed. Vector Quantization. IEEE Press, 1990. 
[2] 
FANTY, M., SCHMID, P., AND COLE, R. City name recognition over the telephone. In Proc. International Conference on Acoustics, Speech and Signal Processing (Minneapolis, U.S.A., April 1993), vol. I, pp. 549-552. 
[3] 
LINDE, Y., BUZO, A., AND GRAY, R.M. An algorithm for vector quantizer design. IEEE Transactions on Communications 28, 1 (January 1980), 84-95. 

unsrt
[back to top of document]
 

Reference to a paper in proceedings [1], to an article [2], and to a book [3].

References

[1] 
M. Fanty, Ph. Schmid, and R. Cole, City name recognition over the telephone. In Proc. International Conference on Acoustics, Speech and Signal Processing, volume I, pages 549-552, Minneapolis, U.S.A., April 1993. 
[2] 
Y. Linde, A. Buzo and R.M. Gray. An algorithm for vector quantizer design. IEEE Transactions on Communications, 28(1):84-95, January 1980. 
[3] 
H. Abut, editor. Vector Quantization. IEEE Press, 1990. 

alpha
[back to top of document]
 

Reference to a paper in proceedings [FSC93], to an article [LBG80], and to a book [Abu90].

References

[Abu90] 
H. Abut, editor. Vector Quantization. IEEE Press, 1990. 
[FSC93] 
M. Fanty, Ph. Schmid, and R. Cole. City name recognition over the telephone. In Proc. International Conference on Acoustics, Speech and Signal Processing, volume I, pages 549-552, Minneapolis, U.S.A., April 1993. 
[LBG80] 
Y. Linde, A. Buzo and R.M. Gray. An algorithm for vector quantizer design. IEEE Transactions on Communications, 28(1):84-95, January 1980. 

apalike
[back to top of document]
 

Reference to a paper in proceedings [Fanty et al., 1993], to an article [Linde et al., 1980], and to a book [Abut, 1990].

References

[Abut, 1990] H. Abut, editor. Vector Quantization. IEEE Press, 1990.

[Fanty et al., 1993] Fanty, M., Schmid, P., and Cole., R. (1993). City name recognition 
   over the telephone. In Proc. International Conference on Acoustics, Speech and Signal 
   Processing, volume I, pages 549-552, Minneapolis, U.S.A. 

[Linde et al, 1980] Y. Linde, A. Buzo and R.M. Gray. An algorithm for vector quantizer 
   design. IEEE Transactions on Communications, 28(1):84-95. 


siam
[back to top of document]
 

Reference to a paper in proceedings [2], to an article [3], and to a book [1].

References

[1] 
H. ABUT, ed., Vector Quantization, IEEE Press, 1990. 
[2] 
M. FANTY, P. SCHMID, AND R. COLE. City name recognition over the telephone, in Proc. International Conference on Acoustics, Speech and Signal Processing, vol.I, Minneapolis, U.S.A., April 1993, pp. 549-552. 
[3] 
Y. LINDE, A. BUZO, AND R.M. GRAY, An algorithm for vector quantizer design, IEEE Transactions on Communications, 28 (1980), pp. 84-95. 

You can also use a bibliography style and another for citations. In this case use the \bibliographystyle just before the including the bibliography file
 

 

\begin{document}

...

\bibliographystyle{ieeetr}
% or: plain,unsrt,alpha,abbrv,acm,apalike,...

\bibliography{abbr_long,pubext}
...

\end{document}
 

 
 
 
 
 

Citation Style

I like to use the author(year) citation style in my documents instead of the "[1]" like citations . There may be different options but I found the following very interesting.
 

 

The NATBIB Citation commands

The natbib package defines a number of very useful citation commands which replace the usual \cite. These are really necessary in any author-year citation system, where you don't always cite a reference using the same format for the citation. These commands and their output are illustrated below. The most frequently used are \citet (textual cite) and \citep (parenthetical cite). \cite is equivalent to \citet, but this shouldn't be used because it is often defined by other style files.

\citet{KEY}
Bester et al. (1998)
\citep{KEY}
(Bester et al. 1998)
Multiple citations work within a single cite, for example
\citep{KEY1, KEY2, KEY3, KEY4, ...}
(Bester et al. 1998; Garibaldi et al. 1997, 1998a,b; ...)
The lettering of the citations and references is done automatically.

You can use optional arguments to get text before and after the citation(s):

\citep[hereafter B98]{KEY}
(Bester et al. 1998, hereafter B98)
\citep[e.g.,][]{KEY}
(e.g., Bester et al. 1998)
\citep[see][p. 68]{KEY}
(see Bester et al. 1998, p. 68)
Any of these can have a * affixed to make a full author list when "et al." would normally be used, e.g.,
\citet*{KEY}
Bester, Winters, & Alexander (1998)
Note that the nat2jour.pl script takes care of the bizarre practice of listing three names on the first citation and using "et al." thereafter, so you don't need to worry about that, although the intermediate file will come out "wrong".
\citeauthor{KEY}
Bester et al.
\citeyear{KEY}
1998
\citeyearpar{KEY}
(1998)
\citealp and \citealt are the sames as \citep and \citet, respectively, except that they do not produce any parentheses at all:
\citealt{KEY}
Bester et al. 1998
Finally, \citetext can be used to place arbitrary text around a citation. Look at the comments in the natbib style files for more information.

 
 

Options for NATBIB

usepackage[options]{natbib}
 

 

round

(default) for round parentheses;

square

for square brackets;

curly

for curly braces;

angle

for angle brackets;

colon

(default) to separate multiple citations with colons;

comma

to use commas as separators;

authoryear

(default) for author­year citations;

numbers

for numerical citations;

super

for superscripted numerical citations, as in Nature;

sort

orders multiple citations into the sequence in which they appear in the list of references;

sort&compress as sort but in addition multiple numerical citations are compressed if possible (as 3­6, 15);

longnamesfirst makes the first citation of any reference the equivalent of the starred variant (full author list) and subsequent citations normal (abbreviated list);
 

 

Usage

Just include the package natbib with the proper options before \begin{document} like
 

 

\documentclass[11pt]{psuthesis}
.....
%% optional packages, in case you want AMS math macros and AMS symbols

\usepackage[comma,authoryear]{natbib} %% Here goes the natbib declaration ( Other options can be given)
....
 

 
 

\begin{document}

...

citet{KEY}
%% Citatitions
\citep{KEY}
...

 
 

\bibliographystyle{ieeetr}
% or: plain,unsrt,alpha,abbrv,acm,apalike,...

\bibliography{abbr_long,pubext}
...

\end{document}
 

 
 
 

Useful websites for Natbib Help
 

 

http://www.tug.org.in/tutorial/chap10-prn.pdf

http://www.linmpi.mpg.de/english/services/software/latex/localtex/doc/natbib.pdf
 

 
 
 
 
 
 
 
 
 
 
Email: surajit@stat.psu.edu
 LINKS

Professional Page| Resume | Personal Page | Stat 401 | Contact
PSU Main page | Statistics Department