From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Letterspacing
Date: Sun, 29 May 2016 18:49:54 +0200 [thread overview]
Message-ID: <d04186b6-f542-0a52-300a-7374aeb77cb1@wxs.nl> (raw)
In-Reply-To: <574B1A8F.3000702@fehige.de>
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.
\starttext
some words
\WORD{some words}
\definecharacterkerning[mine][factor=0.5]
\definecharacterkerning[less][factor=0.05]
\definecharacterkerning[more][factor=0.1]
\WORD{\setcharacterkerning[mine]some words}
{\setcharactercasing[WORD]\setcharacterkerning[mine]some words}
{\setcharactercasing[Words]\setcharacterkerning[less]some words}
{\setcharactercasing[Words]\setcharacterkerning[more]some words}
\stoptext
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.com | 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2016-05-29 16:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-29 10:35 issue in the wiki Pablo Rodriguez
2016-05-29 15:31 ` Mohammad Hossein Bateni
2016-05-29 16:36 ` Letterspacing Thomas Fehige
2016-05-29 16:49 ` Hans Hagen [this message]
2016-05-31 8:31 ` issue in the wiki Pablo Rodriguez
2016-06-06 8:11 ` Partial \framed Thomas Fehige
2016-06-06 10:32 ` Wolfgang Schuster
2016-06-06 12:14 ` Thomas Fehige
2016-06-06 14:04 ` basic fontsizes question Thomas Fehige
2016-06-06 14:05 ` Thomas Fehige
2016-06-06 14:20 ` Thomas Fehige
2016-06-06 20:48 ` Wolfgang Schuster
2016-06-08 8:35 ` Thomas Fehige
2016-06-08 9:11 ` Wolfgang Schuster
2016-06-08 12:40 ` Thomas Fehige
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=d04186b6-f542-0a52-300a-7374aeb77cb1@wxs.nl \
--to=pragma@wxs.nl \
--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).