I wanted to add indents to format my ToC so I added the tocloft package I saw recommended on other threads. Now the indentation is perfect, but there is a dotted line in between each section in the actual body of the article. For example, it shows:
1.1 Method.
1.1 ………………………………..
Before it would have only shown that first line, not the second line with the second set of numbers and the dotted line. How do I get rid of that?
\documentclass[11pt]{amsart}
\usepackage{tocloft}
\begin{document}
\setcounter{tocdepth}{4}
\tableofcontents
\newpage
\section{Experiment 1}
\subsection{Method}
\subsubsection{Participants}
\subsubsection{Stimuli}
\subsubsection{Procedure}
\subsection{Results}
\end{document}
Best Answer
amsart
andtocloft
are not compatible. You can either use another document class or, if you want to continue usingamsart
, you'll need to redefine\l@section
,\l@subsection
, and\l@subsubsection
,\tocsection
,\tocsubsection
, and\tocsubsubsection
; something along these lines: