# achieve a theorem like construct without newtheorem

I am trying to achieve a theorem like representation in my beamer presentation as shown.

Currently I am defining a newtheorem env for each such construct in preamble, and then using that, as:

%in preamble
\newtheorem{trial}{A trial}

%in the body
\begin{frame}
\begin{trial}
Just a trial
\end{trial}
\end{frame}


Can I have a more generic way of achiving this? I mean, I don't want to define 50 \newtheorem in preamble, but still want to have this two coloured construct. Just using theorem will give me a Theorem:trial in the upper part.

• Have you looked in the manual at the block environment? – Loop Space Nov 28 '13 at 12:45
• Ah..no! But thats what I was looking for. Thanks a lot. – BaRud Nov 28 '13 at 12:51
• @AndrewStacey an answer? – cmhughes Nov 28 '13 at 15:07

I think you're looking for the block environment from beamer. It's documented in Section 12.3 of the manual (for version 3.31).

\documentclass{beamer}
%\url{http://tex.stackexchange.com/q/147398/86}