# Two images aligned to the center of the page

I need to add two logos on the first slide. The problem is that these logos have very different dimensions. So I have decided to align to the centre of the page.

The slide should look like this:

|                                |
|                                |
|         TITLE AND STUFF        |
|             AUTHORS            |
|                                |
|      | logo 1 ||  logo 2      ||
|      |        ||              ||
|      |        |                |
|      |        |                |
|                                |


How can I achieve this layout in beamer?

-

Here's a beamer solution for \maketitle. It puts both logos into \titlegraphic, aligned at the middle. I used an asterisk for the date to verify the center adjustment.

\documentclass[demo]{beamer}
\usetheme{Copenhagen}
\title{Presentation Title}
\author{Author}
\date{*}
\titlegraphic{%
\mbox{}%
\begin{document}
\maketitle
\end{document}


• \llap and \rlap hide the real width of the images.

• \raisebox{-\height}{...} shifts their baseline to the top for top alignment.

-

Here's how I would do it. First go inside a center environment then place the left graphic in a zero width box "facing" left and the right graphic in a zero width box facing right. E.g.,

\documentclass{article}
\usepackage{lipsum}
\begin{document}
\lipsum[11]

\begin{center}
\makebox[0pt][r]{%
\fbox{\rule{10em}{20em}}% = first graphic
}%
\qquad % space in the middle
\makebox[0pt][l]{%
\fbox{\rule{20em}{10em}}% = second graphic
}%
\end{center}

\lipsum[14]
\end{document}


(Note this isn't specific to beamer but will work equally well there.)

-