Some LaTeX Caption Tricks to remember

Latex

Captions before Labels

Wherever you need to include a caption, be it figures, tables, equations, always include the caption before the label. If you don’t do this when you cross-reference them in the text the numbers will be wrong.

Better Captions with the caption package

By default the captions of figures, tables, etc… are typeset in the same font and size as the main text. This can be sometimes confusing, mainly if you have a figure on the top of a page followed by normal text. To solve this add

\usepackage[small,hang,bf]{caption}

to your preamble. The options small, hang and bf define the size of the text, the hanging of the caption label (ex. Figure 7:) and the caption label font weight (in this case a bold face). It gives excellent results.