From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79269 Path: news.gmane.org!not-for-mail From: Otared Kavian Newsgroups: gmane.comp.tex.context Subject: Re: vertical alignment problem in column items Date: Sat, 17 Nov 2012 06:21:24 +0100 Message-ID: <355EB879-4ADD-48B5-B505-D80641E4F9D8@gmail.com> References: <2ADB3341-64D9-4994-84A6-CAF5A72EA87A@me.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353129711 21619 80.91.229.3 (17 Nov 2012 05:21:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2012 05:21:51 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Nov 17 06:22:01 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 1TZaqu-0007Bt-LW for gctc-ntg-context-518@m.gmane.org; Sat, 17 Nov 2012 06:22:00 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1A7D7102DC; Sat, 17 Nov 2012 06:21:50 +0100 (CET) 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 QO9CDTdLW84W; Sat, 17 Nov 2012 06:21:47 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2AFA0102EA; Sat, 17 Nov 2012 06:21:47 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9328102EA for ; Sat, 17 Nov 2012 06:21:45 +0100 (CET) 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 1KpZmYKwk3E8 for ; Sat, 17 Nov 2012 06:21:44 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (unknown [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 7E8CA102DC for ; Sat, 17 Nov 2012 06:21:39 +0100 (CET) Original-Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAH5LREF027822 for ; Sat, 17 Nov 2012 06:21:28 +0100 Original-Received: by mail-wi0-f173.google.com with SMTP id hm2so4778455wib.2 for ; Fri, 16 Nov 2012 21:21:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=sYBxJNVMKYugePKmTFmG5JUjxmAOuzgkcjCuBAL+L4g=; b=ioZ6Z3iLeKrL2Ef4sphZccf2ZwYQvRwyDBfIj+QjB5JhHVIRaXgp0DeK8lGIve5mqq /4qd5iSNOm0oM+iBCO0ryZCoZWBnA7MieaRtqqI3lNHvJUmEUsS6z6NuVZLlXZyanLq2 J3pq1pflEx9vDISahO2Un/3ByY1wvB2khUB/kMGOIrNqsnG3RNrJDScH3g4uI7EuLL5V NBz6WL+ZgKV1XJT/pt6UphrXHiwKBWCqrH5GaWFrObxionx0siwY03DyW5vcL9edyrXE 1N82vlv/ufadW9Ri11Xd20gwLikQM65Wi/xYMuYpvsZzAeMRhSm5vzchR7cYo4CCapS6 HXOQ== Original-Received: by 10.216.209.6 with SMTP id r6mr26535weo.51.1353129687567; Fri, 16 Nov 2012 21:21:27 -0800 (PST) Original-Received: from [192.168.0.20] (seg75-6-82-236-32-4.fbx.proxad.net. [82.236.32.4]) by mx.google.com with ESMTPS id d16sm3482248wiw.8.2012.11.16.21.21.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 16 Nov 2012 21:21:26 -0800 (PST) In-Reply-To: <2ADB3341-64D9-4994-84A6-CAF5A72EA87A@me.com> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.173; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RIotlrxD - 9d2627d4e8a2 - 20121117 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:79269 Archived-At: Hi Dalyoung, I think that there must be a small bug in mkiv regarding itemize in columns, but at the same time I think that the problem comes from the fact that in your example you use inline maths and fractions: this perturbs the way the horizontal and vertical distances are calculated by mkiv. It seems that mkiv considers there is not enough horizontal space to put the four items in a row. If you use two columns the problem is solved, as you can see in the following examples (please typest it both with mkii and mkiv to see the differences). Best regards: OK %%% begin itemize-dist-bug.tex \starttext \setupitemize[1][n] % first level itemize \setupitemize[2][a,paragraph,columns][stopper=)] % second level itemize %If you want more than two columns by default add "n=x" \startitemize \item Item one \item Find a well-ordered set: \startitemize[n=4] % <--- gives correct output both in mkii and mkiv \item sub-one \item sub-two \item sub-three \item sub-four \stopitemize \hairline \startitemize[n=4] % <--- gives correct output in mkii, but not in mkiv \item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$ \item $[0, 1)$ \item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$ \item $ \reals$ \stopitemize \hairline \startitemize[n=4] % <--- gives incorrect output both in mkii and mkiv \item $\{ 2 + n^{-1}, n \in\naturalnumbers\}$ \item $[0, 1)$ \item $\{3 - 2n^{-1}, n \in \naturalnumbers\}$ \item $ \reals$ \stopitemize \hairline \startitemize[n=2] % <--- gives correct output both in mkii and mkiv \item sub-one \item sub-two \item sub-three \item sub-four \stopitemize \hairline \startitemize[n=2] % <--- gives correct output both in mkii and in mkiv \item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$ \item $[0, 1)$ \item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$ \item $ \reals$ \stopitemize \hairline \startitemize[n=2] % <--- gives correct output both in mkii and mkiv \item $\{ 2 + n^{-1}, n \in\naturalnumbers\}$ \item $[0, 1)$ \item $\{3 - 2n^{-1}, n \in \naturalnumbers\}$ \item $ \reals$ \stopitemize \hairline \stoptext %%% end itemize-dist-bug.tex Best regards: OK On 17 nov. 2012, at 05:03, Jeong Dal wrote: > Dear all, > > In the following example, the vertical alignment of items looks strange. > > I wonder it is my only problem. > Is there anything what I have to do to correct it? > > Thank you. > > Best regards, > > Dalyoung > > % sample code > > \starttext > \startitemize > > \item Find a well-ordered set. > > \startitemize[n, columns, four][stopper=,left=(, right=)] > \item $\{ 2 + \frac{1}{n}, n \in\naturalnumbers\}$ > \item $[0, 1)$ > \item $\{3 - \frac{2}{n}, n \in \naturalnumbers\}$ > \item $ \reals$ > \stopitemize > \stopitemize > \stoptext > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________