I would like to have the "Exercise xx." (with a dot) in italic bold red in the same font size and the exercises text that would follow in the same line.

Exercise 1. Solve x+1=2.
Exercise 2. Solve x-1=3.

Now I have:

\begin{frame}{Frame title}
\begin{exe} Here is the exercise.

But this isn't what I want. Please help!


1 Answer 1


Based on https://tex.stackexchange.com/a/329929/36296


\setbeamertemplate{theorem begin}{%
%  \begin{\inserttheoremblockenv}% removed
    \ifx\inserttheoremaddition\@empty\else\ (\inserttheoremaddition)\fi%
    \space% new

\setbeamertemplate{theorem end}{}

    \begin{frame}{A theorem in a box}
            \begin{exe} Here is the exercise.

enter image description here

You must log in to answer this question.

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