6

I'm searching for the code for that kind of citation:

According to Smith [2009], the amount of.....

I am familiar with the normal use of \cite, but can't figure out how to use it within a sentence! I'm using plain as bibiliography style and no citation management package.

I didn't find anything within stackexchange. If my question already exists, I would be grateful to get the hint!

1 Answers1

7

enter image description here An example with the natbib package.

Make a file called "biblio.bib" such as:

@book{Renardy,
    Author = {M. Renardy and R. C. Rogers},
    Edition = {Second},
    Publisher = {Springer},
    Title = {An Introduction to Partial Differential Equations},
    Year = {2004}}

And your tex file:

\documentclass{article}
\usepackage{natbib}

\begin{document}

According to \citet{Renardy}, the amount of...

\bibliographystyle{plainnat}
\bibliography{biblio.bib}

\end{document}

The .bib file is especially easy to make with a program such as BibDesk. The bibliographystyle (now plainnat) can be changed. Note that you need to typeset your file multiple times. Also the BibTex. In TexShop, under macros > Applescript there is a script called "Bibliography" that does the necessary typesets for you. Also see: https://en.wikibooks.org/wiki/LaTeX/Bibliography_Management.