From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id 0815F23C8A for ; Wed, 28 Feb 2024 09:06:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id C1B12484654 for ; Wed, 28 Feb 2024 09:05:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nkVk66GmEhOa for ; Wed, 28 Feb 2024 09:05:16 +0100 (CET) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 9A99848474B for ; Wed, 28 Feb 2024 09:02:01 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id D71C14844B2 for ; Wed, 28 Feb 2024 09:00:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uTn01uZoNc1C for ; Wed, 28 Feb 2024 09:00:56 +0100 (CET) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.219.173; helo=mail-yb1-f173.google.com; envelope-from=fvleung@gmail.com; receiver= Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id 8A38E4844AD for ; Wed, 28 Feb 2024 09:00:56 +0100 (CET) Received: by mail-yb1-f173.google.com with SMTP id 3f1490d57ef6-dccb1421bdeso5202082276.1 for ; Wed, 28 Feb 2024 00:00:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709107255; x=1709712055; darn=ntg.nl; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=DIOyUE+ssI0UC/jHqx35G2QXZ+3B+aMQQUs8OeCKU0Q=; b=mabW55QI4dX7q/y5abgoVXf0n81uDMNx0om+aLia6Pf7Fga37/5hGB5Wvoug/3dZmK ABqUQfprZwdQ3vRpuk4hXXxqHapL2LVYI6DjJ1a3ksY/LMTlA/L/RrYhLsV411E8yOgv iI9v1ytdswqiMzbnS/RYW0CQzJlYHInQ36aS2xwK3nOuTRwNR7FsZ5G6cW/61ImNLyew 44kzIFtxxjMeGnNP+wzDcIOAUNxWseal3zjIsoIk0ZSuVddzvWnCkK032WteRKqY44NH C/M1ODDH/QFJ3vIrPhBA/RLRF3BFkpkAqfKNdNNnL72JLUp5xwOpINl/hZM1cYRCmN2+ YYGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709107255; x=1709712055; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DIOyUE+ssI0UC/jHqx35G2QXZ+3B+aMQQUs8OeCKU0Q=; b=kAYprc697hmyAPdV+ZtiRtf50nEck1OwSJgSlxXdgTgPIpSEPh6dzz5ZZvIr3FZa+A Wrs33TKV7X1w3tWWRQVqla8cAf89xFLDEUoySHF49uXu5hIGldVx/P2IhO8ZetXUdecP gV3C3zKxnm8/9f5WkVpp5RN4swtkEd/GPZnZyAxEfmxyaTpD03OJF5x6PGHGhrrrkfMx k8uWG0yfrGJTxkWWEHMDrCP8/z41utr0DWi3Bbn0KdUiBxh6AeXYxrqLk49/TrTJjkM0 pTVKuqnoK2biCPLMgzDeB4dmvBdKGUNxtnzycHl96YGmFtgOvS3/gRZMEj8kflx0A4MJ y+Gw== X-Gm-Message-State: AOJu0YyFl3u41dxOkGb7NTHLLxw26HPszz+81TzcZ29ChFRoklkvO1xD QXGkIPbfp4PbLAbjpzyjLgxQ2LpiGYaIXRN3TLThh374AF0tG1n6uSTGzyHQP/CEXR4mnkR3xgI 5M/uPJabn+o9VXHzVCAf2PKvwCPPe49Sw1xY= X-Google-Smtp-Source: AGHT+IF08417FzMPRCtfW5Ieaesl0fAV3O1n3xRsgVA4Ni9L8UOFUODvzGpgwEgfPG50ryD6UoqMEjj39m9KyjxwDfc= X-Received: by 2002:a25:9c02:0:b0:dcd:6dea:5d34 with SMTP id c2-20020a259c02000000b00dcd6dea5d34mr1872748ybo.36.1709107254496; Wed, 28 Feb 2024 00:00:54 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: fv leung Date: Wed, 28 Feb 2024 16:00:43 +0800 Message-ID: To: mailing list for ConTeXt users Message-ID-Hash: Q2HCD5SFYUHHOPTWXQECN65YJTRMLNM6 X-Message-ID-Hash: Q2HCD5SFYUHHOPTWXQECN65YJTRMLNM6 X-MailFrom: fvleung@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.8 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: \mfunction does not work with the latest upload List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: multipart/mixed; boundary="===============1963357667385514158==" --===============1963357667385514158== Content-Type: multipart/alternative; boundary="000000000000c999ae06126c8a38" --000000000000c999ae06126c8a38 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thank you for your prompt reply, Mikael. I like this new way of defining math functions. Mikael Sundqvist =E6=96=BC 2024=E5=B9=B42=E6=9C=8828=E6= =97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=882:46=E5=AF=AB=E9=81=93=EF=BC=9A > Hi, > > \definemathfunction [lcd] > > You can also add > [mathlimits=3Dyes] > [mathlimits=3Dno] > [mathlimits=3Dauto] > > if you want the limits to go always below, never below or below in > display, respectively. > > /Mikael > > On Wed, Feb 28, 2024 at 1:26=E2=80=AFAM fv leung wrot= e: > > > > > > \starttext > > % copy from wiki > > \definemathcommand[lcd][nolop]{\mfunction{lcd}} > > > > With \contextversion, the math command \tex{lcd} gives \m{\lcd} > (nothing)! > > > > \stoptext > > > _________________________________________________________________________= __________ > > If your question is of interest to others as well, please add an entry > to the Wiki! > > > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > > webpage : https://www.pragma-ade.nl / https://context.aanhet.net > (mirror) > > archive : https://github.com/contextgarden/context > > wiki : https://wiki.contextgarden.net > > > _________________________________________________________________________= __________ > > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror= ) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > > _________________________________________________________________________= __________ > --000000000000c999ae06126c8a38 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you for your prompt reply, Mikael.
I like this n= ew way of defining math functions.

Mikael Sundqvist <mickep@gmail.com> =E6=96=BC 2024=E5=B9=B42= =E6=9C=8828=E6=97=A5 =E9=80=B1=E4=B8=89 =E4=B8=8B=E5=8D=882:46=E5=AF=AB=E9= =81=93=EF=BC=9A
= Hi,

\definemathfunction [lcd]

You can also add
[mathlimits=3Dyes]
[mathlimits=3Dno]
[mathlimits=3Dauto]

if you want the limits to go always below, never below or below in
display, respectively.

/Mikael

On Wed, Feb 28, 2024 at 1:26=E2=80=AFAM fv leung <fvleung@gmail.com> wrote:
>
>
> \starttext
> % copy from wiki
> \definemathcommand[lcd][nolop]{\mfunction{lcd}}
>
> With \contextversion, the math command \tex{lcd} gives \m{\lcd} (nothi= ng)!
>
> \stoptext
> ______________________________________________________________________= _____________
> If your question is of interest to others as well, please add an entry= to the Wiki!
>
> maillist : ntg= -context@ntg.nl / https://mailman.ntg.nl= /mailman3/lists/ntg-context.ntg.nl
> webpage=C2=A0 : https://www.pragma-ade.nl / https://context.aanhe= t.net (mirror)
> archive=C2=A0 : https://github.com/contextgarden/contex= t
> wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net
> ______________________________________________________________________= _____________
___________________________________________________________________________= ________
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://mailman.ntg.nl/mail= man3/lists/ntg-context.ntg.nl
webpage=C2=A0 : https://www.pragma-ade.nl / https://context.aanhet.net= (mirror)
archive=C2=A0 : https://github.com/contextgarden/context=
wiki=C2=A0 =C2=A0 =C2=A0: https://wiki.contextgarden.net
___________________________________________________________________________= ________
--000000000000c999ae06126c8a38-- --===============1963357667385514158== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________ --===============1963357667385514158==--