ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] \mfunction does not work with the latest upload
@ 2024-02-28  0:24 fv leung
  2024-02-28  6:45 ` [NTG-context] " Mikael Sundqvist
  0 siblings, 1 reply; 3+ messages in thread
From: fv leung @ 2024-02-28  0:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 163 bytes --]

\starttext
% copy from wiki
\definemathcommand[lcd][nolop]{\mfunction{lcd}}

With \contextversion, the math command \tex{lcd} gives \m{\lcd} (nothing)!

\stoptext

[-- Attachment #1.2: Type: text/html, Size: 214 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: \mfunction does not work with the latest upload
  2024-02-28  0:24 [NTG-context] \mfunction does not work with the latest upload fv leung
@ 2024-02-28  6:45 ` Mikael Sundqvist
  2024-02-28  8:00   ` fv leung
  0 siblings, 1 reply; 3+ messages in thread
From: Mikael Sundqvist @ 2024-02-28  6:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

\definemathfunction [lcd]

You can also add
[mathlimits=yes]
[mathlimits=no]
[mathlimits=auto]

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 AM 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} (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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [NTG-context] Re: \mfunction does not work with the latest upload
  2024-02-28  6:45 ` [NTG-context] " Mikael Sundqvist
@ 2024-02-28  8:00   ` fv leung
  0 siblings, 0 replies; 3+ messages in thread
From: fv leung @ 2024-02-28  8:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1814 bytes --]

Thank you for your prompt reply, Mikael.
I like this new way of defining math functions.

Mikael Sundqvist <mickep@gmail.com> 於 2024年2月28日 週三 下午2:46寫道:

> Hi,
>
> \definemathfunction [lcd]
>
> You can also add
> [mathlimits=yes]
> [mathlimits=no]
> [mathlimits=auto]
>
> 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 AM 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}
> (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
>
> ___________________________________________________________________________________
>

[-- Attachment #1.2: Type: text/html, Size: 3220 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-28  8:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-28  0:24 [NTG-context] \mfunction does not work with the latest upload fv leung
2024-02-28  6:45 ` [NTG-context] " Mikael Sundqvist
2024-02-28  8:00   ` fv leung

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).