How do I remove the space inserted prior to the theorem name? That is, the space to the left of the bracket. I want the bracket to align to the left.
For some reason I'm not able to understand the \newtheoremstyle
command.
\documentclass{beamer}
\usepackage[english]{babel}
\theoremstyle{definition}
\newtheorem{mydef}{}[theorem]
\begin{document}
\begin{frame}
\noindent Here is a sentence with correct alignment
\begin{mydef}[This name is prefixed by a single space]
This is a definition
\end{mydef}
\noindent Here
\end{frame}
\end{document}
\newtheorem{mydef}{Def.}[theorem]
which leads toDef. (This name...)
. Leaving outDef.
leaves the space.