ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* expansion / hz
@ 2020-10-15 16:03 Hans Hagen
  0 siblings, 0 replies; only message in thread
From: Hans Hagen @ 2020-10-15 16:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

Because I'll probably forget to mention if, here is some new features 
(upcoming lmtx only):

\definefontfeature[default][default,quality]
\setupbodyfont[pagella]

\starttext

     {whatever we want to achieve} \input tufte

     \setupalign[tolerant,stretch,hz]

     {whatever we want to achieve} \input tufte

     {\noexpansion whatever we want to achieve} \input tufte

\stoptext

That is: one can mark text to *not* use font expansion in an otherwise 
expansion (hz) context. I have no clue how useful it is.

So, the first paragraph has no expansion., the second one has while the 
third one has except for the first 5 words. And yes, there's also 
similar trickery for protrusion, \noprotrusion, but i didn't test it.

This is in addition the the already mentioned \nokerning and 
\noligaturing features that also obey grouping.

All this in the perspective of (luameta)tex giving detailed control over 
matters.

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-15 16:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-15 16:03 expansion / hz Hans Hagen

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