0

I would like to use \begin{theorem} \end{theorem} in an itemized list in beamer. Unfortunately, this messes up the indentation of the itemization, and pushes the item sign to the far left of the page - it seems that Theorem has a fixed position, and the item sign gets on the left of it. In other words, the theorem environment seems to define the layout instead of the itemization. Is there any way to change it?

I would also like to change the colour of how Theorem appears.

  • 1
    Welcome to tex.se! To help the helpful people here help you, it would be useful if you could add a short, complete document showing the problem (a so-called Minimal Working Example, or MWE) to your question. – Harald Hanche-Olsen Jan 6 at 14:52
1

As a workaround you can wrap the theorem in a minipage of whatever width you'd like:

\documentclass{beamer}

\usetheme{Berlin}

\begin{document}

\begin{frame}
\begin{itemize}
\item test
\item 
    \begin{minipage}[t]{\linewidth}
        \vspace*{-1.2\baselineskip}
        \begin{theorem}
            test
        \end{theorem}
    \end{minipage}
\item test 
\end{itemize}
\end{frame} 

\end{document}

enter image description here

  • Simple but efficient! :-) Thanks. – user60121 Jan 6 at 17:58
  • @user60121 You're welcome! – user36296 Jan 6 at 19:03

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.