Formatting chapter sections

Chapters in LaTeX require specific commands and use section headings which are pulled out into the Table of Contents.

Chapters

Each chapter begins with the following elements:

1
2
3
\chapter{Overview}  % Chapter title
\label{sec:Overview} % Used for cross-referencing
\index{overview} % Used for indexing

Section headings

Creating a section headings is quite easy. Second and third level headings are just as easy. Use the following commands to create these sections.

1
2
3
4
5
\section{heading text}

\subsection{heading text}

\subsubsection{heading text}

Three levels of headings are best. Any more and you may need to rewrite sections so they are at most third level deep. If you must, then just use a bolded paragraph for a fourth level heading.

Paragraphs

Paragraphs are entered without markup tags. Adding a new paragraph requires a blank line between paragraphs.

1
2
3
This is the first paragraph about Road Runners.

This is the second paragraph about Road Runners.

Comments

You can add comments to the .tex file as required using the % character.

1
% Add a comment using this character and LaTeX will ignore the rest of the current line.

Paragraph line breaks

You can add a line break into text by adding \ where you want to break the line. You can also use the following:

1
\newline

Indenting paragraphs

Add this new environment to the stylesheet to define the indentation within lists.

1
2
3
4
\newenvironment{myindentpar}\[1\]\[1\]%
{\begin{list}{}%
  {\setlength{\leftmargin}{#1}}% \item[]% }
  {\end{list}}

Then Use myindentpar in the document flow to indent a paragraph based on the settings.

1
\begin{myindentpar}{1cm} % text text text... % \end{myindentpar}

Note that the indent can be adjusted as required in the text.