I'm new to bibliographies in LaTeX and I want to be able to use the style as in this report. Basically Rawle et al. (2013) with and without parentheses so:
(Rawle et al. 2013)
Rawle et al.
Rawle et al. (2013)
I'm currently using revtex4 and a bibtex file but all that does is just put [1] as the citation!
Here's the master tex file:
\documentclass[twocolumn]{revtex4}
\begin{document}
\title{S0 Galaxies}
\date{\today}
\author{S. Read}
\affiliation{Department of Physics}
%\begin{abstract}
%\end{abstract}
\maketitle
%\include{Introduction}
\cite{dressler_rotational_1983}
\bibliography{Zotero}
\bibliographystyle{plainnat}
\end{document}
Here is the citation in the bib file (everything else in the bib file is just more citations):
@article{dressler_rotational_1983,
title = {Rotational velocities and central velocity dispersions for a sample of S0 galaxies},
volume = {265},
issn = {0004-{637X}},
url = {http://adsabs.harvard.edu/abs/1983ApJ...265..664D},
doi = {10.1086/160712},
abstract = {Field S0 galaxies have bulges exhibiting high rotational velocities similar to those of spiral galaxies, as well as rapidly rotating disks. The Tully-Fisher ({TF)} diagram for field S0s show significant scatter, which indicates that these galaxies are a heterogeneous group in light of disk kinematics. Their spread in the {TF} diagram is larger than that of all Hubble-type spirals, prompting as explanations for such large variation a variation in mass/light ratio, the contamination of disk light by bulge light, and the accidental inclusion of systems lacking true disks whose kinetic energy derives from velocity dispersion rather than rotation. While some S0 galaxies seem to have no disks, their light profiles mimic the extended envelope distinguishing S0s from ellipticals, and they are rotationally flattened. These transition objects may be useful in increasing the present understanding of the formation of spheroidal stellar systems.},
urldate = {2013-10-28},
journal = {The Astrophysical Journal},
author = {Dressler, A. and Sandage, A.},
month = feb,
year = {1983},
keywords = {{ANGULAR} {VELOCITY}, {DISK} {GALAXIES}, {ELLIPTICAL} {GALAXIES}, {GALACTIC} {ROTATION}, {GALACTIC} {STRUCTURE}, {HUBBLE} {DIAGRAM}, {LUMINOSITY}, {SPIRAL} {GALAXIES}, {STELLAR} {SYSTEMS}, {VELOCITY} {DISTRIBUTION}},
pages = {664--680},
file = {NASA/ADS Full Text PDF:C:\Users\User\AppData\Roaming\Zotero\Zotero\Profiles\1lsc8c6m.default\zotero\storage\UTE9FWCU\Dressler and Sandage - 1983 - Rotational velocities and central velocity dispers.pdf:application/pdf}
}
the \section{introduction} consists of: "S0"
natbibpackage is helpful. http://mirrors.ctan.org/macros/latex/contrib/natbib/natbib.pdf – osjerick Nov 24 '13 at 14:33Package natbib Warning: There were undefined citations.– Lucidnonsense Nov 24 '13 at 14:47\input{Introduction}as it's irrelevant to the problem at hand. Note that numeric citation style is the default for most journals that require therevtex4andrevtex4-1document classes. Theplainnatbibliography style is, in principle, compatible with both numeric and authoryear citation styles. Which journal do you intend to submit your paper to? – Mico Nov 24 '13 at 15:56revtexdocument you need to set the citation style fornatbib, in your preamble add\setcitestyle{authoryear}. – osjerick Nov 24 '13 at 16:07