Defining latex color

I’m creating a lesson on point-slope form and want kids to see their point in one color and the slope in another, while the basic format remains black. I’m able to define the color as long as the input is positive. But when the input is negative, as in [this slide here], the code is only changing the color of the negative sign. Any thoughts on how to correct this?

I am aware that Desmos advises against too much color change for accessibility reasons, but I think that in this case, color would help the point and slope to pop.

(PacMan Tracks (Point/Slope) • Activity Builder by Desmos)

Wrap the thing you want to be the new colour in curly brackets too:


then the colouring applies to everything within those brackets.

1 Like

Genius! Thank you so much :slight_smile: