Context()->flags->set(reduceConstants=>0);
$f = Formula("x^(2/3)");
Context()->texStrings;
BEGIN_TEXT
\( $f\)
END_TEXT
Context()->normalStrings;
The above works. There might be another way to change the context
for just one Formula.
Context()->flags->set(reduceConstants=>0);
$f = Formula("x^(2/3)");
Context()->texStrings;
BEGIN_TEXT
\( $f\)
END_TEXT
Context()->normalStrings;
The above works. There might be another way to change the context
for just one Formula.