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.

  • 2
    The columns environment internally uses minipage. You can use minipages in any document class. – Gonzalo Medina May 7 '13 at 15:19
  • Thanks. If you make your comment an answer, I'll pick it. – jlconlin May 7 '13 at 17:13
  • This looks like a duplicate of tex.stackexchange.com/q/46115/15925 If you agree, let us know and we will close this question as such. – Andrew Swann May 7 '13 at 17:45
  • 1
    I guess the question is the same, but the answer given doesn't give the answer I was looking for. The answer in the proposed duplicate is for columns that flow from one to the next. That's not what I'm looking for and that isn't what the beamer columns environment does. – jlconlin May 7 '13 at 17:58
  • @Jeremy I added an answer with a simple example. – Gonzalo Medina May 8 '13 at 0:25

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:








enter image description here

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

  • Thanks @GonzaloMedina It worked great for me with code listings too – brice Oct 6 '14 at 19:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.