You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\times is only added if the right component "looks like a float", which is evaluated here.
In the present case, 25**2 is evaluated as {25}**2 , which fails to be evaluated as a float because of the brackets.
Suggestion :
force the multiplier to always be a \cdot, or \times (done here)
only remove it if (something that looks like) a number precedes (something that looks like) a letter
Rather than removing the multiply symbol by default ; and adding it only in exceptions. This would be more robust and accurate.
using py2tex():
5*25**2 becomes 5{25}^2} instead of 5 \times {25}^2
5*25**2/4 becomes \frac{5{25}^2}{4} instead of \frac{5 \times {25}^2}{4}
The text was updated successfully, but these errors were encountered: