I'm a Canadian based in Berlin, Germany. My day job is a Technical Writer in the API space. I write about topics such as technology, usability, creative writing and Canadian history. All views mine. I tweet at @glennjlea. Read more about me here or at LinkedIn.
Site version: 3.0

Defining sectioning styles

To set sectioning styles and packages, You can use the titlesec package. The sectsty package is also available, but I didn’t use it.

Note: I added line breaks in some of the commands for readability. You need to remove those breaks when using the syntax.

## titlesec package

You use titlesec to pro­vid­e an in­ter­face for se­lec­ting from var­i­ous ti­tle styles. With this package, you set marginal ti­tles and change the font of all head­ings with a sin­gle com­mand.

## Defining the chapter titles

I configured the chapter title to have a 19pt font size.

I wanted to remove the large space above the chapter title, so I use the following command.

To indent the section label, I used this command.

To set the size and position of the chapter heading, I used these commands.