From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@xs4all.nl>
Subject: new uplaod
Date: Thu, 25 Aug 2022 18:17:11 +0200 [thread overview]
Message-ID: <cb9bd513-5f0f-37e7-fdd1-67740db1efd8@xs4all.nl> (raw)
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=.2\exheight]
\definemathdelimited
[fourier]
[rule=no,
left=\zerocount,
right="FE944]
\definemathdelimited
[courier]
[rule=no,
left=\zerocount,
right="FE946]
\definemathdelimited
[xourier]
[rule=no,
left=\zerocount,
right="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
___________________________________________________________________________________
next reply other threads:[~2022-08-25 16:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-25 16:17 Hans Hagen via ntg-context [this message]
2022-09-10 7:45 ` Alexandre Christe via ntg-context
2022-09-10 21:24 ` Hans Hagen via ntg-context
2022-09-11 18:41 ` Hans Hagen via ntg-context
2022-09-22 10:59 ` Alexandre Christe via ntg-context
2023-04-17 8:54 ` [NTG-context] " Alexandre Christe via ntg-context
-- strict thread matches above, loose matches on Subject: below --
2022-01-18 9:55 Hans Hagen via ntg-context
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cb9bd513-5f0f-37e7-fdd1-67740db1efd8@xs4all.nl \
--to=ntg-context@ntg.nl \
--cc=j.hagen@xs4all.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).