[Tex/LaTex] How to add subsubsubsection to acm conference template

acmacmartsectioningsections-paragraphs

I am using ACM conference template. I can not add \subsubsubsection and the \par does not add number. How can I overcome this issue? Can you please help me add another level section?

Here is my sample:

\documentclass[sigconf, anonymous]{acmart}
\usepackage{booktabs}
\usepackage{array, makecell} 

\begin{document}

\title{Title}

\begin{abstract}
Abstract  
\end{abstract}

\maketitle

\section{This is a Section} Some text here.
\subsection{This is a Subsection} Some text here. 
\subsubsection{This is a subsubsection} Text here.
\par{This is par. But I need a third level section as 1.1.1.1}

\end{document}

Best Answer

Turning my comment into an answer:

You can control how many sectioning commands get numbered with the secnumdepth counter. If this is set to 4 or greater \paragraph will produce a number. Note however that a \paragraph by default is not a heading but gets printed on the same line as the start of that paragraph.

The command \par is the same as a blank line in TeX, meaning it ends the previous paragraph (text block not sectioning layer).

\documentclass[sigconf, anonymous]{acmart}
\usepackage{booktabs}
\usepackage{array, makecell} 

\expandafter\newcommand\csname r@tocindent4\endcsname{4in}
\setcounter{secnumdepth}{4}

\begin{document}

\title{Title}

\begin{abstract}
Abstract  
\end{abstract}

\maketitle

\section{This is a Section} Some text here.
\subsection{This is a Subsection} Some text here. 
\subsubsection{This is a subsubsection} Text here.
\paragraph{This is par. But I need a third level section as 1.1.1.1}

\end{document}
Related Question