[NTG-context] about character expansion

Henri Menke henrimenke at gmail.com
Thu Aug 30 03:27:49 CEST 2018


See also “8.9 Expansion” in
http://www.pragma-ade.nl/general/manuals/fonts-mkiv.pdf


\setupfontexpansion
  [extremehz]
  [stretch=50,shrink=50,step=.5,vector=default,factor=1]

\definefontfeature
  [default]
  [default]
  [expansion=extremehz]

\starttext

\setupalign[hz]
\input{knuth}

\stoptext

On 30/08/18 08:20, Pablo Rodriguez wrote:
> Dear list,
> 
> I would like to introduce character expansion to novice users.
> 
> I know that ConTeXt adds values automatically.
> 
> But I’m interested in showing extremely stretched and shrinked
> characters, as an example of character expansion done wrong.
> 
> Sorry for not providing a minimal example, but I don’t have any idea
> about how to achieve that.
> 
> Does anyone know how to do it?
> 
> Many thanks for your help,
> 
> Pablo
> 



More information about the ntg-context mailing list