Mod latex "*" sign
This commit is contained in:
parent
31b433faf5
commit
db44c787ed
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user