Am 07.01.2011 um 14:43 schrieb Philipp A.:
2011/1/7 Wolfgang Schuster
Sorry but but i mixed calcmath and asciimath but nevertheless you should look at the source where you can find the hint that \times is produced with “xx” as input. Wolfgang
there are 3 math operators which can be “times”: “·”, “×” and “∗” (not “*”)
which of it is it? i am confused by your “x”es and other stuff *shudder* (modern linux systems have useful keyboard layouts to input these)
Asciimath: ["xx"] = "\\times ", Calcmath: elseif how == '*' then texprint("\\times") These are the relevant parts from the asciimath and calcmath sources, to get the output “3 \times 3 = 9” in TeX you have to type with asciimath “3 xx 3 = 9” and with calcmath “3 * 3 = 9”. Wolfgang