Tuesday, July 24, 2007 Hans Hagen wrote:

> Giuseppe Bilotta wrote:
>> Hello all,
>> is it possible to put a frame around a linetable?

> you mean the whole table?

> probably a matter of hooks; linetables work page-wise which may
> complicate things a bit so it has to be applied piecewise

I've been experimenting with this a little.

Putting the whole linetable inside a frame doesn't work
because of the \nointerlinelineskip in

% fix topskip¶

in \flushlinetableparts -- if I comment out this section of
the code, the table gets placed, but the frame is somewhat

This is in fact a bug in linetables which I noticed before,
even though it didn't affect me until recently: if the last
line in a table is a \vtop (\linetablemode is 0) with more
than one line of text, the flattening of its depth in


causes the text after the table to appear *in* the table

So I commented out the depth smashing, and the frame now has
the correct size.

There is one more thing missing, though, and it's the fact
that the table is typeset halfway to the right of the frame,
as if a large indentation was placed before each line. If I
manage to squeeze out this last bug, I can frame the table
automatically which will be a great advantage for me.

Giuseppe "Oblomov" Bilotta

If your question is of interest to others as well, please add an entry to the 

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net

Reply via email to