Page LayoutChapter title at the middle of the page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
AdrianM
Posts: 5
Joined: Sun Nov 28, 2010 10:42 am

Chapter title at the middle of the page

Post by AdrianM »

Hi and Happy New Year!

How can I put the chapter title at the middle of the page?

I want to write a book with two big sections which I sepparated writing the title of each sections as a chapter on a blank page, added \clearpage after and then started the content using \section.

But I don't want the title of the chapter as default, a few cm from the top of the page, it's ugly, I want to put it at the middle of the page. How can I do that?

And another little thing: for some unknown reason, the text belonging to a section is centered by LATEX, not by me. How can I force it to be stretched, unaligned, like regular text? (I didn't see anything wrong in my code to result in the centering, so I want to force it to be justified) I tried \flushleft, but it's uneven at the right side...you know.

Thanks for both.

All the best in 2011!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Chapter title at the middle of the page

Post by frabjous »

Sounds to me like you ought to be using the \part command, rather than \chapter, for the big divisions in your book. It puts the title of the part division centered on its own page.

You can customize all these things with the titlesec package. I think it would be best for you to try working out some solutions for what you want by reading its manual, but do ask again here if you need help with it.
AdrianM
Posts: 5
Joined: Sun Nov 28, 2010 10:42 am

Re: Chapter title at the middle of the page

Post by AdrianM »

It did the trick, thank you.
Post Reply