From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/34361 Path: news.gmane.org!not-for-mail From: Vyatcheslav Yatskovsky Newsgroups: gmane.comp.tex.context Subject: Re: Vertical alignment of framed text Date: Thu, 19 Apr 2007 15:46:08 +0300 Message-ID: <118932055.20070419154608@gmail.com> References: Reply-To: Yatskovsky , mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1176986793 19599 80.91.229.12 (19 Apr 2007 12:46:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 19 Apr 2007 12:46:33 +0000 (UTC) Cc: Mojca Miklavec To: "ntg-context-request@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 19 14:46:27 2007 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 1HeW1p-000687-Os for gctc-ntg-context-518@m.gmane.org; Thu, 19 Apr 2007 14:46:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 449EE20126; Thu, 19 Apr 2007 14:46:25 +0200 (CEST) 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 17884-02-10; Thu, 19 Apr 2007 14:46:19 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 808D2200EB; Thu, 19 Apr 2007 14:46:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E878A200EB for ; Thu, 19 Apr 2007 14:46:16 +0200 (CEST) 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 17884-02-9 for ; Thu, 19 Apr 2007 14:46:12 +0200 (CEST) Original-Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.186]) by ronja.ntg.nl (Postfix) with ESMTP id 69C40200D0 for ; Thu, 19 Apr 2007 14:46:12 +0200 (CEST) Original-Received: by mu-out-0910.google.com with SMTP id i2so604376mue for ; Thu, 19 Apr 2007 05:46:12 -0700 (PDT) Original-Received: by 10.82.148.7 with SMTP id v7mr2713540bud.1176986771802; Thu, 19 Apr 2007 05:46:11 -0700 (PDT) Original-Received: from armsly-revue.volia.net ( [77.122.213.29]) by mx.google.com with ESMTP id b36sm83725ika.2007.04.19.05.45.57; Thu, 19 Apr 2007 05:46:07 -0700 (PDT) X-Mailer: The Bat! (v3.98.4) Professional X-Priority: 3 (Normal) In-Reply-To: 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:34361 Archived-At: Hello, Please, don't take me as too much exacting man, but Mojca's (partial) solution \def\hotkey#1{\inframed[corner=00]{\ #1\ }} is more suitable for me than the Wolfgangs's (complete) one: \defineframed [dohotkey] [strut=yes,corner=00,frameoffset=-0.2em,location=low] \definehspace[hotkey][0.6em] \def\hotkey#1{\dohotkey{\hspace[hotkey]#1\hspace[hotkey]}} The latter add space between surrounding words proportionally to the in-frame space. The ideal solution would be \def\hotkey#1{\inframed[corner=00, location=low, height=\lineheight]{\ #1\ }} but it doesn't work. Maybe it is a bug, ideed? Best, Vyatcheslav