From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/91726 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: How to typeset differential (math)? Date: Wed, 17 Jun 2015 10:25:35 -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="0-1034559040-1434550886=:53757" X-Trace: ger.gmane.org 1434551444 25394 80.91.229.3 (17 Jun 2015 14:30:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Jun 2015 14:30:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 17 16:30:29 2015 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z5EM9-0007fh-LF for gctc-ntg-context-518@m.gmane.org; Wed, 17 Jun 2015 16:30:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 09CC410217 for ; Wed, 17 Jun 2015 16:30:21 +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 xaA-SDLIDWHh for ; Wed, 17 Jun 2015 16:30:20 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5AAEF10235 for ; Wed, 17 Jun 2015 16:29:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4027101F6 for ; Wed, 17 Jun 2015 16:29:19 +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 wEz4KisReK1G for ; Wed, 17 Jun 2015 16:29:18 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 349E0101F7 for ; Wed, 17 Jun 2015 16:25:46 +0200 (CEST) Original-Received: from orford.cim.mcgill.ca (orford.cim.mcgill.ca [132.206.73.2]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id t5HEPZTW019968 for ; Wed, 17 Jun 2015 16:25:37 +0200 Original-Received: from [192.168.0.100] (unknown [135.0.226.164]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: adityam) by orford.cim.mcgill.ca (Postfix) with ESMTPSA id 63104F7A77 for ; Wed, 17 Jun 2015 10:25:34 -0400 (EDT) In-Reply-To: User-Agent: Alpine 2.02 (OSX 1266 2009-07-14) Content-ID: X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=132.206.73.2; country=CA; region=Quebec; city=Montreal; latitude=45.5088; longitude=-73.5878; http://maps.google.com/maps?q=45.5088,-73.5878&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03OFqpzTb - 7ace5c1e1d23 - 20150617 (trained as not-spam) Received-SPF: neutral (filter3-ams.mf.surf.net: 132.206.73.2 is neither permitted nor denied by domain adityam@umich.edu) receiver=filter3-ams.mf.surf.net; client-ip=132.206.73.2; envelope-from=; helo=orford.cim.mcgill.ca; identity=mailfrom X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 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" Xref: news.gmane.org gmane.comp.tex.context:91726 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. --0-1034559040-1434550886=:53757 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: On Wed, 17 Jun 2015, Proch=E1zka Luk=E1=A8 Ing. - Pontex s. r. o. wrote: > Hello, > > thanks for the solution: \define\dif{\mathop{}\!\mfunction{d}} Another alternative is (untested) \definemathcommand[dif][nolop]{\mfunction{d}\kern\zeropoint} > Some explanation for \mathop and \mfunction would be appreciated, > and also explanation why \definemathcommand[dif][nolop]{\mfunction{d}} di= dn't=20 > work... Roughtly, the above exapnds to \define\dif{\mathop{\mfunction{d}}\nolimits} When the argument of \mathop is a single character (d, in this case),=20 mathop centers the charater on the 'math-axis'. The rationale is that such= =20 a behavior is desirable when defining single letter math operators such as= =20 sum, int, bigcap, bigcup, etc. Adding \kern\zeropoint makes TeX think that= =20 the argument of \mathop is more than a single character, so it does not=20 center d along the math-axis. Aditya --0-1034559040-1434550886=:53757 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --0-1034559040-1434550886=:53757--