Wie setze ich den Aufzählungspunkt vor den Satz/Beweis/das Beispiel usw. in einer detaillierten Liste in Beamer-Folien?

Wie setze ich den Aufzählungspunkt vor den Satz/Beweis/das Beispiel usw. in einer detaillierten Liste in Beamer-Folien?

Ich verwende LaTeX unter Ubuntu 20.04. Bei mir hat alles funktioniert, dann habe ich etwas deinstalliert, wodurch ein Teil der LaTeX-Pakete deinstalliert wurde, und ich habe die LaTeX-Pakete neu installiert. Wenn ich jetzt in Beamer ein Beispiel (oder eine Definition oder einen Satz oder Beweis usw.) mache, steht der Aufzählungspunkt nach dem Beispiel und nicht davor in derselben Zeile.

Kann ich etwas tun, damit der Aufzählungspunkt vor dem Beispiel steht?

\documentclass{beamer}

\usepackage{amsmath,amsfonts,amssymb,amscd,enumerate,url,graphicx,wasysym}
\usepackage{movie15,MnSymbol}
\usepackage{mathrsfs}
\usepackage{diagrams}
\usepackage{beamerthemesplit}
\usepackage{accents}
\usepackage{kbordermatrix}
\usepackage{hyperref}

\beamertemplateshadingbackground{red!10}{blue!10}
\beamertemplateboldtitlepage \beamertemplatenavigationsymbolsempty
\beamertemplateboldcenterframetitle
\renewcommand{\raggedright}{\leftskip=0pt \rightskip=0pt plus 0cm }

\newenvironment{Def}{\begin{block}{Definition}}{\end{block}}
\newenvironment{Claim}{\begin{block}{Claim}}{\end{block}}
\newenvironment{Fact}{\begin{block}{Fact}}{\end{block}}
\newenvironment{Result}{\begin{block}{Result}}{\end{block}}
\newenvironment{Solution}{\begin{block}{Solution}}{\end{block}}

\renewenvironment{proof}{\begin{block}{Proof}}{\end{block}}

\renewcommand\qedsymbol{$\blacksquare$}

\newcommand{\none}[1]{}

\none{
\theoremstyle{definition}
%\newtheorem{Theorem}[theorem]{Theorem} 
\newtheorem{Thm}[theorem]{Theorem}
\newtheorem{Prop}[theorem]{Proposition}
\newtheorem{Proposition}[theorem]{Proposition}
\newtheorem{Cor}[theorem]{Corollary}
\newtheorem{Lem}[theorem]{Lemma}
\newtheorem{Conj}[theorem]{Conjecture}

\theoremstyle{definition}
\newtheorem{Def}[theorem]{Definition}
\newtheorem{Remark}[theorem]{Remark}
\newtheorem{Ex}[theorem]{Example}
\newtheorem{Claim}[theorem]{Claim}
\newtheorem{Fact}[theorem]{Fact}
}

\bibliographystyle{amsalpha}
\numberwithin{equation}{section}
\setcounter{section}{0}

\author{Dr. Jeffrey Rolland}
\institute{Math 001 - Intro to Counting \\
Department of Mathematics \\
My School}
\date{Fall, 2020}

\begin{document}

\title{Test Section}

\frame{\titlepage}

\frame
{

\frametitle{Test Frame} 

\begin{itemize}
    
    \item<+-> \begin{Example} This is an example; the bulletpoint appears after and a line below. \end{Example} 
    \item<+-> Here, the bulletpoint appears before and on the same line. I would like all bulletpoints like this one.
    
\end{itemize}
}

\end{document}

Beamer Rahmen

(Tut mir leid wegen all der Pakete, ich habe sie kopiert und eingefügt.) Gibt es eine Möglichkeit, die Aufzählungspunkte für Beispiele vor und in derselben Zeile wie das Beispiel erscheinen zu lassen?

Antwort1

Wenn man das Examplemit einem umgibt minipageund einige \vspaceBefehle zum Anpassen der Position und des Abstands hinzufügt, ergibt sich das folgende, minimalistischere Beispiel:

Bildbeschreibung hier eingeben

\documentclass{beamer}

\usepackage{amsmath}
\theoremstyle{definition}
\newtheorem{Ex}[theorem]{Example}

\begin{document}

\begin{frame}
\frametitle{Test Frame} 

\begin{itemize}
    \item \begin{minipage}[t]{\linewidth}
            \vspace*{-1\baselineskip}
            \begin{Example} 
              This is an example; the bulletpoint appears after and a line below. 
            \end{Example}
            \vspace{0.25\baselineskip}
          \end{minipage}
    \item Here, the bulletpoint appears before and on the same line. I would like all bulletpoints like this one.
    \item the next item
\end{itemize}
\end{frame}

\end{document}

verwandte Informationen