5

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!

3
  • 3
    with natbib, something like citet or citep, with biblatex it would be \textcite.
    – Johannes_B
    Jul 10, 2016 at 15:09
  • If you load the natbib package, \cite should produce a textual citation call-out, provided the bibliography style is capable of doing so. For sure, plain cannot produce textual citations, but plainnat can. Please do tell us which bibliography style you use, and please indicate whether you use a citation management package such as cite or natbib.
    – Mico
    Jul 10, 2016 at 15:16
  • Welcome to TeX.SX! You don't have to sign with your name since it automatically appears in the lower right corner of your post. Jul 10, 2016 at 15:16

1 Answer 1

5

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.

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.