I'm trying to create my own section and made the following code to make a subsubsubsection
Code: Select all
\makeatletter
\newcounter {subsubsubsection}[subsubsection]
\renewcommand\thesubsubsubsection{\thesubsubsection .\@arabic\c@subsubsubsection}
\newcommand{\subsubsubsection}{\@startsection{subsubsubsection}{6}{\z@}{-3.25ex\@plus -1ex \@minus -.2ex}{1.5ex \@plus .2ex}{\normalfont\normalsize\bfseries}}
\newcommand*\l@subsubsubsection{\@dottedtocline{6}{7.0em}{4.1em}}
\makeatother
Code: Select all
\subsubsubsection{Hey}
Code: Select all
3.1.1.1 Hey
Hey
Code: Select all
\subsubsubsection*{Hey}
I know I can use \paragraph, but I realy want to know whats the problem and how to solve it!
Regards
Eimund