ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* definemathcommand and Lucida OT
@ 2022-01-18 10:23 Otared Kavian via ntg-context
  0 siblings, 0 replies; only message in thread
From: Otared Kavian via ntg-context @ 2022-01-18 10:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Otared Kavian

[-- Attachment #1: Type: text/plain, Size: 1154 bytes --]

Hi Hans,

Some time ago I reported about an issue with \definemathcommand, and the issue is still present, as one can see with following example.

Best regards: Otared
% begin liminf-Argmin.tex

\setupbodyfont[lucidaot]
%\setupbodyfont[termes]

\definemathcommand [Argmin]  [limop] {\mfunctionlabeltext{ArgMin}}
\definemathcommand [liminfbar]  [limop] {\underline{\mfunctionlabeltext{lim}}}
\definemathcommand [limsupbar]  [limop] {\overline{\mfunctionlabeltext{lim}}}

\starttext
The built-in commands \type{\liminf}, yielding $\liminf$, and \type{\limsup}, yielding $\limsup$ do not work properly with LucidaOT:
\startformula
x_{n} := (-1)^n, \quad\mbox{then} \quad \liminf_{n \geq 0}x_{n} = -1, \quad \limsup_{n\geq 0} x_{n}= +1.
\stopformula

The user defined commands \type{\liminfbar} and \type{\limsupbar} behave correctly:
\startformula
x_{n} := (-1)^n, \quad\mbox{then} \quad \liminfbar_{n \geq 0}x_{n} = -1, \quad \limsupbar_{n\geq 0}x_{n} = +1,
\stopformula
but not the command \type{\Argmin}
\startformula
\Argmin_{x\in {\Bbb R}} (x^2 - x + 1) = {1 \over 2}.
\stopformula

\stoptext

% end liminf-Argmin.tex


[-- Attachment #2: liminf-Argmin.pdf --]
[-- Type: application/pdf, Size: 14788 bytes --]

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-18 10:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18 10:23 definemathcommand and Lucida OT Otared Kavian via ntg-context

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