Too much white space above chapter headings

Bug #503322 reported by Benjamin Humphrey
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Manual
Fix Released
High
Joe Burgess

Bug Description

There is far too much white space above the heading for each chapter. The chapter headings need to be moved closer to the top of each page.

Changed in ubuntu-manual:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Joe Burgess (joemburgess) wrote :

So I am working on this, and it seems to be annoying and hard. The reason I used the article class, and kept everything as sections and subsections is for this reason. I feel like it might be easier to just use the article class, and keep everything as sections and subsections. I know we loose the part stuff, but I can easily make a part page.

Do you see any other reason to keep the book class?

Revision history for this message
Josh Holland (jshholland) wrote :

I did find a way to shorten up the headings. It's currently somewhat buried in bzr (which is not my VCS of choice), so I should be able to get it out at some point. It may not be a perfect solution by any means.

I went for the book class because it's a book ;).

Revision history for this message
Josh Holland (jshholland) wrote :

Ah, got the thing. It's basically a case of adding the following to main.tex:

\usepackage{titlesec}
\titleformat{\chapter}[display]
{\Huge}
{
 \vskip-3em
 \Large\chaptername
 \Large\thechapter}
{0mm}
{}
[\vspace{0.5mm}]

This seems to have a small bug in that it doesn't put a space in between "Chapter" and the number (eg "Chapter3"), but it otherwise seems to work.

Revision history for this message
Benjamin Humphrey (humphreybc) wrote :

Awesome, push it through to main if you haven't already :)

As for the space between the number and the chapter, this will need to be fixed eventually. :)

Changed in ubuntu-manual:
status: Confirmed → In Progress
Changed in ubuntu-manual:
assignee: nobody → jmburgess (joemburgess)
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.