ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Math letters in commands
@ 2016-09-11 20:48 Hans Åberg
  2016-09-12 18:25 ` Hans Åberg
  0 siblings, 1 reply; 8+ messages in thread
From: Hans Åberg @ 2016-09-11 20:48 UTC (permalink / raw)
  To: ConTeXt users

Just found that the code below does not work as intended, because \𝐝𝐢𝐦 will be parsed as \𝐝 followed by 𝐢𝐦. Can’t tell if it ought to be changed, though one could think other cases where it might be natural. The command definition of \𝐝 works though.


\setupbodyfont[xits,10pt]

\setupmathematics[lcgreek=normal, default=normal]

\definemathcommand[𝐝𝐢𝐦][nolop]{\mfunction{𝐝𝐢𝐦}}
\definemathcommand[𝐝][nolop]{\mfunction{𝐝𝐢𝐦}}

\starttext

Note that $\𝐝𝐢𝐦 𝑉 = 𝖫$, although $\dim 𝑉 = 4$.

\stoptext


___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2016-09-13  8:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-11 20:48 Math letters in commands Hans Åberg
2016-09-12 18:25 ` Hans Åberg
2016-09-12 19:45   ` Hans Hagen
2016-09-12 20:02     ` Hans Åberg
2016-09-13  5:57       ` Hans Hagen
2016-09-13  8:16         ` Hans Åberg
2016-09-13  8:27         ` Hans Åberg
2016-09-12 20:09     ` Hans Åberg

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