From: "Jan Tosovsky" <j.tosovsky@email.cz>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Centering the last line in combination subcaptions
Date: Sat, 8 Feb 2014 00:07:00 +0100 [thread overview]
Message-ID: <24442.4275508665$1391814444@news.gmane.org> (raw)
In-Reply-To: <016201cf244b$29d9f210$7d8dd630$@tosovsky@email.cz>
On 2014-02-07 Jan Tosovsky wrote:
> On 2013-12-27 Jan Tosovsky wrote:
> >
> > 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.
Finally fixed with align=last :-)
This is the improved example. The only remaining issue is an one empty line
between the image and the label when \startnarrower command is used.
Please compare two pages w/o this option set:
%\definefontfamily[palatino][rm][Palatino Linotype][features={default,
quality}]
%\setupbodyfont[palatino]
\setupnarrower[middle=-2.8cm]
\starttext
test
\startplacefigure[location=page, number=no, title={}]
\setupcombinations[align={last, hz, hanging}]
{\startcombination[1*2]
{\externalfigure[cow]} {\startnarrower {\itx \input{tufte}}
\stopnarrower}
{\externalfigure[cow]} {\startnarrower {\itx \input{lorem}}
\stopnarrower}
\stopcombination}
\stopplacefigure
\startplacefigure[location=page, number=no, title={}]
\setupcombinations[align={last, hz, hanging}]
{\startcombination[1*2]
{\externalfigure[cow]} {\itx \input{ward}}
{\externalfigure[cow]} {\itx \input{ward}}
\stopcombination}
\stopplacefigure
\stoptext
I haven't find any better way to extend the caption width than that negative
value for narrowed text. It works, but that empty space above looks weird
:-(
Thanks for any suggestions,
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-02-07 23:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
[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
2013-12-27 22:55 Jan Tosovsky
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='24442.4275508665$1391814444@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).