Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How to do right align a description list using beamer?

      Name | Joel Spolsky
   Address | Some address    

Using the enumitem package as suggested in Description list with right alignment of labels does not seem to work with the beamer package

share|improve this question

1 Answer

up vote 4 down vote accepted

With beamer package, the description environment can use an optional argument: a text to fix the maximum width of terms (cf. p. 113 of beamer guide v3.26).

Example:

\documentclass{beamer}
\setbeamercolor{normal text}{bg=cyan!10}
\begin{document}
\begin{frame}
  \begin{description}[Other description]
  \item[Name] Joel Spolsky
  \item[Address] Some address  
  \item[Other description] Some description
  \end{description}
\end{frame}
\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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