Where can I find the definition of the description environment available in beamer? I'd like to replicate it for my own needs in an article-oriented document. I'm interested in its right-left alignment features:

right-left alignment features

  • BTW there is beamerarticle. Jul 16, 2011 at 15:02
  • $ latexdef -F -c beamer description tells me: \description first defined in "/usr/local/texlive/2010/texmf-dist/tex/latex/beamer/beamerbaselocalstructure.sty". Jul 16, 2011 at 15:03
  • What about it do you want to replicate? You might be able to do enough with just enumitem or similar, rather than drawing out all the beamer code you'd need to use beamer's version...
    – Seamus
    Jul 16, 2011 at 15:04
  • I'm interested in the alignment features of the beamer description environment.
    – pluton
    Jul 16, 2011 at 15:11

2 Answers 2


I recommend using the enumitem package which allows customizing list environments such as description. If you would edit your question specifying what's exactly desired, you could get an example.

The mdwlist package is an alternative focussing on description lists.

Here's a solution without these packages for right aligned description labels:

\setwidestlabel{Second Item}
\item[First Item] Description of first item
\item[Second Item] Description of second item
\item[Third Item] Description of third item
\item[Fourth Item] Description of fourth item

enter image description here

  • Sometimes it really sucks that TeX is inherently one-pass so you can't automatically determine the widest label. That is, without doing some really ugly stuff involving yet another auxiliary file. Nice solution though. Probably for descriptions longer than one line a somewhat more complicated solution ought to be invoked, however, to indent following lines correctly.
    – Christian
    Jun 11, 2012 at 18:02
  • 1
    @Christian: It is relative simple to run two pass algorithms in TeX without the need for an auxiliary file. In fact, environments like align and tablularx do that. The fact that the item environment does not do so is a design decision and not an inherent limitation of TeX. For a counter example, see my solution.
    – Aditya
    Sep 7, 2013 at 14:56

This answer is just to illustrate that it is possible to automatically calculate the width of the widest label. In ConTeXt this is done by passing fit,broad parameter to \setupitemize. For example:




Some text before the list
  \sym{First Item} Description of first item
  \sym{Second Item} Description of second item
  \sym{Third Item} Description of third item
  \sym{Fourth Item} Description of fourth item
  \sym{Fifth Item} This is to show that the indentation 
      of the subsequent lines is done correctly. 
Some text after the list


which gives

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .