[texhax] White text on black background?

Lars Madsen daleif at imf.au.dk
Sun May 24 12:11:38 CEST 2009


Peter Seibel wrote:
> Is there some simple way to set text in white on a black background?
> I'm thinking of a small section, not a whole page. Something similar
> to what you'd get with this bit of HTML:
>
>   <span style="background: black; color: white">123</span>
>
> As usual, my Googling and following various leads through the TeXBook
> hasn't turned up anything but I could easily be missing something
> obvious.
>
> -Peter
\colorbox{black}{\color{white} ... }


untested

/daleif



More information about the texhax mailing list