ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: John Dyreby <jjdyreby@wisc.edu>
To: ntg-context@ntg.nl
Subject: Align caption text separately from figure label
Date: Fri, 11 May 2012 12:27:01 -0500	[thread overview]
Message-ID: <AED6D083-40AA-456F-A7DE-E9F83C9A9B35@wisc.edu> (raw)

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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2012-05-11 17:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-11 17:27 John Dyreby [this message]
2012-05-13 11:09 ` Marco
2012-05-24 11:44   ` John Dyreby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AED6D083-40AA-456F-A7DE-E9F83C9A9B35@wisc.edu \
    --to=jjdyreby@wisc.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).