LaTeX forum ⇒ LyXCitation with multiple authors

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
sid
Posts: 2
Joined: Fri Nov 19, 2010 6:47 am

Citation with multiple authors

Postby sid » Thu Jan 31, 2013 8:07 am

Hello,

I have two citations: The first is AuthorA,Author B "XXX" 2012 and the second is AuthorA,AuthorC "YYYY" 2012.

Now when I cite the first paper it shows up as (AuthorA and AuhorB, 2012a) and the second paper shows up as (AuthorA and AuhorC, 2012b) . I don't want the "a" to show up because it is not the same set of authors for the two articles. I am using natbib and elsarticle-harv. Can somebody please help me fix this?

Thanks,

Tags:

kaiserkarl13
Posts: 648
Joined: Tue Mar 25, 2008 5:02 pm

Postby kaiserkarl13 » Sun Feb 24, 2013 7:57 am

This works for me. Here's what I did:
  1. @article{Smith2012a,
  2. author = "Smith, John A. and Doe, Jane R.",
  3. title = "Blah",
  4. journal = "Stuff",
  5. volume = 13,
  6. pages = "14--16",
  7. year = 2012
  8. }
  9.  
  10. @article{Smith2012b,
  11. author = "Smith, John A. and Jones, David R.",
  12. title = "Blah",
  13. journal = "Stuff",
  14. volume = 13,
  15. pages = "24--36",
  16. year = 2012
  17. }

And here's the LaTeX file:
  1. \documentclass{article}
  2. \usepackage{natbib}
  3. \begin{document}
  4. Here is text~\citep{Smith2012a}, and here is another
  5. citation~\citep{Smith2012b}.
  6. \bibliographystyle{elsarticle-harv}
  7. \bibliography{sid}
  8. \end{document}


By the way, you'll save me and anyone else who might reply to your posts a lot of time by providing a Infominimal working example such as the one above---that way we can see what you've done without making something up, and if we do need to try it out, all we need to do is copy it and put it into our editor.


Return to “LyX”

Who is online

Users browsing this forum: No registered users and 2 guests