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} \documentclass{article}
\usepackage{graphicx}
\usepackage{cite}
\title{Programming is fun!} \title{Programming is fun!}
\author{DarkWiiPlayer} \author{DarkWiiPlayer}
\begin{document} \begin{document}
\maketitle \maketitle
\begin{figure}[h]
\centering
\includegraphics{$HOME/image.png}
\caption{An image}
\label{fig:image1}
\end{figure}
Programming is fun! \cite{sicp} Programming is fun! \cite{sicp}
\bibliographystyle{apalike}
\bibliography{$HOME/me/bibliotheca.bib} \bibliography{$HOME/me/bibliotheca.bib}
\bibliographystyle{apalike}
\end{document} \end{document}