Citations and bibliography
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version.
Citing your sources
- Academic writing must say where facts came from. LaTeX makes this tidy.
- You keep a list of sources, each with a key, and cite the key in your text.
The bibliography
- List your sources in a
thebibliographyenvironment, each as a\bibitem:
\begin{thebibliography}{9}
\bibitem{lamport} Leslie Lamport. \emph{LaTeX}. 1986.
\end{thebibliography}
- The
{9}just says "numbers are one digit wide".lamportis the key you choose.
Citing in the text
- Anywhere in the document, write
\cite{lamport}:
LaTeX is powerful~\cite{lamport}.
- LaTeX prints
[1]and keeps the numbers in order. Add a source and everything renumbers.
Cite the book in the sentence with \cite{lamport}, and add a matching \bibitem{lamport} entry inside the bibliography. The same key links the two.
Click Run to compile and preview the PDF.