I would like to give the title of \part{title} a separate page. I would like it to be in the center of the page, both vertically and horizontally. Document class article.

                                    PART I
                                  TITLE TEXT
  • Answering would be much easier if we knew at least which document class you are using... I assume article or something based upon it, but that's everything my crystal ball is able to tell me for now...
    – campa
    Apr 12 '21 at 13:46
  • In the memoir class \part is on a page by itself. Apr 12 '21 at 17:32
  • I use the article doc. class and I wouldn't like to change it to memoir.
    – VBP
    Apr 12 '21 at 17:43

The following is a mix and revamp of the code for the article and report classes \part macro.

% partprob.tex  SE 592540

\renewcommand{\part}{%   % rejig of report/book \part

\def\@part[#1]#2{%   % mixture of article and report/book code
  \ifnum \c@secnumdepth >\m@ne
   \interlinepenalty \@M
   \ifnum \c@secnumdepth >-1\relax
     \huge\bfseries \partname\nobreakspace\thepart
     \vskip 20\p@
   \Huge \bfseries #2\par}%

   \interlinepenalty \@M
   \Huge \bfseries #1\par}%


\part{First Part}
\section{A section}
Some text.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.