I'm sure this question has already been asked and answered but I didn't know what to look for in the forum.

I'd like to label my part title in TOC and in the beginning of the part itself like "First part", "Second part", etc.

What is the code for that?

  • Can you prepare a minimal example? Are you using \part in the document?
    – egreg
    Apr 18, 2014 at 21:54
  • 1
    Now that I reread your question I have a doubt, you mean that \part{The title} should give you "First part: The title" both in the ToC and in the document (as in my answer) or is it something else what you are trying to achieve? Apr 19, 2014 at 1:07

3 Answers 3


Two patchings to \@part (one for the entries in the ToC and the other for the headings in the document) will do the job; the fmtcount package was used to turn the Arabic number representation for the part counter to a ordinal string:




\part{Test part}
\part{Another test part}
\part{Yet another test part}


An image of the ToC:

enter image description here

An image of the body og the document showing the heading for the first page:

enter image description here


Here is a solution using titlesec, titletoc and fmtcount, plus the \rmntonum command from etoolbox; we have to use it to convert the way part numbers appear in the .aux file (Roman numerals) to arabic.



\usepackage[pagestyles, newparttoc]{titlesec}
\titleformat{\part}[block]{\filcenter\lsstyle\bfseries\scshape\Large}{ \Ordinalstring{part} \partname: }{0.5em}{}%



{\sbox{\partlabel}{\Ordinalstringnum{\expandafter\rmntonum\expandafter{\thecontentslabel}}~\partname: }%



\part{An Interesting Part}
\section{A First Section}
\section{A Second Section}
\part*{A Boring Numberless Part}
\section{Section A}
\section{Section B}
\part{Another Numbered Part}


enter image description here


I guess you want to avoid the automatic "Part I" (et cetera). You can remove it with \renewcommand{\partname}{} (in the preamble) - though the roman number will remain.


\part{First Part}
\chapter{some title}
\chapter{another one}
\part{Second Part}

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.