LaTeX captions

Nov 19, 2009 10:23

If you ever tried to tune standard LaTeX figure captions, you may find this a difficult task to do. Usually, people want to make them centered or hanging, use non-standard font, or, sometimes, they want a completely custom caption format. Standard LaTeX doesn't offer an option to configure all of this.

Luckily, there are packages that can fix this.

One of them is caption package. Just write something like this:

\usepackage[labelsep=period, justification=centering]{caption}

and you'll get the following:

Fig. 1. The figure, the first line,
and another line
instead of

Fig. 1: The figure, the first line,
and another line.
Previous post Next post
Up