Using embedded bibliography in LaTeX

For simple documents, full bibliography management may seem an overkill, especially in cases where the entries in the bibliography may never be used by other documents. In such cases a simple system of adding a section such as follows will do,

\begin{thebibliography}
...
\end{thebibliography}

An entry in this embedded system will look like as follows

A bibliography using the LaTeX embedded system
\begin{thebibliography}

\bibitem{lamport94}
  Leslie Lamport,
  \textit{\LaTeX: a document preparation system},
  Addison Wesley, Massachusetts,
  2nd edition,
  1994.

\end{thebibliography}

which can then be cited using the \cite{...} command in your latex document, with the citation key being the parameter to the \bibitem{...} command above. In this example, this would be \cite{lamport94}. This bibliography may then be verbatim added to your documents,

A bibliography using the LaTeX embedded system
\documentclass[11pt]{article}
\begin{document}

Citing entry from my bibliography \cite{lamport94}.

\begin{thebibliography}{10}

\bibitem{lamport94}
  Leslie Lamport,
  \textit{\LaTeX: a document preparation system},
  Addison Wesley, Massachusetts,
  2nd edition,
  1994.

\end{thebibliography}

\end{document}

You can click on in the above example and will see it open in Texpad and instantly compile to produce the PDF below,

typesetting/bibliographies/embedded-example.png