[NTG-context] Handling EMBED tag in Tex

Wolfgang Schuster schuster.wolfgang at googlemail.com
Fri Jan 7 14:50:04 CET 2011


Am 07.01.2011 um 14:43 schrieb Philipp A.:

> 2011/1/7 Wolfgang Schuster <schuster.wolfgang at googlemail.com>
> 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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20110107/0ad2cd84/attachment.html>


More information about the ntg-context mailing list