How to obtain the division symbol? Command \div does not work. \setuppapersize[letter][letter] \starttext $ a \div b $ \stoptext gives output a div b
Curiouslearn
How to obtain the division symbol? Command \div does not work.
\setuppapersize[letter][letter]
\starttext
$ a \div b $
\stoptext
gives output
a div b
I am using an older version of Context, but running texexec on your example gets me the correct output. a ÷ b Jason
Thanks Jason. You are right, it works well with MKII. The problem
seems to be with MKIV.
On Fri, Dec 11, 2009 at 10:33 PM, Jason Earl
Curiouslearn
writes: How to obtain the division symbol? Command \div does not work.
\setuppapersize[letter][letter]
\starttext
$ a \div b $
\stoptext
gives output
a div b
I am using an older version of Context, but running texexec on your example gets me the correct output.
a ÷ b
Jason ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On Fri, 11 Dec 2009, Curiouslearn wrote:
How to obtain the division symbol? Command \div does not work.
\setuppapersize[letter][letter]
\starttext
$ a \div b $
\stoptext
gives output
a div b
math-def.mkiv contains \definemathcommand [div] [limop] {\mfunction{div}} which overrides the definition of \div from char-def.lua. The same line is also present in mkii, but gets overwritten by the correct definition due to different order in which files are loaded. Hans: \div should be mapped to divided sign, so I suggest that we remove the corresponding \definemathcommand lines from math-def.mkiv and math-tex.mkii (see the attached patch). Aditya
participants (4)
-
Aditya Mahajan
-
Curiouslearn
-
Jason Earl
-
luigi scarso