LaTeX forum ⇒ Graphics, Figures & TablesGraphic & Text aligned in one Beamer frame

Information and discussion about graphics, figures & tables in LaTeX documents.
Gnosos
Posts: 23
Joined: Wed Jun 29, 2011 10:52 pm

Graphic & Text aligned in one Beamer frame

Postby Gnosos » Wed Apr 07, 2021 7:12 am

I'm trying to display a graphic (pdf file prepared with tikz) along side of an itemized list of points I want to make about the graphic. But no matter what I try, the list keeps appearing above the graphic, and the graphic is being pushed down so it's only partly visible on the slide.

Here's what I've been trying:
  • Insert > Float > Figure
    Then inside the float:
  • Insert > Graphics... > get pdf file, scale the graphic to 40%
  • Then, working with the float itself, make sure Float Type is Figure and select from its settings what seems to make sense: Placement = left, Allow floating is checked, Width = 40%


Your help would be most appreciated.

User avatar
Stefan Kottwitz
Site Admin
Posts: 9678
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Apr 07, 2021 8:35 am

Hi,

you don't need to use a floating figure environment, that isn't really useful on beamer slides. You could use \includegraphics directly. You could use a column(s) environment for placing images and text or a list side by side.

Here is an example:

\documentclass{beamer}
\usepackage{graphicx}
\usepackage{adjustbox}
\begin{document}
\begin{frame}{Example}
  \begin{columns}[t]
    \begin{column}{.5\textwidth}
      \adjincludegraphics[width=.8\linewidth, valign=t]{example-image}
    \end{column}
    \begin{column}{.5\textwidth}
      \begin{itemize}
        \item Point one
        \item Point two
        \item Point three
      \end{itemize}
    \end{column}
  \end{columns}
\end{frame}
\end{document}


beamer-graphics.PNG
beamer-graphics.PNG (43.36 KiB) Viewed 72 times


Stefan
LaTeX.org admin


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 5 guests