# Two images to fill one beamer frame: most appropriate method?

Suppose I have two images: one a solid blue square and another a yellow. What is the most appropriate way to divide and fill an entire beamer frame with these images? Horizontally (i.e., left half blue right half yellow)? Vertically? (i.e., top half blue bottom half yellow)

This post provides a method, but it involves low-level operations. Another post (can't find the link now) suggests using TikZ.

Is there a third that doesn't involve low-level operations or complicated external packages? I'm confused. I'd think this task wouldn't be all that difficult.

Replay

You can use the standard \includegraphics command setting the proper values for the width and height in terms of \paperwidth and \paperheight; a box (in this case \makebox) will prevent an overfull box; using plain for the frames will remove the headline, footline:

\documentclass{beamer}
\usepackage{graphicx}

\begin{document}

\begin{frame}[plain]
\makebox[\linewidth]{%
\includegraphics[width=0.5\paperwidth,height=\paperheight]{cat1}%
\includegraphics[width=0.5\paperwidth,height=\paperheight]{cat2}}
\end{frame}

\begin{frame}[plain]
\makebox[\linewidth]{%
\includegraphics[width=\paperwidth,height=0.5\paperheight]{cat1}}\\\nointerlineskip
\makebox[\linewidth]{%
\includegraphics[width=\paperwidth,height=0.5\paperheight]{cat2}
}
\end{frame}

\end{document}



Here is a very simple solution via columns.

\documentclass{beamer}
\usepackage{lmodern}
\begin{document}
\begin{frame}[plain]
\begin{columns}
\column{.5\paperwidth}
\textcolor{blue}{\rule{.5\paperwidth}{\paperheight}}
\column{.5\paperwidth}
\textcolor{yellow}{\rule{.5\paperwidth}{\paperheight}}
\end{columns}
\end{frame}
\begin{frame}[plain]
\begin{columns}
\column{\paperwidth}
\textcolor{blue}{\rule{\paperwidth}{.5\paperheight}}\\\nointerlineskip
\textcolor{yellow}{\rule{\paperwidth}{.5\paperheight}}
\end{columns}
\end{frame}
\end{document}


Category: beamer Time: 2011-11-07 Views: 1

## Related post

• How to arrange the text and image in one beamer frame? 2015-01-01

I want to arrange my text and images as the following in one frame in the beamer. Is it possible to place more images under the text, such as three images or even more? --------------Solutions------------- This is not the easiest way, but this adapts

• How to merge two images, so that one will take the shape of the other? 2012-10-26

Got two images, one of an old sheet of paper with jagged edges. The other is a photo of beach. How can I merge them together, so that the beach image will take the shape of the other picture, i.e. with jagged edges? I got indesign cs5.5, illustrator

• Having two images in the one site content type 2013-04-19

Working on Sharepoint Online (2010 still not upgraded to 2013). I have created site content types with One image in them but need to be able to create a Site Content Type with the following columns: Image Small (200px, 200px) Image Big (700px, 400px)

• What is it called when two images from different locations are blended seamlessly into one? 2015-02-08

I have compiled two images to become one. The one image is from Nova Scotia and the other in Utah. I placed the Utah image on top of the top half of the image from Nova Scotia and it looks like it's all one image. Is there a technical name for this t

• put two images on the same slide 2012-12-01

sorry to bother you but I'm quite new in Latex. I would like to put two images in a presentation, better in one slide in this way: image1 image2 the two images will go one under the other and while I discuss the first image I would like the second to

• How to vertically center two images next to each other? 2010-12-16

How can I vertically center two images next to one another? Here is some example code: \begin{minipage}[h]{6in} \centering \vspace*{.3in}~\\ \includegraphics[height=1.25in]{fig1.pdf} \hspace*{.2in} \includegraphics[height=1in]{fig2.pdf} \end{minipage

• Subtract two images to leave result - PHP 2016-02-04

I have two images (both maps) one is a plain map and one is a map that had pins on it. Image one Image Two I'm trying to subtract them from each other so I'm left with just the pins as a transparent png. I've had some success with this and have manag

• Beamer frame with text and two images 2014-11-25

I am trying to build a beamer frame where I have an itemize on the left and two images on top of each other on the right. I just don't know how to put the second image on the right, so it won't be laying over the first image. This is my code so far:

• "Grid" of background images in Beamer frame 2013-03-17

I am trying to get a 2x2 grid of background images in a Beamer frame. I'd like the images to touch on all side (i.e., no whitespace around images). I am able to get a tabular environment inside \usebackgroundtemplate{}, but I have to play with negati

• place two images next to each other on the latex beamer 2016-01-10

I am trying to show two screen shots of an App in my presentation next to each other but I am getting them one below the other. How can I get them next to each other? Latex code: \documentclass[xcolor=dvipsnames]{beamer} \usepackage[utf8]{inputenc} \

• Three and four images with captions in a Beamer framer 2016-02-08

I have often used two columns and two images side by side in Beamer frame. But I could not get three one large and second column contains two small images or four images with captions in a single Beamer frame. Can someone help.

• Make two beamer blocks the same height / make one beamer block the same height as another 2011-03-25

This question was originally a duplicate of How can I add vertical space to a beamercolorbox to make it align with another one?. The response to that question was to add a vertical space according to the largest column, as Seamus explains in the comm

• How can I overlay two images exactly by scaling one of them in gimp? 2012-01-20

I have two different pictures of the same object, one of which is taken from roughy the same angle but has a different scale and rotation. I want both images to overlap so that the upper one matches the lower one as exactly as possible. Is there any

• How to combine two images into one on a Mac? 2012-06-04

Say I have two photos (or any images), for example with the following dimensions: +----------+ +----------+ | | | | | | | | |320 x 428 | and |320 x 428 | | | | | | | | | +----------+ +----------+ I want to combine them into a single image, side by si

• How to include a background image to only one page of a beamer presentation? 2014-09-13

How to include a background image to only one page, any page, of a beamer presentation? With reference to Beamer: Transparent AND centered background image on intro slide How can I include the background to only one page of the beamer presentation? -

• How to insert a background image in a beamer frame? 2010-12-29

Apologies in advance if my question is very basic. I am still learning my beamer skills, so please bear with me. I want to insert a background image in a beamer frame and use this "frame" as a beamer frame. I want to insert different background

• Add four images on a beamer frame 2012-10-01

What is the best way to add four images on a beamer frame? I am using \documentclass[slidestop,compress,11pt,xcolor=dvipsnames]{beamer} \usefonttheme[onlymath]{serif} \definecolor{LHCblue}{RGB}{4, 114, 255} \usecolortheme[named=LHCblue]{structure} \u

• Find optimal figure size to fit two images on one page 2012-10-10

I often encounter a situation where I would like to fit two or three figures on one page. I define my figures as follows: \begin{figure}[htpb] \centering \includegraphics[width=0.xx\linewidth]{images/filename.png} \caption{Caption} \label{fig:tag} \e

• One figure having two columns of subfigures: the left column has one image and the right one has two images 2012-12-22

I am trying to create a subfigure in LaTeX similar to this image: I want to have a figure which has two columns. The left column contains one image and the right columns has two images. In fact, the right column is divided into two rows and the sum o