GeneralNatbib - different author, same last name.

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
LauraLee
Posts: 1
Joined: Tue Sep 02, 2008 3:56 pm

Natbib - different author, same last name.

Post by LauraLee »

Hi,

I was wondering if anyone might be able to help me with a small natbib problem:

My bibtex file includes two references by different authors who share a surname. In the reference section at the end of my LaTeX document these are differentiated by their initials - this I'm happy with. My little problem is with the layout of the names in the main document, one appears as (H. D. Ellis & Young, 1998) and the other as (A. W. Ellis, Young, & Flude, 1990). I would like to suppress the initials in the main document (but not in the reference section). Does anyone have any idea about how to do this?

Thank you,
Laura :)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Natbib - different author, same last name.

Post by gmedina »

Hi Laura,

the following simple example behaves as you expect:

Code: Select all

\begin{filecontents}{bibliotest.bib}
@article{Ellis1998,
  author = "Ellis, H. D. and Young",
  title = "The title",
  journal = "The journal",
  year = "1998"
}
@article{Ellis2002,
  author = "Ellis, A. W. and Young and Flude",
  title = "Another title",
  journal = "Another journal",
  year = "2002"
}
\end{filecontents}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage{natbib}

\begin{document}

\citet*{Ellis1998}

\citet*{Ellis2002}

\citep*{Ellis1998}

\citep*{Ellis2002}

\bibliographystyle{plainnat}
\bibliography{bibliotest}

\end{document}
so we will need some actual code (along the lines of the example above) to provide effective help.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply