# [NTG-context] Align caption text separately from figure label

John Dyreby jjdyreby at wisc.edu
Fri May 11 19:27:01 CEST 2012

Hello,

I spent a few hours googling and trying random things but am not able to get figure captions looking the way I want them.  Basically, I'd like long captions to be left aligned as a framed chunk of text, similar to this post here:

http://tex.stackexchange.com/questions/8739/multiline-figure-caption-centering

Or if this formatting works...

How it currently looks:
Figure 1  This is a caption that extends
to multiple lines.

What I'm trying to get:
Figure 1  This is also a caption that
extends to multiple lines.

I was able to produce what I wanted with an aligned \framed command, but the width of the caption and the width of the framed box had to be set for each figure, which is less than ideal.

I'm hoping that there is a way to adjust the amount of indent for the text of the caption so that I can 'push' all the lines after the first one to line up with it?

Thanks much,
John