From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Paragraph - the last line handling
Date: Sat, 23 Nov 2013 13:29:43 +0100 [thread overview]
Message-ID: <52909FB7.8010405@wxs.nl> (raw)
In-Reply-To: <012e01cee7cf$2d36b690$87a423b0$@tosovsky@email.cz>
On 11/22/2013 11:07 PM, Jan Tosovsky wrote:
> Hello Everyone,
>
> in my document there are lot of cases when the last line in the paragraph
> has a very narrow gap on the right (case 1 below). I understand it is
> sometimes difficult to squeeze characters to the desired lenght (case 2)
> without any impact to the final quality, but this looks very unnatural now
> (besides all other lines, which are nicely typeset keeping the optical edge
> on the right).
>
> Is it possible to somehow define that under a certain limit the line will be
> expanded to the end (case 3)?
>
> xxxxxxxxxxxx (1)
> xxxxxxxxxxxxxx
> xxxxxxxxxxxxx
> xxxxxxxxxxxx (2)
> xxxxxxxxxxxxxx
> xxxxxxxxxxxx
> xxxxxxxxxxxx (3)
> xxxxxxxxxxxxxx
> xxxxxxxxxxxxxx
>
> I use the following setup now:
>
> \setupalign[hz, hanging]
> \setuptolerance[verystrict] % even 'strict' doesn't help here
> \setupindenting[medium, yes]
>
> Any idea?
\hsize 15.4cm
\input tufte
\parfillskip30pt plus 1 fill \input tufte
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 parent reply other threads:[~2013-11-23 12:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <012e01cee7cf$2d36b690$87a423b0$@tosovsky@email.cz>
2013-11-23 12:29 ` Hans Hagen [this message]
2013-11-23 13:43 ` Jan Tosovsky
[not found] ` <002701cee852$00817710$01846530$@tosovsky@email.cz>
2013-11-23 14:11 ` Hans Hagen
2013-11-23 14:44 ` Jan Tosovsky
2014-02-19 22:00 ` Jan Tosovsky
[not found] ` <01c401cf2dbe$01385960$03a90c20$@tosovsky@email.cz>
2014-02-22 13:06 ` Jan Tosovsky
2013-11-22 22:07 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=52909FB7.8010405@wxs.nl \
--to=pragma@wxs.nl \
--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).