0

I know how to do this globally, by including the:

\newtheoremstyle{dotless}{}{}{\itshape}{}{\bfseries}{}{ }{}
\theoremstyle{dotless}

commands. Is there any way to do this locally, for an individual environment?

2

You can define punctuation with a macro \punct which can be used to change of symbol coming after theorem head

\documentclass{article}
\usepackage{amsthm}
\usepackage{lipsum}

\def\punct{}

\newtheoremstyle{dotless}{3pt}{3pt}{\itshape}{}{\bfseries}{\punct}{.5em}{}
\theoremstyle{dotless}
\newtheorem{thm}{Theorem}


\begin{document}

\begin{thm}
\lipsum[2]
\end{thm}

\bigskip

\def\punct{.}

\begin{thm}
\lipsum[2]
\end{thm}

\bigskip

\def\punct{}

\begin{thm}
\lipsum[2]
\end{thm}

\end{document}

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.