# Beamer Overlay for the "description" of the "item label"

   \documentclass{beamer}
\usetheme{Warsaw}
\usecolortheme{crane}
\setbeamercolor{frametitle}{bg=gray!10!white}
\usefonttheme{professionalfonts}
\usepackage{booktabs, textcomp}  % Tables
\usepackage{tabularx,caption}
\usepackage{tikz}      % Diagrams
\usetikzlibrary{calc, shapes, backgrounds}
\usepackage{amsmath, amssymb}
\usepackage{url}       % \urls
\usepackage{listings}  % Code listings
%----------------------------------------------------------------------
\usepackage{tikz}
\usetikzlibrary{trees}
\usepackage{graphics}
\title{Chronic diarrhea: a case based Approach}
\author{Dr }
\date {\today}
\institute{My Hospital }
\usepackage{tikz}
\usetikzlibrary{trees}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
%----------------------------------------------------------------------------------------------
\begin{frame}{Terminologies/ definitions}
\begin{description}
\item [Diarrhea]
\item [Acute diarrhea]
\item [persistent diarrhea]
\item [Chronic diarrhea]
\end{description}
\end{frame}
%---
\begin{frame} {Terminologies/ definitions}
\begin{description}
\item [Diarrhea] Increase in the fluidity / frequency of stool
\item [Acute diarrhea] $\leq$ 2 weeks
\item [Persistent diarrhea] 2 to 4 weeks
\item [Chronic diarrhea] $\geq$4 weeks
\end{description}
\end{frame}
\end{document}


Hi This is the mwe of beamer presentation I am preparing. I want the item label for the description to appear first and then in a next slide description should appear. I achieved it crudely by duplicating a slide. But there must be a better way. Kindly help

• Have you tried with the \only{} command ? Mar 14 '16 at 10:27
• Jerome@ Please elaborate Mar 14 '16 at 10:29
• try \item [Diarrhea] \only<2>{Increase in the fluidity / frequency of stool} Mar 14 '16 at 12:37
• Just try the example given by @samcarter Mar 14 '16 at 14:46
• So, what happened?
– cfr
Mar 22 '16 at 3:36

Like @samcarter said, you have to put your definitions as an argument of the only command.

\documentclass{beamer}
\usetheme{Warsaw}
\title{Chronic diarrhea: a case based Approach}
\author{Dr }
\date {\today}
\institute{My Hospital }
\begin{document}
\begin{frame}
\maketitle
\end{frame}
%----------------------------------------------------------------------------------------------
\begin{frame} {Terminologies/ definitions}
\begin{description}[Persistent diarrhea]
%% Persistent diarrhea is the longest item.
%% We add it as an option of the *description* environment
%%    to have all the items aligned on the right.
\item [Diarrhea] \only<2>{Increase in the fluidity / frequency of stool }
\item [Acute diarrhea] \only<2>{$\leq$ 2 weeks }
\item [Persistent diarrhea] \only<2>{2 to 4 weeks }
\item [Chronic diarrhea] \only<2>{$\geq$4 weeks }
\end{description}
\end{frame}
\end{document}


You can find documentation on the only command on wikibooks.

By the way, the given example in your original post was not an MWE because a lot of packages are charged and useless here.

• Suggestion: add [Persistent diarrhea] as option just after \begin{description}... Mar 22 '16 at 15:00
• Sure. If you want the items to be right aligned (which is more beautiful). I'll change my answer taking into account your suggestion. Thank's @PaulGaborit Mar 23 '16 at 7:02