I want to change appearance of part and chapter titles in my report. I already found few examples here, but now I'm trying to combine them to get what I need. Let's start from what we have in Styling the \part page. I don't want full page just for part title, just to show it on top of the new page and after this to show chapter title. However, I would like to have part title as it is in example 14 on this page, that is to have "chapter 1" between lines. And yes, I would like to have a word "Chapter" although it comes from part command.

I tried to copy some parts from one example into another, but doesn't work. Will appreciate your help.

Effect I want to achieve, obtained by part command:

enter image description here

This is working example from accepted answer in mentioned question.

\usepackage{lipsum}% for dummy text

\titleclass{\part}{top} % make part like a chapter
{\titlerule[5pt]\vspace{3pt}\titlerule[2pt]\vspace{3pt}\MakeUppercase{\partname} \thepart}
\titleclass{\chapter}{straight} % make chapter like a section (no newpage)
{\titlerule[5pt]\vspace{3pt}\titlerule[2pt]\vspace{3pt}\MakeUppercase{\chaptertitlename} \thechapter}


\part{A part}
\chapter{A chapter}
  • article does not provide chapters.
    – Johannes_B
    Commented Feb 25, 2017 at 13:50
  • @Johannes_B report*. My bad
    – Egan Wolf
    Commented Feb 25, 2017 at 14:03
  • Your reference to page 14 doesn't look like your example. Do you mean page 15? I think you should add a picture to your question. Do you really use report or scrreprt? Commented Feb 25, 2017 at 17:23
  • @MarcoDaniel I believe numbers of examples are at the top of example. However, I added a picture to question. I am using report, but maybe I messed up something in my question, as so far I was only basic LaTeX user.
    – Egan Wolf
    Commented Feb 27, 2017 at 7:36

1 Answer 1


Ok, I tried some things and hope I got it right, but you will need to adjust it to your needs. It is basically a combination of the both examples you printed.

\def\thickhrulefill{\leavevmode \leaders \hrule height .8ex \hfill \kern \z@}

\titleclass{\part}{top} % make part like a chapter
{\thickhrulefill\hspace{.3cm}\MakeUppercase{\partname} \thepart\hspace{.3cm}\thickhrulefill\\*\titlerule[1pt]}

Adjustments that are reasonable

  • The thickness of the first rule, defined in the \def part. I tried without this but failed, and you can probaly make it adjustable, but I guess there is no need. I copied this from your second example, by the way.
  • To get your wish with Chapter as part you will have to redefine \partname. I went for the simple method here, but be warned, in combination with babel this might be more complex. However, you probably know a (La)Tex help site which you can search for that.
  • {-10pt} as part of the \titelformat command. It defines the distance between the thin rule and the text "A PART". However, probably due to the \\* this is required to be negative, I found no way around this, but neither did I find a problem.
  • font sizes should be obvious, I tried to adjust to your example.

There are tons of stuff to change, but this is the basic construct.The result will be: enter image description here

  • Thanks a lot for your answer and all that detailed explanation! I'll implement it to my file and look how it's working.
    – Egan Wolf
    Commented Mar 5, 2017 at 9:58

You must log in to answer this question.

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