Christoffer Kjølbæk I have a blog, therefore I am…

5Jan/091

LaTeX caption options

In LaTeX the size and type of caption text, is normally the same as for the rest of the text. This can sometimes be confusing with long captions, because it can seems like the rest of the text.

The Caption package can be used to change the caption text, by adding

\usepackage[options]{caption}

to the preamble of your document.

Adding

\usepackage[small]{caption}

will make the caption smaller.

Adding

\usepackage[hang]{caption}

will align the caption text with caption "header", Figure 1:

Adding

\usepackage[bf]{caption}

will make the caption header bold.

Combining them like

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

will give something like:

Figure 1.1: Lorem ipsum dolor sit amet, consectetur adipiscing elit.
                 Ut faucibus, elit at sagittis.

Tagged som: Læg en kommentar
Kommentarer (1) Trackbacks (0)
  1. Exactly what I was looking for! The last option really makes the captions distinct from body text.


Læg en kommentar


Ingen trackbacks endnu.