Mod latex "*" sign

This commit is contained in:
lafrite 2014-01-15 15:58:45 +01:00
parent 31b433faf5
commit db44c787ed

View File

@ -206,7 +206,7 @@ def texSlash(op1, op2):
def texFrac(frac): def texFrac(frac):
return ["\\frac{" , str(frac._num) , "}{" , str(frac._denom) , "}"] return ["\\frac{" , str(frac._num) , "}{" , str(frac._denom) , "}"]
tex_infix = {"+": " + ", "-": " - ", "*": " * "} tex_infix = {"+": " + ", "-": " - ", "*": " \\times "}
tex_postfix = {"/": texSlash} tex_postfix = {"/": texSlash}
tex_other = {"(": "(", ")": ")"} tex_other = {"(": "(", ")": ")"}
tex_type_render = {int: str, Fraction: texFrac} tex_type_render = {int: str, Fraction: texFrac}