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

Warning, Note and Info Boxes

If you need to include info, note and warning boxes for your document, you define them in the stylesheet. Then with a simple command, you insert them into a location in the document.

Framed boxes use a form of a table, specifically the tikz package. So, add these packages before adding the packages for framed boxes. This also includes a set of packages for making supertabular tables.

## Package for framed boxes

Before you define the specific boxes, you need to add some packages and define some colours.

Add the following to your stylesheet and change the rgb values to what you need.

With these settings, each type of box can now be defined in the stylesheet.

## Defining Warning boxes

A Warning Box is information that you must be aware of before you perform a specific task.

This long bit of LaTeX defines the rules, spacing, icon and background colour of a warning box. You can just copy and adjust these settings as needed. This give the name of this rule {warnbox} which you find at the end of this definition.

### Inserting a Warning box in document

You insert a warning box into the document flow using the following commands.

## Defining Note boxes

Note Boxes are additional information that is important but outside the procedure described in the current text flow.

This long bit of LaTeX is essentially the same as defined for the Warning Box, with the exception of the background colour and the icon used in the box. This gives the name of the Note box as notice.

### Inserting a Note box in document

Use the following commands to insert a Note Box into the document flow.

## Definition for Info boxes

An Info Box would normally be used to provide additional information that may be available outside the current document, such as a website or another user manual.

Like the Warning and Note Box definitions above, you can adjust the settings as required. This gives the name of the box infobox.

### Inserting a Info box in document

Use the following commands to insert an Info box into the document flow.

## Defining a basic boxes

You can define a general purpose box for use as required.

### Inserting a basic box in a document

Use the following command to inser a basic box into the document flow.