ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: ntg-context@ntg.nl
Subject: Re: Minimal word-distance?
Date: Mon, 26 Aug 2013 23:05:39 +0200	[thread overview]
Message-ID: <20130826210539.GA4204@homerow> (raw)
In-Reply-To: <521BB7AD.50409@mmnetz.de>


[-- Attachment #1.1: Type: text/plain, Size: 1179 bytes --]

On 2013–08–26 "H. Özoguz" wrote:

> >The following text has protrusion and is justified.
> >
> >\setuplayout [width=6cm]
> >\definefontfeature [default] [default] [protrusion=pure]
> >\setupalign [hanging]
> >\showframe
> >\starttext
> >   \spaceskip=1ex plus 1ex minus .2ex
> >   \input knuth
> >\stoptext
> >
> >>/  forcing a constant distance.
> >/
> >If you provide stretch and shrink the distance is not constant.
> Thank you! I dont understand this command, what does "1ex plus 1ex
> minus .2ex " excactly mean?

It's the inter-word glue, which is usually a property of the font
and is usually not altered by the user. However, \spaceskip is used
for e.g. ragged text and special alignments.

Read up about glue in your favourite TeX reference. \spaceskip is
covered in TeX by Topic¹, chapter 20. The first value is the
“natural” size. If necessary it can stretch or shrink by the given
amount which can be zero.

> I am asking for the example :)

You said it doesn't justify after I sent you a minimal example which
was justified. That's what I was talking about.

Marco

¹ http://www.eijkhout.net/texbytopic/texbytopic.html

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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-08-26 21:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-26 20:16 "H. Özoguz"
2013-08-26 21:05 ` Marco Patzer [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-08-26 17:35 "H. Özoguz"
2013-08-26 18:22 ` Marco Patzer

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=20130826210539.GA4204@homerow \
    --to=lists@homerow.info \
    --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).