11

How can I do this style of citation in LaTeX (Shannon 1948)

what package I need?

I have used

\usepackage[authoryear]{natbib}
\bibliographystyle{plain}

and the output was [1] and I need to to be for example (Shannon 1948)

  • 2
    your code snippet shows that you are using bibtex and not biblatex. Create a complete example that we can see what you really did. – user2478 Nov 13 '13 at 10:19
  • 6
    The bibliography style should be plainnat. plain is not compatible with the natbib authoryear option. – Guido Nov 13 '13 at 11:20
  • A very powerful examples listing for natbib – loved.by.Jesus Nov 1 '18 at 20:40
19

I solve it

it should be

\usepackage[round]{natbib}
\bibliographystyle{plainnat}

and use \citep instead of \cite

  • 7
    For future readers, \citep will produce (Author et al., 2006) and \cite will produce Author et al. (2006). – Armand Maree Mar 23 '17 at 20:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.