Is it possible to tell Math.js to use \times
instead of \cdot
when converting an expression to TeX?
#3383
-
|
Beta Was this translation helpful? Give feedback.
Answered by
gwhitney
Feb 12, 2025
Replies: 1 comment
-
The below code should show you the possibilities. You can set the .toTex property on multiply, but it only affects function-call-style expressions, not infix-operator expressions. To get those, you need to use the 'options' argument of .toTex() with a function that detects an OperatorNode with function multiply.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
p1ckle-rick
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The below code should show you the possibilities. You can set the .toTex property on multiply, but it only affects function-call-style expressions, not infix-operator expressions. To get those, you need to use the 'options' argument of .toTex() with a function that detects an OperatorNode with function multiply.