5

I am creating a poster and for some reason, this doesn't work:

\begin{figure}
   \centering
   \includegraphics[scale=0.6]{Fig/pic.pdf}\\
   \caption{BLAHBALH}
\end{figure}

It doesn't produce any error, it only doesn't show anything in the poster. However this works:

\begin{center}
   \includegraphics[scale=0.6]{Fig/pic.pdf}\\
\end{center}

Why?

2
  • 6
    figure is a floating environment and therefore no use on a poster. Why do you want to use a figure here? The second approach is just fine. If you need a caption, use the \captionof{figure}{<caption text>} command.
    – LaRiFaRi
    Aug 25, 2015 at 9:14
  • 1
    I realize this is ancient, but since it showed up on the front page: figure works fine in a beamer+beamerposter poster (at least it did in my test), is the tag accurate? If this was a recent question I'd ask for a complete example, but I guess the above comment was sufficient answer. Oct 19, 2019 at 14:50

1 Answer 1

1

Try the tikzfigure environment:

\begin{tikzfigure}[Insert Caption Here]
      \includegraphics[width=0.9\linewidth]{filename.png}
\end{tikzfigure}
2
  • 3
    Hi, welcome! While this would work in the tikzposter class, based on the tag the OP appears to have used the beamerposter package, where it would not work. (I'm not sure he actually used beamer + beamerposter though, as the normal figure environment works fine there, so it's a bit unclear to me what happened for him.) Oct 19, 2019 at 6:46
  • Yeah, your right, I forgot about that.
    – Nicolas
    Oct 20, 2019 at 8:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .