If I do not group the line, it will not be handled by jqMath, and still shows the braces, etc. If I do group the line, I get the math problem, however the color from the span is put into another row which is hidden rather than wrapping the numbers as I intend.

I considered using jQuery to add the styles, however there is no way for me to mark the HTML in the location that I'd like to add classes since jqMath is not putting the style in the desired location, and this needs to be generic enough that I can add a tag or style to bring the desired effect into the page. Adding jQuery to each math problem is not an option.

Granted, I can do this using a regular html table (and have), however I'd like to keep all of the math together, looking like a math problem for future proofing. Additionally, putting the problems inside tables just adds unnecessary markup to the page, adding to the page download time.

The ideal solution would be a way to tell individual rows how to style themselves.