I am using titlesec to change the font of chapter section etc. to Helvetica. I am struggling to do the same with part

This is the code I am using for chapter and section:

    {\thechapter. }{0em}{\setstretch{1}}

How do I set a \titleformat to mimic the standard look provded by the book class?

I only need to change the font to \normalfont\sffamily

Here is how it looks now:

enter image description here


2 Answers 2


You need the display format (Sec. 3 of the titlesec documentation). Looking into book.cls you see that the label "Part" is typeset in \huge, while the part's title comes in \Huge.







enter image description here

  • thanks for guiding me through the solution. Now I know how to reverse engineer the book class Commented Aug 5, 2021 at 18:58

You can patch the relevant commands to use \sffamily:





This is the following text


  • what is spart for? Was that supposed to be chapter? Commented Aug 3, 2021 at 15:36
  • @user1736049 It is \@spart, which is the internal command used when \part* is processed.
    – egreg
    Commented Aug 3, 2021 at 16:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .