[texhax] raiseboxing \hrulefill in multicolumn{}

geolsoft at mail.ru geolsoft at mail.ru
Mon Aug 23 17:12:55 CEST 2004

On Mon, Aug 23, 2004 at 09:15:36AM -0400, Barbara Beeton wrote:
> in plain tex, you can use a rule with a negative depth
> to raise it.  for a rule of thickness 1pt, 2.5pt above
> the baseline:
>     \vrule height 3.5pt depth-2.5pt width.1fil
> this is a \vrule because in a table cell, you're in
> horizontal mode.  i'm not positive that .1fil will do
> what you want in a tabular situation, but it's worth
> a try.

This seems to work perfectly:

\def\crulefill{\leaders\vrule height 3.5pt depth-2.5pt\hfill}

1 column& 2 column\cr
\crulefill 1\crulefill& 2\cr


Best regrads,
Oleg Katsitadze

More information about the texhax mailing list