From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/30313 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: How to make startalignment middle not change the linewidth Date: Tue, 15 Aug 2006 21:00:56 -0400 (EDT) Message-ID: References: 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 1155690091 32692 80.91.229.2 (16 Aug 2006 01:01:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 Aug 2006 01:01:31 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 16 03:01:27 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 1GD9mZ-0007iG-Jp for gctc-ntg-context-518@m.gmane.org; Wed, 16 Aug 2006 03:01:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EF7C31FC78; Wed, 16 Aug 2006 03:01:18 +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 22505-02-5; Wed, 16 Aug 2006 03:01:10 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 985431FC90; Wed, 16 Aug 2006 03:01:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E49C91FC90 for ; Wed, 16 Aug 2006 03:01:06 +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 22505-02-4 for ; Wed, 16 Aug 2006 03:01:01 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with SMTP id 2BD091FC78 for ; Wed, 16 Aug 2006 03:01:00 +0200 (CEST) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY skycaptain.mr.itd.umich.edu ID 44E26E4B.D7EB3.5082 ; 15 Aug 2006 21:00:59 -0400 Original-To: mailing list for ConTeXt users In-Reply-To: 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:30313 Archived-At: On Tue, 15 Aug 2006, Aditya Mahajan wrote: > Hi, > It seems that startalignment[middle] does not like long lines. > Consider the following example (not strictly minimal, but I can not > get such a marginal case with default setup). > > \setuppapersize[letter][letter] > > \setuplayout[ > width=middle, > height=middle, > location=middle, > topspace=.75in, > bottomspace=0.75in, > backspace=0.75in, > cutspace=0.75in, > leftmargin=0in, > rightmargin=0in, > leftmargindistance=0in, > rightmargindistance=0in, > header=0in, > footer=0in, > headerdistace=0in, > footerdistance=0in, > ] > > \definetypeface[ieee] [rm] [serif] [times] [texansi] > \definetypeface[ieee] [mm] [maths] [modern] [texansi] Duh, I need to learn how to do font setup correctly and without typos. Even with the correction, \definetypeface[ieee] [rm] [serif] [times] [default] [texnansi] \definetypeface[ieee] [mm] [maths] [modern] [default] [texnansi] the linebreaking is the same as before. > \setupbodyfont[ieee,10pt] > > \definefont[TitleFont] [Regular at 24pt] > > \setvariables[paper] > [ title={Optimal Performance of Feedback Control Systems with > Limited Communication over Noisy Channels}] > > \starttext > {\TitleFont\setupinterlinespace > \getvariable{paper}{title} > \blank[1.0em]\endgraf} > > \startalignment[middle] > {\TitleFont\setupinterlinespace > \getvariable{paper}{title} > \blank[1.0em]\endgraf} > \stopalignment > \stoptext > > How can I get the same linebreaking as the first case, but with each > line middle aligned? > > Aditya > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > > > -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008