[Tex/LaTex] Beamer columns environment in article document

beamertwo-column

I'd like to use something like beamer's \columns environment in an article-like document. Does anyone know if this is possible and how to do it?

I found this: (beamer blocks in ordinary article-style document) which shows how to use beamer's block environments in an article-like document, but it didn't show how to use the columns.

Best Answer

The columns environment internally uses minipage, so you can simply use minipages in your document; a simple example (I added some frames just as visual guidelines). The \Colsep length can be used to control the separation between the minipages:

\documentclass{article}
\usepackage{lipsum}

\newlength\Colsep
\setlength\Colsep{10pt}

\begin{document}

\lipsum[4]

\noindent\begin{minipage}{\textwidth}
\begin{minipage}[c][6cm][c]{\dimexpr0.5\textwidth-0.5\Colsep\relax}
\lipsum[4]
\end{minipage}\hfill
\begin{minipage}[c][6cm][c]{\dimexpr0.5\textwidth-0.5\Colsep\relax}
\lipsum[4]
\end{minipage}%
\end{minipage}

\lipsum[4]

\end{document}

enter image description here

I used a fixed height (6cm) for the inner minipages and center alignment but this, of course, is optional.