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!


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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