Dear all,
I am relatively new to LaTeX and have been fumbling my way around it for the last couple of days. I would like to use the natbib style files (abbrvnat, plainnat, and unsrtnat) written by Patrick Daly but without much success. The editor I am using is TeXnicCenter. I can see all three .bst file in my MiKTeX 2.6 directory and have used
\citet{key}
\bibliography{mybibfile}
\bibliographystyle{plainnat}
I have also tried the other two (abbrvnat and unsrtnat) but with no success. Am I missing something obvious?
Your help is greatly appreciated.
Regards,
Sorn
General ⇒ newbie: natbib style file in LaTeX
NEW: TikZ book now 40% off at Amazon.com for a short time.

- pumpkinegan
- Posts: 91
- Joined: Thu May 03, 2007 10:29 pm
Re: newbie: natbib style file in LaTeX
Have you ran BibTeX and generated a .bbl file?
Re: newbie: natbib style file in LaTeX
Yes, I ran BibTex and created a .bbl file which looks like below:
\begin{thebibliography}{0}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{\texttt{#1}}
\expandafter\ifx\csname urlstyle\endcsname\relax
\providecommand{\doi}[1]{doi: #1}\else
\providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi
\end{thebibliography}
And if I use the plain style
\bibliographystyle{plain}
it allworks OK producing a .bbl like this:
\begin{thebibliography}{1}
\bibitem{Conway2000}
Damian Conway.
\newblock {\em Object {O}riented {P}erl: {A} comprehensive guide to concepts
and programming techniques}.
\newblock Manning Publications Co., Connecticut, USA, 2000.
\bibitem{Huetal2000}
A.~Jennings J.~Hu, H. R.~Wu and X.~Wang.
\newblock Fast and robust equalization: A case study.
\newblock In {\em Proceedings of the World Multiconference on Systemics,
Cybernetics and Informatics, (SCI 2000), Florida, USA, 23-26 July 2000},
pages 398--403, FL, USA, 2000. International Institute of Informatics and
Systemics.
\bibitem{Meyer2000}
Bernd Meyer.
\newblock A constraint-based framework for diagrammatic reasoning.
\newblock {\em Applied Artificial Intelligence}, 14:327.
\end{thebibliography}
I have problems when I try to go for a more complicated style file.
Thanks
Sorn
\begin{thebibliography}{0}
\providecommand{\natexlab}[1]{#1}
\providecommand{\url}[1]{\texttt{#1}}
\expandafter\ifx\csname urlstyle\endcsname\relax
\providecommand{\doi}[1]{doi: #1}\else
\providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi
\end{thebibliography}
And if I use the plain style
\bibliographystyle{plain}
it allworks OK producing a .bbl like this:
\begin{thebibliography}{1}
\bibitem{Conway2000}
Damian Conway.
\newblock {\em Object {O}riented {P}erl: {A} comprehensive guide to concepts
and programming techniques}.
\newblock Manning Publications Co., Connecticut, USA, 2000.
\bibitem{Huetal2000}
A.~Jennings J.~Hu, H. R.~Wu and X.~Wang.
\newblock Fast and robust equalization: A case study.
\newblock In {\em Proceedings of the World Multiconference on Systemics,
Cybernetics and Informatics, (SCI 2000), Florida, USA, 23-26 July 2000},
pages 398--403, FL, USA, 2000. International Institute of Informatics and
Systemics.
\bibitem{Meyer2000}
Bernd Meyer.
\newblock A constraint-based framework for diagrammatic reasoning.
\newblock {\em Applied Artificial Intelligence}, 14:327.
\end{thebibliography}
I have problems when I try to go for a more complicated style file.
Thanks
Sorn
Re: newbie: natbib style file in LaTeX
I have realised what I have done now. I forgot to load the package first before I use the style file contained in the package, i.e,
\usepackage{natbib}
Then
\bibliographystyle{plainnat} or the other two abbrvnat and unsrtnat
Gotta load the package first!
\usepackage{natbib}
Then
\bibliographystyle{plainnat} or the other two abbrvnat and unsrtnat
Gotta load the package first!