From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/115949 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexandre Christe via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: new uplaod Date: Sat, 10 Sep 2022 09:45:38 +0200 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0928917082391591124==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5113"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alexandre Christe To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 10 09:46:36 2022 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oWvCG-00014i-At for gctc-ntg-context-518@m.gmane-mx.org; Sat, 10 Sep 2022 09:46:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0504D2A3E9F; Sat, 10 Sep 2022 09:46:00 +0200 (CEST) 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 fydUM4X_6W21; Sat, 10 Sep 2022 09:45:57 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 63AE72A432C; Sat, 10 Sep 2022 09:45:57 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 05F612A432B for ; Sat, 10 Sep 2022 09:45:53 +0200 (CEST) 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 QO167UQe3BOz for ; Sat, 10 Sep 2022 09:45:51 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.218.50; helo=mail-ej1-f50.google.com; envelope-from=aleks.christe@gmail.com; receiver= Original-Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 046932A3E9F for ; Sat, 10 Sep 2022 09:45:50 +0200 (CEST) Original-Received: by mail-ej1-f50.google.com with SMTP id l14so9092975eja.7 for ; Sat, 10 Sep 2022 00:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date; bh=iZCe1aN43ThugiaQDG5G9GBwAofsMqRLJwOV21F5Yho=; b=pixBOLhVRTipupvQnUsGwcsWclTQNhgMZ105AqukhupXVe8/3ua/VyGBpO0MgQOIGG 203BzzkNhnhrYn5k/qVlUn4jO8eognep34pjFTnt5SuOl4wGjHElfGkvGRtygjssbJ78 /aWLyapIf03Scrdn9AsnWVYaIl6H7gukWEoLyd8nFphX4b2hqvfC9yuKcseJooD59pyR D+UY2c1q0jgD4nQB68nJp59+GwrjsXLQH0bTrB6S7RmgA2PW9KOsjoh0INLOK/T+cA2j HfVq31v4HkaXu+BAwaWgFp1KWLvbRxwFzUHgAuwnUpGbg248MgA3p50d8cbWmRKTieOR 3LYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date; bh=iZCe1aN43ThugiaQDG5G9GBwAofsMqRLJwOV21F5Yho=; b=UaSxvE8/EkOnOWNTb0/pgOSWIV+2ung9yzDzIE6H0wIKxX2g/XjTuUU8e1pXv/6NAB +/gWw3Yn1og7LLNEfos15EWs8M2WmpyG/N4jCg3mDfVymDi58xiYMWMfDaBdfFHcxfrW rQQKZYf4MV+AK/csGZf4Tn6eqlO/cYaX305ZawHvp/wwB356zsY7YF80mc1/O66mVT8w BM1co2txarDbcMtbUDHaJS+q7sQeeu5qavzQ+c9/0ylLXSsGJlLWfUk5FClKfYu96rGn 8XECkyxVVgKhs8vdG2iv7LvfZRgrSpUR8NkjKs2nnEs7zTZrgPsUqup6dmNiXTvr5jGU JcJw== X-Gm-Message-State: ACgBeo2c1TsVWpfmRDrsfDZ+1IAE33MDtZXZ3Gszzr3mDQgYQGqyz2aR DwZnReRgdcHIMAlB5kskzIskUCRb3QEumFnIipFx/gU4IQQ= X-Google-Smtp-Source: AA6agR5DgdSgp7MW32WsEam6EpT1igekd2AyExkNteqJ2FFFq6Fo9hVxg6hiE4bZszuPsSxAEPLoQsT8Jw5fjWvGgPo= X-Received: by 2002:a17:907:6d99:b0:770:7e4c:ba15 with SMTP id sb25-20020a1709076d9900b007707e4cba15mr12240196ejc.259.1662795949814; Sat, 10 Sep 2022 00:45:49 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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.io gmane.comp.tex.context:115949 Archived-At: --===============0928917082391591124== Content-Type: multipart/alternative; boundary="000000000000ec3b8d05e84dd919" --000000000000ec3b8d05e84dd919 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Hans, Will \mvert and \mid also be included in the \autofence logic? It would be quite useful. Le jeu. 25 ao=C3=BBt 2022 =C3=A0 18:18, Hans Hagen via ntg-context a =C3=A9crit : > Hi, > > I uploaded a new lmtx. Again some updated math of which details will be > revealed later. Apart from some details we added suport for fourier > notations. There are no high level definitions yet as we have to invent > names but this is how it works (private unicode slots might change): > > \setupbodyfont[pagella] > > \starttext > > \setupmathdelimited > [topoffset=3D.2\exheight] > > \definemathdelimited > [fourier] > [rule=3Dno, > left=3D\zerocount, > right=3D"FE944] > > \definemathdelimited > [courier] > [rule=3Dno, > left=3D\zerocount, > right=3D"FE946] > > \definemathdelimited > [xourier] > [rule=3Dno, > left=3D\zerocount, > right=3D"FE948] > > $ \fourier{(z+1)} $ > > $ \fourier{(z+1)} + \sqrt[2]{1}$ > > $ \fourier{(z+1)} + \courier{(z+1)} + \xourier{(z+1)} $ > > $ \fourier{\left(z+\frac12\right)} + \courier{\left(z+\frac12\right)} + > \xourier{\left(z+\frac12\right)} $ > > $ \autofences \fourier{(z+\frac12)} + \courier{(z+\frac12)} + > \xourier{(z+\frac12)} $ > > $ \widehat{x^2 + 2x + 2} $ > > \stoptext > > This example also shows a new \autofences feature and widehats > (widetilde and widecheck also work that way) that overcome limitations > in fonts, so > > \def\CrappyHack#1{\im{#1{a} + #1{a+b} + #1{a+b+c} + #1{a+b+c+d} + > #1{a+b+c+d+e} + #1{a+b+c+d+e+f}}\par} > \CrappyHack\widehat > \CrappyHack\widetilde > \CrappyHack\wideacute > \CrappyHack\widecheck > > will work. For thise in finance we now have > > $ \annuity{x + 1} + \lannuity{x + 1} + \rannuity{x + 1} + \lrannuity{x + > 1} $ > > these are basically radicals (like sqrt) with two sided symbols. > > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > _________________________________________________________________________= __________ > --000000000000ec3b8d05e84dd919 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Hans,

Will=C2=A0\mvert= =C2=A0and=C2=A0\mid also be included in the \autofence logic? It would be quite useful.

Le=C2=A0jeu. 2= 5 ao=C3=BBt 2022 =C3=A0=C2=A018:18, Hans Hagen via ntg-context <ntg-context@ntg.nl> a =C3=A9crit=C2= =A0:
Hi,

I uploaded a new lmtx. Again some updated math of which details will be revealed later. Apart from some details we added suport for fourier
notations. There are no high level definitions yet as we have to invent names but this is how it works (private unicode slots might change):

\setupbodyfont[pagella]

\starttext

\setupmathdelimited
=C2=A0 =C2=A0[topoffset=3D.2\exheight]

\definemathdelimited
=C2=A0 =C2=A0[fourier]
=C2=A0 =C2=A0[rule=3Dno,
=C2=A0 =C2=A0 left=3D\zerocount,
=C2=A0 =C2=A0 right=3D"FE944]

\definemathdelimited
=C2=A0 =C2=A0[courier]
=C2=A0 =C2=A0[rule=3Dno,
=C2=A0 =C2=A0 left=3D\zerocount,
=C2=A0 =C2=A0 right=3D"FE946]

\definemathdelimited
=C2=A0 =C2=A0[xourier]
=C2=A0 =C2=A0[rule=3Dno,
=C2=A0 =C2=A0 left=3D\zerocount,
=C2=A0 =C2=A0 right=3D"FE948]

$ \fourier{(z+1)} $

$ \fourier{(z+1)} + \sqrt[2]{1}$

$ \fourier{(z+1)} + \courier{(z+1)} + \xourier{(z+1)} $

$ \fourier{\left(z+\frac12\right)} + \courier{\left(z+\frac12\right)} + \xourier{\left(z+\frac12\right)} $

$ \autofences \fourier{(z+\frac12)} + \courier{(z+\frac12)} +
\xourier{(z+\frac12)} $

$ \widehat{x^2 + 2x + 2} $

\stoptext

This example also shows a new \autofences feature and widehats
(widetilde and widecheck also work that way) that overcome limitations
in fonts, so

\def\CrappyHack#1{\im{#1{a} + #1{a+b} + #1{a+b+c} + #1{a+b+c+d} +
#1{a+b+c+d+e} + #1{a+b+c+d+e+f}}\par}
\CrappyHack\widehat
\CrappyHack\widetilde
\CrappyHack\wideacute
\CrappyHack\widecheck

will work. For thise in finance we now have

$ \annuity{x + 1} + \lannuity{x + 1} + \rannuity{x + 1} + \lrannuity{x + 1} $

these are basically radicals (like sqrt) with two sided symbols.

Hans


-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / https://www.ntg.nl/mailman/listinfo/= ntg-context
webpage=C2=A0 : https://www.pragma-ade.nl / http://context.aanhet.net
archive=C2=A0 :
https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: https://contextgarden.net
___________________________________________________________________________= ________
--000000000000ec3b8d05e84dd919-- --===============0928917082391591124== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cHM6Ly93d3cubnRnLm5sL21haWxtYW4v bGlzdGluZm8vbnRnLWNvbnRleHQKd2VicGFnZSAgOiBodHRwczovL3d3dy5wcmFnbWEtYWRlLm5s IC8gaHR0cDovL2NvbnRleHQuYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHBzOi8vYml0YnVja2V0 Lm9yZy9waGcvY29udGV4dC1taXJyb3IvY29tbWl0cy8Kd2lraSAgICAgOiBodHRwczovL2NvbnRl eHRnYXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============0928917082391591124==--