Add image to LaTeX document template

This commit is contained in:
Talia 2019-11-26 07:33:45 +01:00
parent 43c7cf18df
commit 4c65bf15ce
No known key found for this signature in database
GPG key ID: AD727AD22802D0D6

View file

@ -1,11 +1,23 @@
\documentclass{article}
\usepackage{graphicx}
\usepackage{cite}
\title{Programming is fun!}
\author{DarkWiiPlayer}
\begin{document}
\maketitle
\begin{figure}[h]
\centering
\includegraphics{$HOME/image.png}
\caption{An image}
\label{fig:image1}
\end{figure}
Programming is fun! \cite{sicp}
\bibliographystyle{apalike}
\bibliography{$HOME/me/bibliotheca.bib}
\bibliographystyle{apalike}
\end{document}