Author: yonidebest
Description:
Give <math> a transparent background.
Version: unspecified
Severity: enhancement
Author: yonidebest
Description:
Give <math> a transparent background.
Version: unspecified
Severity: enhancement
yonidebest wrote:
Or better yet, allow custom style of background and border (border is less
critical, <div> can be used).
ayg wrote:
A transparent background by itself is no good because the background color might
then make the black text unreadable (black-on-black or some other dark color).
See brion's WONTFIXing of bug 6413. If the image itself were made transparent
*but* img.tex { background-color: white; } were set in the stylesheet, however,
that would seem to be a good solution. You could then specifically override it
on enwiki, say, for non-article space.
Of course, courtesy of IE, the borders of the characters would still have to be
antialiased to white, so it would still look a bit ugly. But hey, you can
always leave the background white if you prefer it the current way.
yonidebest wrote:
Well in our wiki it is not such a big of a deal because our pages are white. I
encountered this issue when entering a <math> png in a table with a colored bgcolor.
But what about the wikis that have colored pages?
I have no idea how the <math> png works, but the but be a way to make the bgcolor
all in the same color. I obviously have no experience, but perhaps svg, not png,
should be used, and then maybe you can "color" problematic character borders. Or
maybe not, you are the tech guys.
I guess I'll just change the bgcolor of my table to white when using <math>.