I'm very new to LaTeX and everything related to it, so I hope this question won't be too stupid, but I did look around online and on these forums and did not manage to find an answer.
I am writing a document in the style of a scientific article using aastex as a document class, and using natbib. I am ashamed to say I am presently using Windows 8 (this will hopefully change soon), and I am writing my document in TeXworks 0.0.4 r.1003. I am using a reference with four authors, and I cannot figure out why these are displayed incorrectly in my pdf preview.
Minimal example (I added my package inclusions because since I am inexperienced, I do not know if there are possible interactions there):
Code: Select all
\documentclass[12pt,preprint]{aastex}
\usepackage{fmtcount}
\usepackage[dayofweek]{datetime}
\renewcommand{\dateseparator}{-}
\newdate{mydate}{24}{12}{2012}
\usepackage{natbib}
\usepackage{citeref}
\usepackage{verbatim}
\begin{document}
\bibliographystyle{plainnat}
\setcitestyle{numbers}
\title{Yadda yadda}
\author{Something something, \yyyymmdddate\displaydate{mydate}}
% abstract here
Some text\citep{Schuster1994,Waterman1978}.
\bibliography{./article}
\end{document}
Code: Select all
@Article{Schuster1994,
Title = {From sequences to shapes and back: A case study in RNA secondary structures},
Author = {Schuster, Peter and Fontana, Walter and Stadler, Peter F. and Hofacker, Ivo L.},
Journal = {Proc R Soc Lond (Biol)},
Year = {1994},
Pages = {279-284},
Volume = {255},
Owner = {Vincent},
Timestamp = {2014.05.24}
}
Note the mistakes in commas and initials in the first of the references (the second is probably irrelevant but since I don't really know and it was a multiple citation, I just included it).Yadda yadda
Something something, 2012-12-24
Some text(1; 2).
References
W. Stadler P. F. Hofacker I. L. Schuster, P. Fontana. From sequences to shapes and back: A case study in rna secondary structures. Proc R Soc Lond (Biol), 255:279-284, 1994. [1]
M. S. Waterman. Secondary structure of single-straned nucleic acids. Studies on foundations and combinatorics. Adv Math Suppl Studies, 1:167-212, 1978. [1]
Obviously, I would like this reference to look like it does for my minimum example (this would introduce some inconsistencies with initials versus full first names, but I know how to fix that, which will happen):
Incidentally, what's the "[1]" at the end supposed to be here? Are those supposed to be identifiers? I just now noticed that there are no numbers otherwise to link the in-line citation numbers to the reference list references.Peter Schuster, Walter Fontana, Peter F. Stadler, and Ivo L. Hofacker. From sequences to shapes and back: A case study in rna secondary structures. Proc R Soc Lond (Biol), 255:279-284, 1994. [1]
The only thing I can think that I did differently with the original and the minimum example is that for the original, I used JabRef 2.10, and for the minimum example I just copied the files over and renamed them.
Thanks in advance!
Vincent