From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/100186 Path: news.gmane.org!.POSTED!not-for-mail From: Fabrice Couvreur Newsgroups: gmane.comp.tex.context Subject: Re: Problem with a macro Date: Thu, 22 Feb 2018 22:15:25 +0100 Message-ID: References: <22B6AF2F-CB76-4620-954E-A5FD801C3563@me.com> <5A80D42E.4040604@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5117456746795852156==" X-Trace: blaine.gmane.org 1519334042 13346 195.159.176.226 (22 Feb 2018 21:14:02 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 22 Feb 2018 21:14:02 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 22 22:13:58 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eoyBi-00030t-CI for gctc-ntg-context-518@m.gmane.org; Thu, 22 Feb 2018 22:13:58 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5D8CE4E10E0; Thu, 22 Feb 2018 22:15:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jfnqjTVDDnjr; Thu, 22 Feb 2018 22:15:37 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id A09084E10D6; Thu, 22 Feb 2018 22:15:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0BE904E10D6 for ; Thu, 22 Feb 2018 22:15:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HLaer7wBwvBp for ; Thu, 22 Feb 2018 22:15:36 +0100 (CET) Original-Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 4CD9F4E10BD for ; Thu, 22 Feb 2018 22:15:26 +0100 (CET) Original-Received: by mail-wm0-f46.google.com with SMTP id q83so938227wme.5 for ; Thu, 22 Feb 2018 13:15:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=x6iQbGqND2E0H84T0lxH15rl0+wp//avYxqKz+dZIQM=; b=gyCkYbmS+la9L61xguYTg5GirWkPQFw51WpkHpk4HD7bTeGvIhd78EJ+Lu5OUcXGg8 YTiFuOsDMYZokfiWDg2kXcLrwNyyRAt15nEPwqc6GvXkvzkucSsAtMszpWgm9hrHgsCi cOzE8+TpYrxDLTQN5fBiz3aGwnm2ogKorOyHJK7uoFCQNNadmAuXsDJTC9iqIY1lNppN 9f0DHGb4ft/Ng7+v+te9pR1MOmcjhbgl3zxVRw0zA7ffbazrOs447W3VztxpKxrGX3+Q yyka0R43NDijNpI4cNMCcfVCfSD31QY7UV7ewx0t01LEFdohEKmVgM/zoysKVbuqLVLG 1g1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=x6iQbGqND2E0H84T0lxH15rl0+wp//avYxqKz+dZIQM=; b=SqkTGliFthFdXRLGtdWc9NZlcS3HyunbRA+68FClVWQWLVrBFdlnunwDI+h9xVO90Z y/NV2nAXB+DmMFTZ9/oCPZ30jBaZdeZXBGPDkTXm+O5ofWA0gNLRMmCnIIUHvc/lh6+q HzO7NOYjlLy1eaBvlGPH/Jbnn7QFNt+Kio1biGhWt9Q2T0P9GodeV8VArEJ5FWV4sZwu MAZyBNsRAW0jO3Kykz2Njra5APtt7MaQChg+KchEnvoNJqS64vNdT30oyXo5qyU/yQuV AMoA/0xIIc7yp5ioHcQcsEp3XWUrjnxIxz2VYJ5G8goJvNdbpqnAw1RCfel0joPSuqbv P2hQ== X-Gm-Message-State: APf1xPB4kyBAj3YPjM/6XUA+8U6p4M0Wfz7wrPTWiy5okYnHVc4PSEse gdiMrMxc7IU/MW1mzhKrG5fmJruTA/9PJtAMhGxytQ== X-Google-Smtp-Source: AH8x227ddI2sLIHogVtuIUWY+Qbp9SCt6tN6rWklLMKXoGxr4kATaVWOVxx09LoB9S3+FmrdBvNPCQTE1NnJqCVsUfg= X-Received: by 10.80.155.15 with SMTP id o15mr11231591edi.304.1519334125744; Thu, 22 Feb 2018 13:15:25 -0800 (PST) Original-Received: by 10.80.150.210 with HTTP; Thu, 22 Feb 2018 13:15:25 -0800 (PST) In-Reply-To: <5A80D42E.4040604@gmail.com> 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:100186 Archived-At: --===============5117456746795852156== Content-Type: multipart/alternative; boundary="94eb2c1aed2adc39f40565d38a2b" --94eb2c1aed2adc39f40565d38a2b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, How to make the numbers of the integral are on the right with the macro of Hans ? Thanks Fabrice \setupmathdelimiter[integral][rightoffset=3D-3mu,exact=3Dyes,factor=3D2] \unexpanded\def\integ#1#2#3{\math{\autointegral{#1}{#2}{#3}\,\diff x}} \starttext \setupmathematics[integral=3Dnolimits] \startformula \int_{0}^{1} g(x)\,\diff x =3D 1 \stopformula \startformula \integ{1}{0}{g(x)}=3D1 \stopformula \stoptext 2018-02-12 0:39 GMT+01:00 Wolfgang Schuster : > > Jeong Dal > 12. Februar 2018 um 00:31 > Dear Otared, > > All of your examples yield the same output in which the numbers locate at > the top and at the bottom of the integral sign. > Is it what you expected? > I am looking for a way to place numbers at the right of the integral sign > under the \startformula =E2=80=A6 \stopformula environment as the output = of > $\displaystyle\int_1^4 =E2=80=A6$. > > > \starttext > > \startformula > \int_{0}^{1} g(x)\,\diff x =3D 1 > \stopformula > > \setupmathematics[integral=3Dnolimits] > > \startformula > \int_{0}^{1} g(x)\,\diff x =3D 1 > \stopformula > > \setupmathematics[integral=3Dlimits] > > \startformula > \int_{0}^{1} g(x)\,\diff x =3D 1 > \stopformula > > \stoptext > > > Wolfgang > > ____________________________________________________________ > _______________________ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ > --94eb2c1aed2adc39f40565d38a2b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,
How to make the numbers of the integral are on th= e right with the macro of Hans ?
Thanks
=
Fabrice

\setupmathdelimiter[integral][rightoffset=3D-= 3mu,exact=3Dyes,factor=3D2]
=C2=A0
\unexpanded\def\integ#1#2#3{\math= {\autointegral{#1}{#2}{#3}\,\diff x}}

\starttext

\setupmathe= matics[integral=3Dnolimits]

\startformula
\int_{0}^{1} g(x)\,\dif= f x =3D 1
\stopformula

\startformula
\integ{1}{0}{g(x)}=3D1\stopformula

\stoptext



2018-02-12 0:39 GMT+01:0= 0 Wolfgang Schuster <schuster.wolfgang@gmail.com>:=

12.=20 Februar 2018 um 00:31
Dear Otared,

All of y= our examples yield the same output=20 in which the numbers locate at the top and at the bottom of the integral sign.
Is it what you expected?=C2=A0
I am looking for a way to place numbers at the right of the integral sign under the \startformula =E2=80=A6 \stopformula environment as the output o= f=20 $\displaystyle\int_1^4 =E2=80=A6$.

\starttext

\startformula
\int_{0}^{1} g(x)\,\diff x =3D 1
\stopformula

\setupmathematics[integral=3Dnolimits]

\startformula
\int_{0}^{1} g(x)\,\diff x =3D 1
\stopformula

\setupmathematics[integral=3Dlimits]

\startformula
\int_{0}^{1} g(x)\,\diff x =3D 1
\stopformula

\stoptext


Wolfgang

_____________________________________________________________= ______________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-context@ntg.nl / <= a href=3D"http://www.ntg.nl/mailman/listinfo/ntg-context" rel=3D"noreferrer= " target=3D"_blank">http://www.ntg.nl/mailman/listinfo/ntg-context=
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/cont= ext-mirror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
_________________________________________________________________= __________________

--94eb2c1aed2adc39f40565d38a2b-- --===============5117456746795852156== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============5117456746795852156==--