\documentclass{article}
\usepackage{graphicx}
\usepackage{url}
\begin{document}
\title{An example demonstrating the use of references and bibliography in
\LaTeX}
\author{Maciej Borkowski}
\maketitle
\begin{abstract}
Now we can see one of the most powerful \LaTeX advantages in action. References
and cross references. Basically all elements of the document that you would
like to refer to are given logical names, so called labels. When you refer to a
subsection of your document, figure, table or a bibliography you simply use the
label. \LaTeX{} will do numbering automatically and (at least in my case as so
far) always correctly. To make this template document easy to modify I will
place a few example references in the introduction section. The rest of the
document contains only the famous placeholder text known as "lorem ipsum".
\end{abstract}
\section{Introduction}\label{sec:Introduction}
As you can see referring to a Fig. \ref{fig:my_figure} is rather easy. You
don't have to think of any numbers, just use the label you gave yourself to the
figure, \LaTeX{} will take care of numbering by itself. The same logic apply to
refereing to section \ref{sec:My_second_section} or equation
(\ref{eq:simple_equation}).
Perhaps even more powerful is the way how \LaTeX{} handles bibliography. Not
only it is very easy to include references into documents, but even more,
\LaTeX{} forces you to become better organized. Simply, when you find an
important reference add it to your personal database. Your database will be a
text file called \verb|my_references.bib|, for example. You can keep this file
with your \LaTeX{} document, or preferably in a common place for all your
publications. More help on how to use this way of creating reference can be
found in \cite{Bibliography_howto}, chapter 15 ``Bibliographic Databases''.
And finally take a look a more ordinary looking scientific reference
\cite{Homer_2007}, or perhaps at the origin of the famous "lorem ipsum"
\cite{LoremIpsum_wiki}.
\subsection{Subsection Heading Here}\label{sec:My_second_section}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
\begin{figure}
\centering
\includegraphics{myfigure}
\caption{Simulation Results} \label{fig:my_figure}
\end{figure}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
\begin{equation}
\label{eq:simple_equation} \alpha = \sqrt{ \beta }
\end{equation}
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis
nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
\section{Conclusion}
As it has been proven above, and cannot be understated: lorem ipsum dolor sit
amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor
in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
officia deserunt mollit anim id est laborum.
\bibliographystyle{unsrt}
\bibliography{my_references}
\end{document}