disable expansion for one single component
Hi all, for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then \setupalign[hanging,hz] in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some characters. Is there a way to disable expansion (but not of course protrusion) for one single chapter? Thanks, and all best Thomas
Am 02.10.2012 um 15:24 schrieb Thomas A. Schmitz
Hi all,
for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then
\setupalign[hanging,hz]
in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some characters. Is there a way to disable expansion (but not of course protrusion) for one single chapter?
Put \setupalign[nohz] before and \setupalign[hz] after your chapter. Wolfgang
On 10/02/2012 03:31 PM, Wolfgang Schuster wrote:
Hi all,
for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then
\setupalign[hanging,hz]
in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some characters. Is there a way to disable expansion (but not of course protrusion) for one single chapter? Put \setupalign[nohz] before and \setupalign[hz] after your chapter.
Wolfgang
Hi all, Wolfgang, coming back to a pretty old question because it doesn't appear to work. For the book I'm currently typesetting, I had to disable expansion for the entire document because it messed up spacing with Greek letters and certain accents. Now the question is the other way round: can I enable expansion only for certain passages? I'm in the final revision, and expansion would help me take care of a few overfull hboxes. But while setting \setupalign[hanging,hz] for the entire document does take care of those, doing something like \start \setupalign[hanging,hz] blablabla \stop doesn't have any effect. Is this possible at all, or am I barking up the wrong tree? Thanks Thomas
On 11/23/2012 11:24 PM, Thomas A. Schmitz wrote:
On 10/02/2012 03:31 PM, Wolfgang Schuster wrote:
Hi all,
for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then
\setupalign[hanging,hz]
in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some characters. Is there a way to disable expansion (but not of course protrusion) for one single chapter? Put \setupalign[nohz] before and \setupalign[hz] after your chapter.
Wolfgang
Hi all, Wolfgang,
coming back to a pretty old question because it doesn't appear to work. For the book I'm currently typesetting, I had to disable expansion for the entire document because it messed up spacing with Greek letters and certain accents. Now the question is the other way round: can I enable expansion only for certain passages? I'm in the final revision, and expansion would help me take care of a few overfull hboxes. But while setting \setupalign[hanging,hz] for the entire document does take care of those, doing something like
\start \setupalign[hanging,hz] blablabla \stop
doesn't have any effect. Is this possible at all, or am I barking up the wrong tree?
You need to load a font with the expension feature enabled. After that you can enable/disable it using setupalign. ----------------------------------------------------------------- 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 -----------------------------------------------------------------
On 11/23/2012 11:44 PM, Hans Hagen wrote:
You need to load a font with the expension feature enabled. After that you can enable/disable it using setupalign.
Hmm, thanks Hans. How can I test whether this actually works? My problem, as briefly as possible: in one component, I get an overfull hbox. Turning on hz for the entire product makes it disappear. Turning on hz just for this one paragraph doesn't. But I must admit that I don't reallt understand the implications of hz etc. All best Thomas
Am 23.11.2012 um 23:24 schrieb Thomas A. Schmitz
On 10/02/2012 03:31 PM, Wolfgang Schuster wrote:
Hi all,
for a book I'm typesetting, I use adobe minion and have enabled protrusion=pure,expansion=quality in the typescript and then
\setupalign[hanging,hz]
in the main environment. Now it turns out that in one of the components/chapters of the book, this messes up the spacing of some characters. Is there a way to disable expansion (but not of course protrusion) for one single chapter? Put \setupalign[nohz] before and \setupalign[hz] after your chapter.
Wolfgang
Hi all, Wolfgang,
coming back to a pretty old question because it doesn't appear to work. For the book I'm currently typesetting, I had to disable expansion for the entire document because it messed up spacing with Greek letters and certain accents. Now the question is the other way round: can I enable expansion only for certain passages? I'm in the final revision, and expansion would help me take care of a few overfull hboxes. But while setting \setupalign[hanging,hz] for the entire document does take care of those, doing something like
\start \setupalign[hanging,hz] blablabla \stop
doesn't have any effect. Is this possible at all, or am I barking up the wrong tree?
The paragraph has to end before the group is closed. \definefontfeature[default][default][expansion=quality,protrusion=quality] \starttext \showframe \input tufte \blank \start \setupalign[hanging,hz] \input tufte \stop \blank \start \setupalign[hanging,hz] \input tufte\par \stop \stoptext Wolfgang
participants (3)
-
Hans Hagen
-
Thomas A. Schmitz
-
Wolfgang Schuster