From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66431 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Comma spacing in math mode Date: Sun, 27 Feb 2011 14:58:41 -0500 (EST) Message-ID: References: <4D69BFDA.7030302@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1298836758 28246 80.91.229.12 (27 Feb 2011 19:59:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Feb 2011 19:59:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 27 20:59:14 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ptmlt-0003NU-BD for gctc-ntg-context-518@m.gmane.org; Sun, 27 Feb 2011 20:59:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CD3F5CAA77; Sun, 27 Feb 2011 20:59:12 +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 CSiQ746V5Xf2; Sun, 27 Feb 2011 20:58:58 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3BFB8CAA6F; Sun, 27 Feb 2011 20:58:58 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EE972CAA6F for ; Sun, 27 Feb 2011 20:58:56 +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 T5mvWbfTJ01O for ; Sun, 27 Feb 2011 20:58:45 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id CC4B1C9A7C for ; Sun, 27 Feb 2011 20:58:45 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.12.86]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1RJwhEt001592 for ; Sun, 27 Feb 2011 20:58:45 +0100 Original-Received: FROM adi-netbook (bas3-montreal02-1096682363.dsl.bell.ca [65.94.11.123]) By tombraider.mr.itd.umich.edu ID 4D6AACF2.5422B.14522 ; Authuser adityam; 27 Feb 2011 14:58:42 EST In-Reply-To: <4D69BFDA.7030302@googlemail.com> User-Agent: Alpine 2.01 (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: 0rEd7WIs2 - d326a8426786 - 20110227 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:66431 Archived-At: On Sun, 27 Feb 2011, S Barmeier wrote: > I don't know if anyone feels the same, but I'm not happy with the > spacing of commas in math mode (pictures attached). For instance, > typesetting H^1(X,F), the comma seems to be closer to the F than to the > X. Equal spacing on both sides or setting the comma closer to the X are > I guess a matter of taste (inserting a \neghairspace after the X > achieves the latter). In any case, I would kind of prefer equal spacing. \setupmathematics[autopunctuation=no] @Hans: I would suggest that this should be made the default. > Also, it seems odd that adding a negative space \neghairspace does not > change the length of the total formula - I had expected the modified one > to be slightly shorter...? I don't know about this. > On a related issue, the spacing for lists, e.g. (0,0,...,0), is not > satisfactory. LaTeX provides a command \dotsc for dots between commas > (and other commands like \dotsm, \dotsi, \dotsb). I don't know if all of > these are necessary, but \dotsc and its cousins are not defined in > ConTeXt and both using \ldots or just ... give unsatisfactory results. > (It is also curious that the spacing after the first comma and the > spacing after the last comma in (0,0,...,0) is evidently different...) > Personally, I think I favour something approximating (0, 0, ..., 0) and > I find \ldots is spaced too widely, ... too closely, and in any case, > the spacing of the dots doesn't match with the spacing of the commas. > > Any second opinions? Adding the \dots(m|i|b|) etc from amsmath is a good idea. I will look into that. > P.S.: I'm also confused about \colon and : - the latter looks better to > me in $i: A \to B$. The spacing for projective coordinates [1:0: ... :0] > is wide but still acceptable. The index of a subgroup |G:H| is far too > widely spaced, but \colon only gives asymmetrical spacing. > The semicolon seems to undergo the same spacing as the comma, with the > same problems mentioned above. I think that the spacing of $i \colon A \to B$ is correct. (Compare from plain TeX output). I don't know what do you expect from |G:H|. : is defined as a relation and \colon is defined as a punctuation. Does |G{:}H| look better? (which forces : to be a math ord). > P.P.S.: \hairspace does not seem to have any effect in math mode, while > \neghairspace does. Bug or feature? Don't know. Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________