How can I get the formatted \part
to show Part I
in one line and the Name of the Part One
in the other line (line break) as it shows in the \chapter
without formatting?
\documentclass{report}
\usepackage{titlesec}
%For defining the style of the part
\titleclass{\part}{top}\titleformat{\part}{\centering\normalfont\Large}{\partname\hspace{2pt}\thepart\hspace{2pt}}{2pt}{}
\begin{document}
\part{Name of the Part One}
\chapter{Name of the Chapter One}
\section{Section One}
Some text!
\section{Section Two}
Some text!
\end{document}