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.

Formatting text

Latext provides commands for formatting text, creating lists and adding images.

Text highlighting

To make sections of text use the following:

To format paragraphs use the following:

Lists - Ordered and Unordered

When making an unordered list, you use itemize. When making an ordered list, you use enumerate.

Unordered lists

Use the following syntax to create an unordered list.

Ordered lists

Use the following syntax to create an ordered list,

Nested Lists

Use the following syntax to create nested lists.

Resuming an interrupted list

I found it rather annoying that LaTeX didn’t have an easy way of dealing with interrupted lists, until I learned this tip on StackOverflow.

Use the package \enumitem and the [resume] option on an enumarate scope to cause the LaTeX typesetter to continue numbering from the previous list.

Add this package to the stylesheet for resuming enumeration after intervening text element.

Here is an example.

Images

The graphicx pack­age pro­vid­es a key-value in­ter­face for op­tional ar­gu­ments to the \in­clude­graph­ics com­mand.

Note: Do not use the older graphics package when using graphicx.

First, add the following command to the stylesheet.

Next, insert the image using the following syntax.

You can resize the image or scale the image.

The [-1em] is a positioning element, which moves the image 1em to the left of the defined left margin. This is a page design issue.

The file extension can be omitted, but I prefer to keep the entire filename, including the extension.

You can optionally use the \graphicspath` command, but I had no need for it.