While I have had some workarounds where you define the fraction and then pass it into a formula as a real, I am wondering if there is an easier to to get a fraction to display correctly in a problem.

The text that I have is

TEXT(beginproblem());

Context("Fraction");

$a = Compute("-5/2");

$b = 1;

$c = 4;

$d = 2;

$e = 1;

$f = 13;

$lhs1=nicestring([$a,$b],['x','y']);

$lhs2=nicestring([$d,$e],['x','y']);

BEGIN_TEXT

Graph the region of feasibility. List each corner/vertex point (answers should be given exactly, but order does not matter).

\[ $lhs1 \leq 4 \quad \text{or} \quad $lhs2 >$f \]

However, the fraction appears as (-5/2) instead of as a displayed fraction.

Thank you

(This is probably a stupid question, but I am still working through how to combine contexts to get things to display correctly.)