ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Minimal word-distance?
@ 2013-08-26 17:35 "H. Özoguz"
  2013-08-26 18:22 ` Marco Patzer
  0 siblings, 1 reply; 4+ messages in thread
From: "H. Özoguz" @ 2013-08-26 17:35 UTC (permalink / raw)
  To: ntg-context

Beyond the possibility to influence the tolerance by \setuptolerance, is 
it possible to declare explicit the minimal allowed word-distance? I 
ask, because in some cases the distance between consecutive words is too 
low (already using \setuptolerance[verstrict]).

Thanks.
Huseyin
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Minimal word-distance?
  2013-08-26 17:35 Minimal word-distance? "H. Özoguz"
@ 2013-08-26 18:22 ` Marco Patzer
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Patzer @ 2013-08-26 18:22 UTC (permalink / raw)
  To: ntg-context


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

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

> is it possible to declare explicit the minimal allowed
> word-distance?

\starttext
  \spaceskip=1ex plus 1ex minus .2ex
  \input knuth
\stoptext

Marco

[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Minimal word-distance?
  2013-08-26 20:16 "H. Özoguz"
@ 2013-08-26 21:05 ` Marco Patzer
  0 siblings, 0 replies; 4+ messages in thread
From: Marco Patzer @ 2013-08-26 21:05 UTC (permalink / raw)
  To: ntg-context


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Minimal word-distance?
@ 2013-08-26 20:16 "H. Özoguz"
  2013-08-26 21:05 ` Marco Patzer
  0 siblings, 1 reply; 4+ messages in thread
From: "H. Özoguz" @ 2013-08-26 20:16 UTC (permalink / raw)
  To: ntg-context


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

> 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? Does it mean the consecutive distance is element 
of the interval [0,8ex;2ex] or what?

> >/  The question is, only to add an minimal distance, wich has not to be
> />/  undercut while protrusing and justifying.
> /
> Example please
>
> Marco

I am asking for the example :) Or what do you mean. Your example above is exactly, what I was
searching for. Only the syntax have to be understood.

Huseyin




[-- Attachment #1.2: Type: text/html, Size: 1178 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-26 21:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-26 17:35 Minimal word-distance? "H. Özoguz"
2013-08-26 18:22 ` Marco Patzer
2013-08-26 20:16 "H. Özoguz"
2013-08-26 21:05 ` Marco Patzer

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).