From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66434 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Stefan_M=FCller?= Newsgroups: gmane.comp.tex.context Subject: Re: Comma spacing in math mode Date: Sun, 27 Feb 2011 23:49:09 +0100 Message-ID: <4D6AD4E5.2000907@gmx.de> 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 1298847087 11736 80.91.229.12 (27 Feb 2011 22:51:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 27 Feb 2011 22:51:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Feb 27 23:51:23 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 1PtpSU-00016H-QP for gctc-ntg-context-518@m.gmane.org; Sun, 27 Feb 2011 23:51:22 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9C2C8CAA72; Sun, 27 Feb 2011 23:51:22 +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 wmA6qS3+48en; Sun, 27 Feb 2011 23:51:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9CF92CAA76; Sun, 27 Feb 2011 23:49:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 64BCFCAA75 for ; Sun, 27 Feb 2011 23:49:44 +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 fWGwSnmzOgJR for ; Sun, 27 Feb 2011 23:49:30 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 42DF3CAA76 for ; Sun, 27 Feb 2011 23:49:30 +0100 (CET) Original-Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with SMTP id p1RMnTvk003147 for ; Sun, 27 Feb 2011 23:49:29 +0100 Original-Received: (qmail invoked by alias); 27 Feb 2011 22:49:27 -0000 Original-Received: from 77-64-135-9.dynamic.primacom.net (EHLO [192.168.100.108]) [77.64.135.9] by mail.gmx.net (mp004) with SMTP; 27 Feb 2011 23:49:27 +0100 X-Authenticated: #11064435 X-Provags-ID: V01U2FsdGVkX1+NYKwWgh6NVBTj5ot6obdCJlWMhSL8Ipyl1w4EcE 7ttAk24mop9o6L User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: X-Y-GMX-Trusted: 0 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.165.64.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bEdaNtNR - 6562f6d6bcfb - 20110227 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:66434 Archived-At: Hi! On 27.02.2011 20:58, Aditya Mahajan wrote: > 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. IMO this does only partially help, consider the following example: \starttext $(B, Y, R, X)$ \setupmathematics[autopunctuation=no] $(B, Y, R, X)$ \stoptext In both lines the spacing after "Y" is way to big. I don't know if that's a bug or just ugly. (version 2011.02.15 16:11) >> 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. +1. I normally use "$x, \dots\, ,x$" because then the spacing between the periods looks the same as between the commas and the periods, which I prefer. I personally appreciate the wider spacing in \dots. Stefan ___________________________________________________________________________________ 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 ___________________________________________________________________________________