if I use:
\includegraphics{Graph}
the image will show up, but not if I use
\begin{figure}
\includegraphics{Graph}
\end{figure}
Any idea why? Missing package? I need it because in the figure I will add the caption and label...
Thanks
Minimal example:
\documentclass[twoside]{article}
\usepackage[utf8]{inputenc} % Use 8-bit encoding that has 256 glyphs
\usepackage[hmarginratio=1:1,top=32mm,columnsep=20pt]{geometry} % Document margins
\usepackage{multicol} % Used for the two-column layout of the document
\usepackage{graphicx}
\begin{document}
\begin{multicols}{2} % Two-column layout throughout the main article text
I add the figure.
\begin{figure}
\includegraphics{Graph}
\end{figure}
% \includegraphics{Graph} % with this would work
\end{multicols}
\end{document}
Solution:
Don't use begin and and figure.
Use direct \includegraphics{Graph} and on a new line \captionof{figure}{the caption}\label{textorefer}
Thanks all for the help!!
figureisn't just pushed to the end of the document, or some other location? – Torbjørn T. Jul 22 '15 at 09:21\begin{multicols}...\end{multicols}wrapping around thefigureenvironment? If yes, you're lost, sincemulticolsdisables the figure – Jul 22 '15 at 09:25\documentclass{...}and ending with\end{document}. – Jul 22 '15 at 09:26.logfile. – Torbjørn T. Jul 22 '15 at 09:40