ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: about character expansion
Date: Thu, 30 Aug 2018 13:27:49 +1200	[thread overview]
Message-ID: <704eebfb-ea57-5e60-f2c8-830991d811d3@gmail.com> (raw)
In-Reply-To: <92fc468e-75a7-5039-fedb-831a3e5a7585@gmx.es>

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
> 

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

  reply	other threads:[~2018-08-30  1:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-29 20:20 Pablo Rodriguez
2018-08-30  1:27 ` Henri Menke [this message]
2018-08-30 19:27   ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=704eebfb-ea57-5e60-f2c8-830991d811d3@gmail.com \
    --to=henrimenke@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).