\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}% {-2.5ex\@plus -1ex \@minus -.25ex}% {1.25ex \@plus .25ex}% {\normalfont\normalsize\bfseries}} \setcounter{secnumdepth}{4} % how many sectioning levels to assign numbers to \setcounter{tocdepth}{4} % how many sectioning levels to show in ToC \documentclass{article} \usepackage[utf8]{inputenc} \title{Sections and Chapters} \author{Gubert Farnsworth} \date{ } \maketitle \tableofcontents