[Tex/LaTex] how to un-indent theorems

indentation

I'm about to deposit my thesis. The grad school administrators set out formatting requirements and someone from years past wrote some tex files (a document class?) that I'm using to make sure my thesis complies with the formatting requirements. The only problem is that whatever this person wrote indents every theorem, definition, lemma etc. So that no matter what I do (actually \noindent is the only thing I know to try), every new theorem looks like this:

enter image description here

obtained from

\documentclass{brandiss}
\newtheorem*{main}{Theorem}
\newtheorem{thm}{Theorem}[section]
\begin{document}
\noindent Here's a non-indented line of text.
\begin{thm}
Here's a Theorem
\end{thm}
\end{document}

which looks really dumb. Especially when I state a theorem right after the first sentence of a new paragraph. Maybe this is impossible to answer without seeing the code for the document class (Actually its right here: http://www.brandeis.edu/departments/mathematics/graduate/current/brandiss.html )

but I was wondering if anyone knows how to fix this. I recall a few weeks ago I was able to do something that unindented everything, but if I did that I'd have to manually indent every paragraph and its a pretty long document.

Best Answer

You can try this (from this other question):

\documentclass{amsbook}

%%% added in the preamble 
\usepackage{etoolbox}
\makeatletter
\patchcmd\@thm
  {\let\thm@indent\indent}{\let\thm@indent\noindent}%
  {}{}
\makeatother
%%% end added code 

\newtheorem*{main}{Theorem}
\newtheorem{thm}{Theorem}[section]
\begin{document}
\noindent Here's a non-indented line of text.
\begin{thm}
Here's a Theorem
\end{thm}
\end{document}

I checked with amsbook but should work for your document class.

enter image description here

Related Question