i want a numbered paragraph, i.e. 1.1.1.1. paragraph title
using amsbook. the hitherto structure is
\part
\chapter
\section
\subsection
\subsubsection
at this place i want a further subsection by continued numbering. I
already saw, that this can be achieved by using
\renewcommand\paragraph{%
\@startsection{paragraph}% section name
{4}% section level
{\z@}% indentation
{-3.25ex\@plus -1ex \@minus -.2ex}% before skip
{1.5ex \@plus .2ex}% afterskip
{\bfseries}}% font
Where exactly do I have to insert these lines? The definition part
before the \begin{document} command won´t work.
Thanks a lot,
Martin
Now the problem: I get the error: You can´t use '\spacefactor' in
vertical mode
> Now the problem: I get the error: You can´t use '\spacefactor' in
> vertical mode
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=atvert
--
Ulrike Fischer
actually these two lines shouldn´t appear in the original post, so
please ignore them.
Hm. I can certainly do it. But you shouldn't ignore the lines, you
also shouldn't ignore the link I gave you. I'm rather certain that
your problem ("The definition part before the \begin{document}
command won´t work.") is related to it.
You should also read the following:
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=askquestion
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
--
Ulrike Fischer
\documentclass{amsbook}
\begin{document}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{6} % <------------------------------ this line
causes the problem, without this line, everything works fine, but i
want the table of contents to contain all subsections
\tableofcontents
\part{Part}
\chapter{Chapter}
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\paragraph{paragraph}
\end{document}
Martin
>> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=askquestion
>>http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
>
> \documentclass{amsbook}
> \begin{document}
> \setcounter{secnumdepth}{4}
> \setcounter{tocdepth}{6} % <------------------------------ this line
> causes the problem, without this line, everything works fine, but i
> want the table of contents to contain all subsections
> \tableofcontents
> \part{Part}
> \chapter{Chapter}
> \section{section}
> \subsection{subsection}
> \subsubsection{subsubsection}
> \paragraph{paragraph}
> \end{document}
>
amsbook hard codes a level of tocdepth of 3. I think you can use
more levels by defining the missing command manually. I don't know
if it matters somewhere what value you use. At least in your example
I get the same result with 0pt than with 80pt.
\documentclass{amsbook}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4} %
\expandafter\def\csname r@tocindent4\endcsname{0pt}
\begin{document}
\tableofcontents
\part{Part}
\chapter{Chapter}
\section{section}
\subsection{subsection}
\subsubsection{subsubsection}
\paragraph{paragraph}
\end{document}
--
Ulrike Fischer
martin