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
{{ message }}
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
When I latexify something like x**(1/p), I get $x^{1/p}$, which makes complete sense, but isn't quite as nice looking as $\sqrt[p]{x}$.
Ideas of the solution
Is there a way to coax latexify to look for patterns like 1/expr in the exponent, and use sqrt[expr] in those cases?
Alternative ideas
having a flag for the latexify decorator that renders all powers p as sqrt[1/p] would probably still be useful if the fully automatic version isn't possible
Description
When I latexify something like
x**(1/p), I get$x^{1/p}$, which makes complete sense, but isn't quite as nice looking as$\sqrt[p]{x}$.Ideas of the solution
Is there a way to coax latexify to look for patterns like
1/exprin the exponent, and usesqrt[expr]in those cases?Alternative ideas
having a flag for the latexify decorator that renders all powers
passqrt[1/p]would probably still be useful if the fully automatic version isn't possibleAdditional context