I have the following but the image does not show up for some reason.

    \caption{The number of sentences from each category}

I am using following packages:

\usepackage[a4paper,total={6in, 9.5in}]{geometry}
\graphicspath{ {Figuras/} }

1 Answer 1


Turns out the problem was caused by multicol package. Did these to fix:


Then just replaced "figure" with "Figure":

    \captionof{figure}{The number of sentences from each category}


The better solution is to use twocolumn option instead of multicol package:

  • The problem is that a minipage with spaces is a poor substitute of a true float. For the usual two-columns only documents, the right fix is not multicol with a custom Figure environment and \captionof that need another package, but just twocolumn option in the first line. Reserve multicol and their drawbacks only for more complex layouts. BTW, if you want the images sizes fitting consistently in surrounding text, use some like width=0.8\linewidth instead of scale=0.5.
    – Fran
    Apr 25, 2021 at 23:59
  • Yes you are right. I ended up implementing that method, however, the one posted does the job as well. Apr 27, 2021 at 0:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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