if I use:


the image will show up, but not if I use


Any idea why? Missing package? I need it because in the figure I will add the caption and label...


Minimal example:

\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
\begin{multicols}{2} % Two-column layout throughout the main article text
 I add the figure.
% \includegraphics{Graph} % with this would work


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!!

  • 2
    Welcome to TeX.SX! This seems strange, do you get any warnings? Sure the floating figure isn't just pushed to the end of the document, or some other location? – Torbjørn T. Jul 22 '15 at 9:21
  • I wrote includegrapichx in the title but in my code is not wrong: Includegraphics – Simone D'Archino Jul 22 '15 at 9:22
  • 1
    Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Jul 22 '15 at 9:26
  • 1
    Start with a copy of your original document. Then remove bits of the content of the document, all the while making sure that the problem persists. If the problem disappears, undo the last change. Keep doing that until you've removed as much as possible. Do the same for the preamble, removing all packages, definitions etc. that do not influence the problem. In the mean time, you could edit the question to include the contents of the .log file. – Torbjørn T. Jul 22 '15 at 9:40
  • 1
    Very clear, and @ChristianHupfer already guessed the answer in a previous comment. See also Image not showing up when using figure environment – Torbjørn T. Jul 22 '15 at 10:03

Browse other questions tagged or ask your own question.