3

This question already has an answer here:

I'm trying to use the following code to insert three pictures horizontally - the code compiles perfectly, but the images are coming out as black boxes/rectangles. I've made sure that the images are in the same file as the .tex document - what am I doing wrong? I would really appreciate and help I can get.

\documentclass[english]{article}
\usepackage[demo]{graphicx}
\usepackage{babel,blindtext}

\begin{document}


\begin{figure}[!htb]
\minipage{0.32\textwidth}
  \includegraphics[width=\linewidth]{delete_gesture.png}
  \caption{A really Awesome Image}\label{fig:awesome_image1}
\endminipage\hfill
\minipage{0.32\textwidth}
  \includegraphics[width=\linewidth]{ok_gesture.png}
  \caption{A really Awesome Image}\label{fig:awesome_image2}
\endminipage\hfill
\minipage{0.32\textwidth}%
  \includegraphics[width=\linewidth]{settings_gesture.png}
  \caption{A really Awesome Image}\label{fig:awesome_image3}
\endminipage
\end{figure}


\end{document}

marked as duplicate by jub0bs, Svend Tveskæg, Jesse, Werner, ChrisS Feb 11 '14 at 4:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

5

Remove the demo package option in

\usepackage[demo]{graphicx}

From the graphicx documentation (section 4.1 Package Options):

demo

Instead of inserting an image file \includegraphics draws a 150 pt by 100 pt rectangle unless other dimensions are specified manually.

Not the answer you're looking for? Browse other questions tagged or ask your own question.