Add image to LaTeX document template
This commit is contained in:
parent
43c7cf18df
commit
4c65bf15ce
1 changed files with 13 additions and 1 deletions
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue