From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/45501 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Kerning Date: Wed, 12 Nov 2008 16:54:49 +0100 Message-ID: <5512CC7E-8B7C-4C11-881B-CC184866FD87@gmail.com> References: <200811120848.15165.bntgcontext@wiseguysweb.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1226505429 18794 80.91.229.12 (12 Nov 2008 15:57:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2008 15:57:09 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 12 16:58:10 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1L0I6Q-0006YN-8T for gctc-ntg-context-518@m.gmane.org; Wed, 12 Nov 2008 16:57:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3BB241FB8F; Wed, 12 Nov 2008 16:56:45 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02501-02-6; Wed, 12 Nov 2008 16:55:46 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C1C161FB29; Wed, 12 Nov 2008 16:55:46 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C1C71FB30 for ; Wed, 12 Nov 2008 16:55:45 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04830-01-2 for ; Wed, 12 Nov 2008 16:54:58 +0100 (CET) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.152]) by ronja.ntg.nl (Postfix) with ESMTP id 740521FB29 for ; Wed, 12 Nov 2008 16:54:58 +0100 (CET) Original-Received: by yw-out-1718.google.com with SMTP id 5so198655ywm.74 for ; Wed, 12 Nov 2008 07:54:57 -0800 (PST) Original-Received: by 10.86.70.3 with SMTP id s3mr9257609fga.78.1226505296634; Wed, 12 Nov 2008 07:54:56 -0800 (PST) Original-Received: from ?10.40.27.200? (8.121.113.82.net.de.o2.com [82.113.121.8]) by mx.google.com with ESMTPS id 4sm58105fge.8.2008.11.12.07.54.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 Nov 2008 07:54:55 -0800 (PST) In-Reply-To: <200811120848.15165.bntgcontext@wiseguysweb.com> X-Mailer: Apple Mail (2.929.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:45501 Archived-At: Am 12.11.2008 um 16:48 schrieb Bart C. Wise: > I am trying to change the spacing of a chapter title head. I found > the > "\kern" command; however, I could not get that to work over a string > of text. > > Then I found the following code: > \def\dolist{\afterassignment\dodolist\let\next= } > \def\dodolist{\ifx\next\endlist \let\next\relax > \else \\\let\next\dolist \fi > \next} > \def\endlist{\endlist} > \def\track#1\by#2{\def\\{\next\kern#2}% > \leavevmode \hbox{\expandafter\dolist#1\endlist}} > > Then I tried: > > def\MyChapterCommand#1#2{ > \framed[align=center,frame=off,width=\textwidth]{ > \vbox{ > \track{This is a Test} \by{.2em} > \track #2 \by{.2em} > } > } > \setuphead[chapter][ > command=\MyChapterCommand > } > > The output from the \track{This is a Test} \by{.2em} works. > However, the > second track command (\track #2 \by{0.2em}) fails. > > I spent many hours last night trying to change the kerning. What I > want is > something like: \kern{TEXT}{KERNING AMOUNT}. > > What's available, or how do I fix the track command above. By the > way,I'm > running mkii. Search for \stretched and \stretchednormalcase. http://archive.contextgarden.net/message/20080815.074940.ae67f770.en.html Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________