I'm using \part for defining parts of my "book". The thing is, that the part takes a whole page. I use \documentclass[12pt]{book}.

I want to style the \part in a way that it looks like the fncychap style Conny and don't take a whole page.

How do I accomplish that?

  • I'm sorry for not understanding, but what do you mean by "a whole site"? – Willie Wong Oct 4 '11 at 13:25
  • I think he means "a whole page". – Mico Oct 4 '11 at 13:26
  • Correct. The current style of \part takes an entire page. – Stefan Oct 4 '11 at 13:51
  • Maybe not what you are looking for, but the memoir class provides options for styling the layout of the \part-page, as described in section 6.4 of the manual. – Carsten Thiel Oct 4 '11 at 13:57
  • 2
    In order to make \part not take a whole page, you need to make \chapter not start on a new page too, assuming you have a \chapter after every \part. – Alan Munn Oct 4 '11 at 15:12

Here's a version using the titlesec package. I've made the \part and chapter styles identical, and roughly imitated the Conny style. You probably don't want to do exactly this, but it should be enough to get you started.

\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}

output of code

  • Thank you very much. Sorry for my late answer, but today I figured out that \titleclass{\chapter}{straight} seems to break the links to my toc (list of tables, etc). I'm using \tableofcontents \addcontentsline{toc}{chapter}{Contents}. See the image for an example: !Screenshot. (left: all link to page I). – Stefan Nov 9 '11 at 11:23

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.