Learn how to use LaTex to create technical documents, or any type of document, with these easy to follow instructions on setting up and creating high quality documentation.

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.