# [OS X TeX] colorbox

Alain Schremmer schremmer.alain at gmail.com
Wed Jul 30 14:24:28 EDT 2008

On Jul 30, 2008, at 12:59 PM, Bruno Voisin wrote:

> Le 30 juil. 08 à 18:04, Peter Dyballa a écrit :
>
>> Am 30.07.2008 um 14:03 schrieb Alain Schremmer:
>>
>>> In general, I want to be able to highlight specific spots in
>>> mathematical expressions.

> Clunky:
> \colorbox{yellow}{\parbox[l][-2mm][t]{6.5mm}{\vspace{-4mm}$\dfrac > {222}{333}$}}.
>
> Non-clunky:
> $\color{yellow}\dfrac{\color{black}222}{\color{black}333}$.

Doesn't this produce colored text rather than highlighted text, as
you would do with a marker so that the text is black on a yellow
background?

> Just a request: if that kind of thing is meant for slide shows,

Absolutely not! I am long retired from "the circuit".

> please don't use yellow, impossible to see from more than a couple
> of meters away from the projection screen

I am using yellow only because it translates to a very nice grey when
printed by my school's duplicating department. Is there a "device
independent" grey?

> but unfortunately popular in Powerpoint presentations.

Probably because yellow markers are popular for highlighting printed
matters.

Grateful regards
--schremmer