From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78539 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Some align observations Date: Tue, 2 Oct 2012 11:56:02 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1583135639-1349193363=:9816" X-Trace: ger.gmane.org 1349193276 17324 80.91.229.3 (2 Oct 2012 15:54:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2012 15:54:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 02 17:54:38 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TJ4nM-000521-Gs for gctc-ntg-context-518@m.gmane.org; Tue, 02 Oct 2012 17:54:04 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C0FE10245; Tue, 2 Oct 2012 17:53:58 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XtJyzMrhNtgs; Tue, 2 Oct 2012 17:53:55 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 63BF2101F2; Tue, 2 Oct 2012 17:53:55 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 43F8B101F2 for ; Tue, 2 Oct 2012 17:53:54 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Il6pAw3QzBrq for ; Tue, 2 Oct 2012 17:53:53 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 07538101F1 for ; Tue, 2 Oct 2012 17:53:53 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q92Foe79015795 for ; Tue, 2 Oct 2012 17:50:42 +0200 Original-Received: FROM Decentralized.ECE.McGill.CA (Decentralized.ECE.McGill.CA [132.206.69.142]) By tombraider.mr.itd.umich.edu ID 506B0E0C.1FA7B.20494 ; Authuser adityam; 2 Oct 2012 11:53:48 EDT In-Reply-To: User-Agent: Alpine 2.02 (LNX 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.12.86; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WI6fOFWD - c993e62ea768 - 20121002 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78539 Archived-At: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1583135639-1349193363=:9816 Content-Type: TEXT/PLAIN; charset=iso-8859-2; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Tue, 2 Oct 2012, Proch=E1zka Luk=E1=B9 Ing. - Pontex s. r. o. wrote: > Hello, > > I'm just curious: > > I tried to apply align specification to \b/e-TABLE, inframed,=20 > \start/stop-alignment and \start/stop-tabulate: > > ---- > \setupbodyfont[11pt] > > \starttext > \bTABLE > \setupTABLE[width=3D4cm,align=3Dmiddle] > \setupTABLE[column][1][align=3Dleft] > \setupTABLE[column][4][align=3Dright] > \bTR > \bTD ali=3DL\eTD > \bTD B\eTD > \bTD \inframed[width=3D1.5cm,align=3Dleft]{ali=3DL}\eTD > \bTD ali=3DR\eTD > \eTR > \eTABLE > > \startalignment[left] > \input tufte > \stopalignment > > \starttabulate[|pl|pc|pr|] > \NC ali=3DL \input tufte\NC\input tufte\NC ali=3DR \input tufte\NC\NR > \stoptabulate > \stoptext > ---- > > The text aligned by "align=3Dleft" inside TABLE cell, inside \inframed an= d=20 > inside \startalignment is aligned to the right border of the "bounding bo= x"=20 > (ragged left). > > The text aligned by "align=3Dleft" inside \start/stop-tabulate is aligned= to=20 > the left edge of the "bounding box". That is not align=3Dleft but the `l` key. Read it as leftflushed :) > I must admit than tabulate's behavior seems more natural to me, but this = may=20 > be just my point of view. > > Anyway, why the behavior of alignment specification is different for=20 > {\b/e-TABLE, \inframed, \start/stop-alignment} and {\start/stop-tabulate}= ? > > Wouldn't be nice to unite it? This is for historic reasons, (I think that there is a wiki FAQ on this).= =20 The easiest solution is to forget about left and right and use leftflushed= =20 and rightflushed. Aditya --8323328-1583135639-1349193363=:9816 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --8323328-1583135639-1349193363=:9816--