How do I change the background color of a column in Beamer? (the entire column)
(This is a simple question, but for the life of me, I cannot not find an answer.)
Example:
\documentclass[t]{beamer}
\setbeamersize{text margin left=1em, text margin right=1em}
\begin{document}
\begin{frame}{Test}
\begin{columns}[t,onlytextwidth]
\begin{column}{0.5\textwidth}
Some text.
\end{column}
\begin{column}{0.5\textwidth}
Some question.
\[1+1=2\]
\end{column}
\end{columns}
\end{frame}
\end{document}
What I would like:
Best Answer
Two options.
Since
minipage
lets you control its height, instead ofcolumns
I'd rather use two side-by-sideminipage
s, enclosing one of them in a\colorbox
:The code:
Using a
tabular
and\columncolor
; an invidible\rule
of appropriate depth allows you to vertically extend the colorized colum: