I'm trying to use the titlesec package, but somehow section names in the \tableofcontents become overlapped with the TOC numbers and subsection names become improperly indented. Here's an example, where I use the standard classes seen here (3.2, p.27) as an example.
\documentclass{amsart}
\usepackage{titlesec}
\titleformat{\section}{\normalfont\Large\bfseries}{\thesection}{1em}{}
\titleformat{\subsection}{\normalfont\large\bfseries}{\thesubsection}{1em}{}
\begin{document}
\tableofcontents
\section{Section Title}
\subsection{Subsection Title}
\end{document}


titlesecis not compatible with the AMS classes. Just use thearticleclass. – egreg Sep 10 '12 at 20:58