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
Useful functions to render some rational, algebraic numbers and exponential form of complex number aren't always producing the expected result when used outside state rendering (standalone number rendering rather than coefficients). Now that we want to add a few other use cases we should fix that.
Example:
The text was updated successfully, but these errors were encountered:
DmitryVasilevsky
changed the title
LaTeX rendering of nice numbers aren't always correct
LaTeX rendering of nice numbers isn't always correct
Aug 21, 2024
Code changes in #1885 provide correct handling of standalone numbers (rather than coefficients). The following can still be improved in general case:
* i could be used directly in a fraction. Example: $\frac{1}{2}i$ could be rendered as $\frac{i}{2}$.
* In a simple fraction sign can be moved to numerator: Example: $-\frac{i}{2}$ could be rendered as $\frac{-i}{2}$.
* Brackets are not needed for standalone rendering. Example: $-\left(1+i\right)$ could be rendered as $-1-i$
* No need to rationalize the denominator. Example: $\frac{\sqrt{2}}{2}$ could be rendered as $\frac{1}{\sqrt{2}}$
Useful functions to render some rational, algebraic numbers and exponential form of complex number aren't always producing the expected result when used outside state rendering (standalone number rendering rather than coefficients). Now that we want to add a few other use cases we should fix that.

Example:
The text was updated successfully, but these errors were encountered: