[NTG-context] Letterspacing

Hans Hagen pragma at wxs.nl
Sun May 29 18:49:54 CEST 2016

On 5/29/2016 6:36 PM, Thomas Fehige wrote:
> I'm still trying to understand some ConTeXt ways of doing things, being
> a kind of LaTeX native myself. I bought the context-fonts manual, but
> still can't figure out how to implement a macro that does the simple(?)
> following, especially item 3:
> 1. Make #1 uppercase [OK, in simple situations I could just type the
> uppercase letters]
> 2. change #1's color to xxx [not a problem]
> 3. apply an amount of letterspacing to the capitalized #1 that I can
> specify myself.
> Maybe I'm only using the wrong search term, maybe the letterspace
> feature is well hidden in the documentation, maybe it doesn't exist: I
> simply don't know and don't see a way to find out. \stretched is not an
> answer.


some words

\WORD{some words}


\WORD{\setcharacterkerning[mine]some words}

{\setcharactercasing[WORD]\setcharacterkerning[mine]some words}

{\setcharactercasing[Words]\setcharacterkerning[less]some words}

{\setcharactercasing[Words]\setcharacterkerning[more]some words}


                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl

More information about the ntg-context mailing list