WeBWorK Main Forum

Different css for static images and for equations rendered as images?

Different css for static images and for equations rendered as images?

by Robert Mařík -
Number of replies: 0

Hello all.

I use my custom css rule for images (all images are floated) and it works fine in MathJax. However I have seen that if someone renders formulas using images rather than using MathJax, the text is broken.

So I wonder if is is possible to keep different css rule for images produced by image command and images which are shown when user prefers images rather than MathJax.

I have looked for the definition of image command in the WeBWorK and pg directories, but I was not able to find the point, where should I distinguish both by some css style.


Thank you.


Robert