The code in the first post does not work since all the subsubsubsection stuff should be in between the \makeatletter and \makeatother commands. By the way, the \bf command is obsolete and \subsubsubsectionmark is not needed, since no pagestyle contains that command (not at least the standard ones).
Before introducing a new sectioning command in an article, in my opinion, one should consider other alternatives:
1) Move to the book or report classes. The \chapter command provides a new level.
2) Use \part.
3) Try \paragraph.
4) Reorganize the document.
If finally one really needs a new numbered level behaving like \section and like, the simplest approach is to redefine \paragraph and increment the counters secnumdepth and tocdeph, as the following example shows:
Code: Select all
\documentclass[a4paper]{article}
\usepackage[english]{babel}
\usepackage{blindtext}
\makeatletter
\renewcommand{\paragraph}{\@startsection{paragraph}{4}{0ex}%
{-3.25ex plus -1ex minus -0.2ex}%
{1.5ex plus 0.2ex}%
{\normalfont\normalsize\bfseries}}
\makeatother
\stepcounter{secnumdepth}
\stepcounter{tocdepth}
\begin{document}
\tableofcontents
\section{Section title}
\subsection{Subsection title}
\subsubsection{Subsubsection title}
\paragraph{Paragraph title}
\blindtext
\end{document}