# Hiding “0” in title of any part of {report} documentclass

I have a report which is structured part just look like this:

\documentclass{report}
\usepackage[compact,explicit]{titlesec}
\begin{document}

\section{Pasal}
\section{Pasal}
\section{Pasal}
\section{Pasal}
\section{Pasal}

\end{document}


All the \section{Pasal} generate title section Pasal 0.1, Pasal 0.2, etc. Please help, I don't have any idea to erase the 0.

• Why are you using report, that has chapters, and not article? – egreg Dec 12 '17 at 11:28

\documentclass{report}
\usepackage[compact,explicit]{titlesec}
\renewcommand{\thesection}{\arabic{section}}
\begin{document}