Skip to content

Instantly share code, notes, and snippets.

@dpwiz
Created November 12, 2012 14:23
Show Gist options
  • Save dpwiz/4059687 to your computer and use it in GitHub Desktop.
Save dpwiz/4059687 to your computer and use it in GitHub Desktop.
\documentclass{article}
\usepackage[utf8]{inputenc}
\title{42}
\author{Jane Doe}
\date{June 2011}
\usepackage{natbib}
\usepackage{graphicx}
\begin{document}
\maketitle
\section{Introduction}
There is a theory which states that if ever anyone discovers exactly what
the Universe is for and why it is here,
it will instantly disappear and be replaced by something even more bizarre
and inexplicable.
There is another theory which states that this has already happened
\begin{figure}[h!]
\centering
\includegraphics[scale=1.7]{universe.jpg}
\caption{The Universe}
\label{threadsVsSync}
\end{figure}
\section{Conclusion}
``I always thought something was fundamentally wrong with the universe'' \citep{adams1995hitchhiker}
\bibliographystyle{plain}
\bibliography{references}
\end{document}
@book{adams1995hitchhiker,
title={The Hitchhiker's Guide to the Galaxy},
author={Adams, D.},
isbn={9781417642595},
url={http://books.google.com/books?id=W-xMPgAACAAJ},
year={1995},
publisher={San Val}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment