Re: [NTG-context] Minimal word-distance?
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
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
participants (2)
-
"H. Özoguz"
-
Marco Patzer