0

I would like to cite authors just "usually", like [Author, Year].

For example: alea iacta est. [Caesar, 2013]

What I get is: alea iacta est. [Cae13]

Although I am using a .bib file with the following information:

@TECHREPORT{caesar2013,
   AUTHOR="G. I. Caesar",
   TITLE="Title",
   INSTITUTION="RomeDome",
   TYPE="misc",
   MONTH=jan,
   YEAR=2013
}  

However, the information is correct in the bibliography. Is there any way to change that? There shouldn't be a problem with my compiler or properties, because I am using the online editor and compiler writelatex.com. Is there any \usepackage tag or another option to fix this issue?

3
  • 1
    Can you show a minimal example? I believe you're using the abbrv BibTeX style, while you should be using the natbib package and the plainnat BibTeX style.
    – egreg
    Dec 29, 2013 at 14:10
  • I am sorry, I completely forgot to attach the screenshot I made. Here it is: abload.de/img/citesasbk.png Dec 29, 2013 at 14:33
  • You Sir, are a genius. I am using \bibliographystyle{plainnat} now and it almost works. It looks like [Dijck(2013)] now, but it should be like: [Dijck, 2013]. Any more hints for that? Thank you a lot in advance! EDIT: The \bibliographystyle{apalike} did it! Dec 29, 2013 at 15:32

1 Answer 1

3

Remarks

Looks like you're searching for either the apalike or plainnat style provided by natbib.

apalike

\documentclass{article}
\pagestyle{empty}% for cropping
\usepackage[square]{natbib}
\usepackage{filecontents}
\begin{filecontents}{test.bib}
@TECHREPORT{caesar2013,
  AUTHOR="G. I. Caesar",
  TITLE="Title",
  INSTITUTION="RomeDome",
  TYPE="misc",
  MONTH=jan,
  YEAR=2013
}
\end{filecontents}
\begin{document}
\citep{caesar2013}
\bibliographystyle{apalike}
\bibliography{test}
\end{document}

plainnat

\documentclass{article}
\pagestyle{empty}% for cropping
\usepackage[square]{natbib}
\usepackage{filecontents}
\begin{filecontents}{test.bib}
@TECHREPORT{caesar2013,
  AUTHOR="G. I. Caesar",
  TITLE="Title",
  INSTITUTION="RomeDome",
  TYPE="misc",
  MONTH=jan,
  YEAR=2013
}
\end{filecontents}
\begin{document}
\citep{caesar2013}
\bibliographystyle{plainnat}
\bibliography{test}
\end{document}

Output

In this case the output is the same for both styles.

enter image description here

1
  • Thank you a lot, \bibliographystyle{apalike} did it! (while plainnat does make a difference for me, because I'd get [Caesar(2013)] with that. Dec 29, 2013 at 15:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .