O'Reilly logo

LaTeX Beginners Guide by Stefan Kottwitz

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – citing texts and listing the references

Using LaTeX's standard features, we shall create a small list of references containing a book and an article by Donald E. Knuth, the creator of TeX. In our body text, we will refer to both:

  1. Create a new document as follows:
    \documentclass{article}
    \begin{document}
    \section*{Recommended texts}
    To study \TeX\ in depth, see \cite{DK86}. For writing math texts, see \cite{DK89}.
    \begin{thebibliography}{8}
    \bibitem{DK86} D.E. Knuth, \emph{The {\TeX}book}, 1986
    \bibitem{DK89} D.E. Knuth, \emph{Typesetting Concrete Mathematics}, 1989
    \end{thebibliography}
    \end{document}
  2. Typeset and view the output:

What just happened?

We used an environment called thebibliography to typeset the list of references, which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required