[OS X TeX] colorbox

Alain Schremmer schremmer.alain at gmail.com
Mon Jul 28 10:08:35 EDT 2008


On Jul 28, 2008, at 9:31 AM, Peter Dyballa wrote:

>
> Am 28.07.2008 um 14:41 schrieb Alain Schremmer:
>
>> I didn't know about \rule
>>
>> Although, from an purist's point of view, I would assume that this  
>> is not a solution in that it does not measure the height of the front
>
> It does. Or what is the meaning of
>
>> \settoheight{\foo}{$\dfrac{x}{x-1}$}
>
> and
>
>> \rule{0pt}{\foo}

Of course, if you take it that way, there is nothing I can respond.

Joke apart, I had put

	\newlength{\foo}

on top, completely forgotten about

	\settoheight{\foo}{$\dfrac{x}{x-1}$}

and just supposed I should eyeball things and replace \foo by  
whatever would look good (\left.\rule{0mm}{4mm}\right| seemed good  
enough in the event.)

But I did wonder about the need for

	\newlength{\foo}

However, this being early (for me) morning, I didn't worry and was  
happy just being able to control the height of the vertical bar.

Best regards
--schremmer



More information about the MacOSX-TeX mailing list