ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Jan Tosovsky" <j.tosovsky@email.cz>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Centering the last line in combination subcaptions
Date: Fri, 27 Dec 2013 23:55:55 +0100	[thread overview]
Message-ID: <17303.210279397$1388184982@news.gmane.org> (raw)

Hello Everyone,

I try to fill the entire page with two images with their captions. The final
page should be floating, keeping both images together and not containing any
other text.

I found this solution. It work fine for short captions / wide images.

\starttext
test
\startplacefigure[location=page, number=no, title={}]

%\setupcombinations[align={hz, hanging}]
%\setuptolerance[strict]

{\startcombination[1*2]
   {\externalfigure[cow]} {\input{ward}}
   {\externalfigure[cow]} {\input{ward}}
\stopcombination}

\stopplacefigure
\stoptext

If captions are long and the image narrow, they are typeset on multiple
lines. Default centering produces the ragged column - both not very nice and
difficult to read. When the alignment is set to hanging, it looks better
except the last line which is not centered.

Is there any settings for centering the last line?

Can the 'column' width be somehow extended to e.g. 80% of text width? If not
via the 'combination', are there any better alternatives for my use case?

Any hint is appreciated.

Thanks, Jan

___________________________________________________________________________________
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:[~2013-12-27 22:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-27 22:55 Jan Tosovsky [this message]
     [not found] <008201cf0356$ccebf400$66c3dc00$@tosovsky@email.cz>
2014-02-07 21:25 ` Jan Tosovsky
     [not found] ` <016201cf244b$29d9f210$7d8dd630$@tosovsky@email.cz>
2014-02-07 23:07   ` Jan Tosovsky
     [not found]   ` <52f56744.c8310f0a.7ef8.ffffb680SMTPIN_ADDED_BROKEN@mx.google.com>
2014-02-08  6:35     ` Wolfgang Schuster
2014-02-08 11:22       ` Jan Tosovsky
     [not found]       ` <52f613a9.09240f0a.5c33.ffff9f93SMTPIN_ADDED_BROKEN@mx.google.com>
2014-02-08 15:27         ` Wolfgang Schuster

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='17303.210279397$1388184982@news.gmane.org' \
    --to=j.tosovsky@email.cz \
    --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).