From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28006 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: vertically centered aligment of different sized texts Date: Tue, 16 May 2006 20:02:50 -0400 (EDT) Message-ID: References: <20060516235035.GI29682@obiit.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147824070 23275 80.91.229.2 (17 May 2006 00:01:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 17 May 2006 00:01:10 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed May 17 02:01:07 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1Fg9TJ-0000Rp-La for gctc-ntg-context-518@m.gmane.org; Wed, 17 May 2006 02:01:01 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1097B12797; Wed, 17 May 2006 02:01:01 +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 04544-06; Wed, 17 May 2006 02:00:58 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7A4241277E; Wed, 17 May 2006 02:00:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8BA571277E for ; Wed, 17 May 2006 02:00:55 +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 04495-02 for ; Wed, 17 May 2006 02:00:54 +0200 (CEST) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with SMTP id 0F7B61276F for ; Wed, 17 May 2006 02:00:51 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY hellskitchen.mr.itd.umich.edu ID 446A67B0.ECC3D.5860 ; 16 May 2006 20:00:50 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: <20060516235035.GI29682@obiit.org> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:28006 Archived-At: On Wed, 17 May 2006, frantisek holop wrote: > hi there, > > another question to which shamefully i cannot find the answer. > perhaps it's just too late... > > > consider the following example: > > > \definefont[BigFont][Regular sa 3] > \starttext > {\tfc The {\BigFont 7}\high{th} Seal} > \stoptext > > > how can i make that line vertically centered, like > --, > the /th seal > / > > :) > I do not know if this is the best way to do this, but you can exploit inframed. {\tfc The \inframed[foregroundstyle=\BigFont,frame=off]{ 7}\high{th} Seal} or {\tfc The \inframed[foregroundstyle=\BigFont,frame=off]{ 7\high{th}} Seal} depending on what you want. > is \startalignment used for this? I think that startalignment is only for horizontal alignment, but I may be wrong here. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008