# Inconsistent margins using columns in beamer

Compare the two slides generated by the following code.

\documentclass[t]{beamer}
\usepackage{lipsum}
\begin{document}
\begin{frame}
\lipsum
\end{frame}
\begin{frame}
\begin{columns}[T]
\begin{column}{0.5\textwidth}
\lipsum
\end{column}
\begin{column}{0.5\textwidth}
\lipsum
\end{column}
\end{columns}
\end{frame}
\end{document}


Notice how, in two-column mode, the side-margins are smaller, and the top margin is larger. This makes the layout on my slides inconsistent when I mix a two-column and one-column layout, particularly if I do so on the same slide.

How do I get LaTeX to stop messing with margins in two-column mode?

Thanks, -Willard.

P.S.: In case someone else has the same issue: In two-column mode, if I had an image in one column, then placing a theorem in the other column would move the image. I traced this issue to

\setbeamercolor{structure}{...}


which apparently does more than just colour things. To change colors, use

\usecolortheme[...]{structure}


-
Welcome to TeX.SX! You can have a look on our starter guide to familiarize yourself further with our format. –  Heiko Oberdiek Jun 18 '13 at 12:09

Try [onlytextwidth,t] instead of [T] (p. 125, beamer manual):

\documentclass[t]{beamer}
\usepackage{lipsum}
\begin{document}
\begin{frame}
\lipsum[6]
\end{frame}
\begin{frame}
\begin{columns}[onlytextwidth,t]
\begin{column}{0.49\linewidth}
\lipsum[6]
\end{column}
\begin{column}{0.49\linewidth}
\lipsum[6]
\end{column}
\end{columns}
\end{frame}
\end{document}

-
I'd forgotten about that one! –  Joseph Wright Aug 4 '14 at 10:48

I'm afraid this is 'status bydesign': looking over the code, the decision to have different margins is one that was made deliberately and not an accident/bug. As such, and because a change would affect many documents, it has to be viewed as a 'feature' of beamer. (There is no clue in the code as to why this decision was made!)

-