From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79981 Path: news.gmane.org!not-for-mail From: Andreas Mang Newsgroups: gmane.comp.tex.context Subject: Re: spacing: units in math Date: Wed, 19 Dec 2012 19:18:18 +0100 Message-ID: References: <736FF04E-8816-4868-B06F-1F41434CA0BE@imt.uni-luebeck.de> <201211302043.16609.romain.diss@yahoo.fr> <2ACD0816-86A3-4A01-A1EF-1D0816845172@imt.uni-luebeck.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1355941109 5324 80.91.229.3 (19 Dec 2012 18:18:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2012 18:18:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Dec 19 19:18:43 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 1TlOE6-0002nP-CD for gctc-ntg-context-518@m.gmane.org; Wed, 19 Dec 2012 19:18:42 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9B02D10284; Wed, 19 Dec 2012 19:18:28 +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 dCwUAAvINFuk; Wed, 19 Dec 2012 19:18:26 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 83AB110200; Wed, 19 Dec 2012 19:18:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1340B101F7 for ; Wed, 19 Dec 2012 19:18:24 +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 p39rJO+lxVm8 for ; Wed, 19 Dec 2012 19:18:22 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id DA67910258 for ; Wed, 19 Dec 2012 19:18:21 +0100 (CET) Original-Received: from ip1.rz.uni-luebeck.de (ip1.rz.uni-luebeck.de [141.83.100.71]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qBJIIK61023822 for ; Wed, 19 Dec 2012 19:18:21 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAFAMED0lCNU3BB/2dsb2JhbABEgmy7ERZzgh4BAQEDAQEBAXsLAgEIRicLJQEBBBMbh2YDCQcDCLgbi2Rpg2JhA4gsjAyCboobhRGCdQ Original-Received: from mail.imt.uni-luebeck.de ([141.83.112.65]) by ip1.rz.uni-luebeck.de with ESMTP; 19 Dec 2012 19:18:20 +0100 Original-Received: from mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165]) by mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165%10]) with mapi; Wed, 19 Dec 2012 19:18:20 +0100 Thread-Topic: [NTG-context] spacing: units in math Thread-Index: Ac3eFTj8zT12qJl6Soexm5SB4uSlAQ== In-Reply-To: <2ACD0816-86A3-4A01-A1EF-1D0816845172@imt.uni-luebeck.de> Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, de-DE X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.83.100.71; 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: 0NIBuikHy - edde3fb4f641 - 20121219 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:79981 Archived-At: Hi there, sorry for being such a pain in the neck. = Is there going to be a solution considering the spacing problems with the u= se of units (native mkiv command) in near future (within 2-3 weeks)? If the= re is none and I am not doing something wrong, I'll add a local work around= every time I use units. As this is much work, I'd appreciate if someone to= ld me if this is something that might be fixed soon. If not I'm good - I ju= st need to know. Explanation of my problem: Maybe I am doing something wrong, but in the res= ulting document the spacing is bigger in math mode then in the text mode in= case I use \units{...}. In particular, the distance for the decimal separa= tor is as if I would type $1,2$ instead of $1{,}2$ (example: $\units{1,2}$)= . = Thanks. Cheers, Andreas Am Dec 11, 2012 um 1:49 PM schrieb Andreas Mang : > Hi, > = > I still do have problems with a wrong spacing between number and unit in = math mode (minimal example below). Clearly, I could do something like > = > $\alpha =3D $ \unit{1,2 meter} > = > but I think this is likely to result in problems with the look of the res= ult in case this is close to a line break. > = > Cheers, > Andreas > = > %%%%%%%% MINIMAL EXAMPLE %%%%%%%% > \starttext > \unit{1,2 meter} % what I would expect > = > $\unit{1,2 meter}$ % wrong spacing > = > $\unit{1{,}2 meter}$ % there is no output after "1" > \stoptext > %%%%%%%% MINIMAL EXAMPLE %%%%%%%% > = > = > Am Nov 30, 2012 um 8:43 PM schrieb Romain Diss : > = >> Le jeudi 29 novembre 2012, Andreas Mang a =E9crit : >>> Hi there, >>> = >>> I encountered some problems with the built in units command in MKIV. I >>> provide a minimal example which should demonstrate my problems. Maybe I= am >>> doing something wrong... >>> = >>> \setupbodyfont[pagella] >>> \starttext >>> \unit{11,1e-1 micro mol per second} \par = >>> $\unit{11,1e-1 micro mol per second}$ \par >>> \unit{11,1e-1 per second} \par >>> \unit{11,1e-1 / second} \par >>> \stoptext >> Don't know for the first two, but the last two should be replaced by: >> \unit{11,1e-1 inverse second} >> = >> All the best. >> = >> = >> -- = >> Romain Diss >> >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o the Wiki! >> = >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-c= ontext >> 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-co= ntext > 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________